drivers/intel/dptf: Add new config for EISA HID support

This patch adds config to let SoC users (config) to choose if EISA HID
is supported. All SoC config would like to support EISA HID need to
select `HAVE_DPTF_EISA_HID` config.

Prior to Tiger Lake, all DPTF devices used 7-character EISA
IDs. If selected, the 7-character _HIDs will be emitted,
otherwise, it will use the "new" style, which are regular
8-character _HIDs.

Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I6bf64f74c447b28665d31a64181c33df882d5d06
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71108
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Reviewed-by: Ivy Jian <ivy.jian@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
This commit is contained in:
Subrata Banik 2022-12-19 18:19:00 +05:30
parent fbdccebb66
commit dd4acf643f
1 changed files with 14 additions and 0 deletions

View File

@ -6,6 +6,20 @@ config DRIVERS_INTEL_DPTF
When enabled, entries in the devicetree are used to generate
Intel DPTF Tables at runtime in the SSDT.
config HAVE_DPTF_EISA_HID
bool
config DPTF_USE_EISA_HID
bool
depends on DRIVERS_INTEL_DPTF
default y if HAVE_DPTF_EISA_HID
default n
help
Prior to Tiger Lake, all DPTF devices used 7-character EISA
IDs. If selected, the 7-character _HIDs will be emitted,
otherwise, it will use the "new" style, which are regular
8-character _HIDs.
config DRIVERS_INTEL_DPTF_SUPPORTS_TPCH
def_bool n
depends on HAVE_ACPI_TABLES && PMC_IPC_ACPI_INTERFACE