From dc86804a7db0ac67b81803d1662608320c8838a7 Mon Sep 17 00:00:00 2001 From: zhixingma Date: Mon, 13 Jun 2022 16:38:01 -0700 Subject: 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 Change-Id: I67d70dc7e916a4818869aef86e7e642b66ea5dae Reviewed-on: https://review.coreboot.org/c/coreboot/+/65118 Tested-by: build bot (Jenkins) Reviewed-by: Nick Vaccaro --- src/drivers/intel/mipi_camera/camera.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3