From a1cc78096fc9be98449f66b165281c4f8a52fdc5 Mon Sep 17 00:00:00 2001 From: Tony Huang Date: Tue, 9 Aug 2022 13:02:57 +0800 Subject: mb/google/brya/var/agah: Enable DPTF oem_variables Support oem_variables and change based on EC notify event. BUG=b:238921409 TEST=emerge-draco coreboot 1. check ACPI object ODVX has oem_variable[0]=0 Name (ODVX, Package (0x06) { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } 2. check can get EC oem variable change notify in the kernel log Change-Id: Ibd856563a43d73a3b1be09b3fbebca1b36b5eab1 Signed-off-by: Tony Huang Reviewed-on: https://review.coreboot.org/c/coreboot/+/66575 Reviewed-by: Sumeet R Pawnikar Tested-by: build bot (Jenkins) --- src/mainboard/google/brya/variants/agah/overridetree.cb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mainboard/google/brya/variants/agah/overridetree.cb') diff --git a/src/mainboard/google/brya/variants/agah/overridetree.cb b/src/mainboard/google/brya/variants/agah/overridetree.cb index c97d671b857e..91ee79d5c9cf 100644 --- a/src/mainboard/google/brya/variants/agah/overridetree.cb +++ b/src/mainboard/google/brya/variants/agah/overridetree.cb @@ -145,6 +145,9 @@ chip soc/intel/alderlake .granularity = 1000, } }" + register "oem_data.oem_variables" = "{ + [0] = 0x0 + }" ## Charger Performance Control (Control, mA) register "controls.charger_perf" = "{ [0] = { 255, 1700 }, -- cgit v1.2.3