From 7f7ac206f8b555c92cc8e3181ce24ca1348a04c4 Mon Sep 17 00:00:00 2001 From: Varshit B Pandya Date: Fri, 11 Feb 2022 18:36:37 +0530 Subject: [PATCH] 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 Change-Id: Icc65c52a9dadebe4ebab3d0c30599eb0db38bc3e Reviewed-on: https://review.coreboot.org/c/coreboot/+/61862 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak Reviewed-by: Reka Norman Reviewed-by: Kangheui Won --- src/drivers/intel/mipi_camera/camera.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/drivers/intel/mipi_camera/camera.c b/src/drivers/intel/mipi_camera/camera.c index ec7f20bf8d..d846c813d8 100644 --- a/src/drivers/intel/mipi_camera/camera.c +++ b/src/drivers/intel/mipi_camera/camera.c @@ -138,7 +138,8 @@ static void camera_fill_cio2(const struct device *dev) port_name[i] = strdup(name); if (CONFIG(ACPI_ADL_IPU_ES_SUPPORT)) { 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); else acpi_dp_add_integer(dsd, "is_es", 0);