summaryrefslogtreecommitdiff
path: root/src/acpi
diff options
context:
space:
mode:
authorVarshit B Pandya <varshit.b.pandya@intel.com>2022-03-20 20:39:51 +0530
committerPaul Fagerburg <pfagerburg@chromium.org>2022-04-01 13:45:49 +0000
commite7d3a1a9e8e69cfa2963339e7cf45160509cd784 (patch)
tree693be5440f3ae8c62f8d99b4d65a4b5b8901d212 /src/acpi
parent47b7904d78ff2f0eb002edea99a3b761ccde962b (diff)
drivers/intel/dptf: Add support for Power participant
As per Intel Dynamic Tuning revision 1.3.13 (Doc no: 541817) Add support for TPWR device under \_SB.DPTF BUG=b:205928013 TEST=Build, boot brya0 and dump SSDT to check TPWR device Device (TPWR) { Name (_HID, "INTC1060") // _HID: Hardware ID Name (_UID, "TPWR") // _UID: Unique ID Name (_STR, "Power Participant") // _STR: Description String Name (PTYP, 0x11) Method (_STA, 0, NotSerialized) // _STA: Status { Return (0x0F) } } Signed-off-by: Varshit B Pandya <varshit.b.pandya@intel.com> Change-Id: I437e509f58df1777d75e5981f0a5a63095ccb6a3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62944 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/acpi')
-rw-r--r--src/acpi/acpigen_dptf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/acpi/acpigen_dptf.c b/src/acpi/acpigen_dptf.c
index f2ae769a60..4a5bd09800 100644
--- a/src/acpi/acpigen_dptf.c
+++ b/src/acpi/acpigen_dptf.c
@@ -74,6 +74,8 @@ static const char *namestring_of(enum dptf_participant participant)
return "TSR4";
case DPTF_TPCH:
return "TPCH";
+ case DPTF_POWER:
+ return "TPWR";
default:
return "";
}