src/driver/intel/mipi_camera: Update ACPI entry to provide silicon info
CPUID_ALDERLAKE_N_A0 is ES. Add it to generate is_es = 1 in ACPI Signed-off-by: Varshit B Pandya <varshit.b.pandya@intel.com> Change-Id: Icc65c52a9dadebe4ebab3d0c30599eb0db38bc3e Reviewed-on: https://review.coreboot.org/c/coreboot/+/61862 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Reka Norman <rekanorman@chromium.org> Reviewed-by: Kangheui Won <khwon@chromium.org>
This commit is contained in:
parent
cbaf753012
commit
7f7ac206f8
|
@ -138,7 +138,8 @@ static void camera_fill_cio2(const struct device *dev)
|
||||||
port_name[i] = strdup(name);
|
port_name[i] = strdup(name);
|
||||||
if (CONFIG(ACPI_ADL_IPU_ES_SUPPORT)) {
|
if (CONFIG(ACPI_ADL_IPU_ES_SUPPORT)) {
|
||||||
u32 cpu_id = cpu_get_cpuid();
|
u32 cpu_id = cpu_get_cpuid();
|
||||||
if (cpu_id == CPUID_ALDERLAKE_A0 || cpu_id == CPUID_ALDERLAKE_A1)
|
if (cpu_id == CPUID_ALDERLAKE_A0 || cpu_id == CPUID_ALDERLAKE_A1 ||
|
||||||
|
cpu_id == CPUID_ALDERLAKE_N_A0)
|
||||||
acpi_dp_add_integer(dsd, "is_es", 1);
|
acpi_dp_add_integer(dsd, "is_es", 1);
|
||||||
else
|
else
|
||||||
acpi_dp_add_integer(dsd, "is_es", 0);
|
acpi_dp_add_integer(dsd, "is_es", 0);
|
||||||
|
|
Loading…
Reference in New Issue