From dd4acf643fd810c120f1bfccf161c3e58033dfe7 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Mon, 19 Dec 2022 18:19:00 +0530 Subject: [PATCH] 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 Change-Id: I6bf64f74c447b28665d31a64181c33df882d5d06 Reviewed-on: https://review.coreboot.org/c/coreboot/+/71108 Reviewed-by: Eric Lai Reviewed-by: Sumeet R Pawnikar Reviewed-by: Ivy Jian Tested-by: build bot (Jenkins) Reviewed-by: Kapil Porwal --- src/drivers/intel/dptf/Kconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/drivers/intel/dptf/Kconfig b/src/drivers/intel/dptf/Kconfig index c0e62b7175..bdda9e8a34 100644 --- a/src/drivers/intel/dptf/Kconfig +++ b/src/drivers/intel/dptf/Kconfig @@ -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