Sumeet R Pawnikar has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42040 )
Change subject: tigerlake: add unique acpi device ids for dptf ......................................................................
tigerlake: add unique acpi device ids for dptf
Add unique new acpi device ids for dptf for Tigerlake soc based platforms
BUG=None BRANCH=None TEST=Build and boot on volteer system
Change-Id: I7dbb812c0fc0f5084c98cf2752ce7ddce8e4d50e Signed-off-by: Sumeet R Pawnikar sumeet.r.pawnikar@intel.com --- M src/mainboard/google/volteer/dsdt.asl A src/soc/intel/tigerlake/acpi/dptf.asl 2 files changed, 45 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/40/42040/1
diff --git a/src/mainboard/google/volteer/dsdt.asl b/src/mainboard/google/volteer/dsdt.asl index fa39e79..62ddc15 100644 --- a/src/mainboard/google/volteer/dsdt.asl +++ b/src/mainboard/google/volteer/dsdt.asl @@ -57,8 +57,8 @@ { /* Per board variant specific definitions. */ #include <variant/acpi/dptf.asl> - /* Include soc specific DPTF changes */ - #include <soc/intel/common/acpi/dptf.asl> + /* Include Tigerlake soc specific DPTF changes */ + #include <soc/intel/tigerlake/acpi/dptf.asl> /* Include common dptf ASL files */ #include <soc/intel/common/acpi/dptf/dptf.asl> } diff --git a/src/soc/intel/tigerlake/acpi/dptf.asl b/src/soc/intel/tigerlake/acpi/dptf.asl new file mode 100644 index 0000000..cc7ce4f --- /dev/null +++ b/src/soc/intel/tigerlake/acpi/dptf.asl @@ -0,0 +1,43 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#define DPTF_CPU_DEVICE TCPU +#define DPTF_CPU_ADDR 0x00040000 + +#ifndef DPTF_CPU_PASSIVE +#define DPTF_CPU_PASSIVE 80 +#endif + +#ifndef DPTF_CPU_CRITICAL +#define DPTF_CPU_CRITICAL 90 +#endif + +#ifndef DPTF_CPU_ACTIVE_AC0 +#define DPTF_CPU_ACTIVE_AC0 90 +#endif + +#ifndef DPTF_CPU_ACTIVE_AC1 +#define DPTF_CPU_ACTIVE_AC1 80 +#endif + +#ifndef DPTF_CPU_ACTIVE_AC2 +#define DPTF_CPU_ACTIVE_AC2 70 +#endif + +#ifndef DPTF_CPU_ACTIVE_AC3 +#define DPTF_CPU_ACTIVE_AC3 60 +#endif + +#ifndef DPTF_CPU_ACTIVE_AC4 +#define DPTF_CPU_ACTIVE_AC4 50 +#endif + +/* Below are the unique ACPI Device IDs for thermal/dptf on Tigerlake SoC. */ + +/* DPTF ACPI Device ID */ +#define DPTF_DPTF_DEVICE "INTC1040" + +/* Generic ACPI Device ID for TSR0/1/2/3 */ +#define DPTF_GEN_DEVICE "INTC1043" + +/* Fan ACPI Device ID */ +#define DPTF_FAN_DEVICE "INTC1044"