summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzhixingma <zhixing.ma@intel.com>2022-06-13 16:38:01 -0700
committerFelix Held <felix-coreboot@felixheld.de>2022-07-04 14:02:08 +0000
commitdc86804a7db0ac67b81803d1662608320c8838a7 (patch)
treef7e0bfa91316860f2eb8a3665ffaca9caa47b5c7 /src
parent50786cc2c8ecc48252d82ac96843278a9fc0ab81 (diff)
src/driver/intel/mipi_camera: Update ACPI entry to provide silicon info
CPUID_RAPTORLAKE_P_Q0 is ES. Add it to generate is_es = 1 in ACPI BUG=b:229134437 BRANCH=firmware-brya-14505.B TEST=Booted to OS on adlrvp + rpl silicon Signed-off-by: zhixingma <zhixing.ma@intel.com> Change-Id: I67d70dc7e916a4818869aef86e7e642b66ea5dae Reviewed-on: https://review.coreboot.org/c/coreboot/+/65118 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/intel/mipi_camera/camera.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drivers/intel/mipi_camera/camera.c b/src/drivers/intel/mipi_camera/camera.c
index f7e19ef274..904bd14ede 100644
--- a/src/drivers/intel/mipi_camera/camera.c
+++ b/src/drivers/intel/mipi_camera/camera.c
@@ -139,7 +139,9 @@ static void camera_fill_cio2(const struct device *dev)
if (CONFIG(ACPI_ADL_IPU_ES_SUPPORT)) {
u32 cpu_id = cpu_get_cpuid();
if (cpu_id == CPUID_ALDERLAKE_J0 || cpu_id == CPUID_ALDERLAKE_Q0 ||
- cpu_id == CPUID_ALDERLAKE_N_A0 || cpu_id == CPUID_RAPTORLAKE_P_J0)
+ cpu_id == CPUID_ALDERLAKE_N_A0 ||
+ cpu_id == CPUID_RAPTORLAKE_P_J0 ||
+ cpu_id == CPUID_RAPTORLAKE_P_Q0)
acpi_dp_add_integer(dsd, "is_es", 1);
else
acpi_dp_add_integer(dsd, "is_es", 0);