drivers/intel/dptf: Add support for Battery participant

As per Intel Dynamic Tuning revision 1.3.13 (Doc no: 541817) add
support for TBAT device under \_SB.DPTF

BUG=b:205928013
TEST=Build, boot brya0 and dump SSDT to check TBAT device

Device (TBAT)
{
    Name (_HID, "INTC1061")  // _HID: Hardware ID
    Name (_UID, "TBAT")  // _UID: Unique ID
    Name (_STR, "Battery Participant")  // _STR: Description String
    Name (PTYP, 0xC)
    Method (_STA, 0, NotSerialized)  // _STA: Status
    {
        Return (0x0F)
    }
}

Signed-off-by: Varshit B Pandya <varshit.b.pandya@intel.com>
Change-Id: I9104318fd838f30253ab1eeac4e212b3b917f516
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63315
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
This commit is contained in:
Varshit B Pandya
2022-04-02 15:11:36 +05:30
committed by Felix Held
parent 1e124b94fc
commit 170a76caa7
5 changed files with 36 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ enum dptf_participant {
DPTF_TEMP_SENSOR_4,
DPTF_TPCH,
DPTF_POWER,
DPTF_BATTERY,
DPTF_PARTICIPANT_COUNT,
};