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>
This commit is contained in:
parent
50786cc2c8
commit
dc86804a7d
|
@ -139,7 +139,9 @@ static void camera_fill_cio2(const struct device *dev)
|
||||||
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_J0 || cpu_id == CPUID_ALDERLAKE_Q0 ||
|
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);
|
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