ec/google/chromeec/acpi: Add support for Body Detect
The EC code will monitor Body to choose corresponding DPTF oem variable table. When it changes, this event will send to the ACPI FW through host event and then pass onto the DPTF kernel driver. BUG=b:394177292 BRANCH=firmware-trulo-15217.771.B TEST=emerge-nissa coreboot Change-Id: I7ed72157d3480fca5fd1a58b5d9bc3e321f4a628 Signed-off-by: John Su <john_su@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/86707 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com> Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com>
This commit is contained in:
parent
68367ac69e
commit
b78896348d
1 changed files with 10 additions and 0 deletions
|
|
@ -196,6 +196,11 @@ Device (EC0)
|
|||
\_SB.DPTC()
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef DPTF_FEATURE_DYNAMIC_THERMAL_TABLE_SWITCH
|
||||
\_SB.DPTF.ODUP(0, STTB)
|
||||
Notify (\_SB.DPTF, INT3400_ODVP_CHANGED)
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Read requested temperature and check against EC error values */
|
||||
|
|
@ -472,6 +477,11 @@ Device (EC0)
|
|||
\_SB.DPTC()
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef DPTF_FEATURE_DYNAMIC_THERMAL_TABLE_SWITCH
|
||||
\_SB.DPTF.ODUP(0, STTB)
|
||||
Notify (\_SB.DPTF, INT3400_ODVP_CHANGED)
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue