Attention is currently required from: Tim Wawrzynczak. Varshit B Pandya has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/62946 )
Change subject: ec/google: Notify DPTF driver power participant on PD event ......................................................................
ec/google: Notify DPTF driver power participant on PD event
The DPTF power participant device needs to be notified when power source changes so it can re-evaluate power source and power source change count, this can be later used by DPTF along with methods provided by EC.
BUG=b:205928013 TEST=Build, boot brya0 and dump DSDT to check change
Signed-off-by: Varshit B Pandya varshit.b.pandya@intel.com Change-Id: I07f58b928a0dba92bec3817177142c586e5014b9 --- M src/ec/google/chromeec/acpi/ec.asl 1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/62946/1
diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl index 69d608b..c74b38f 100644 --- a/src/ec/google/chromeec/acpi/ec.asl +++ b/src/ec/google/chromeec/acpi/ec.asl @@ -15,6 +15,8 @@ External(_SB.DPTC, MethodObj) #endif
+External (_SB.DPTF.TPWR, DeviceObj) + Device (EC0) { Name (_HID, EISAID ("PNP0C09")) @@ -82,6 +84,8 @@ BTID, 8, // Battery index that host wants to read USPP, 8, // USB Port Power RFWU, 8, // Retimer Firmware Update + PWRT, 8, // Power source and change count + PBOK, 8, // Power source change count from dptf }
#if CONFIG(EC_GOOGLE_CHROMEEC_ACPI_MEMMAP) @@ -352,6 +356,7 @@ { Printf ("EC: GOT PD EVENT") Notify (_SB.PCI0.LPCB.EC0.CREC.ECPD, 0x80) + Notify (_SB.DPTF.TPWR, 0x81) } #endif