From a5ba5133ce83b1f4061ca81e87b70f02068f7c70 Mon Sep 17 00:00:00 2001 From: Sumeet R Pawnikar Date: Tue, 2 Jun 2020 15:45:45 +0530 Subject: [PATCH] tigerlake: add unique acpi device ids for dptf Add unique new acpi device ids for dptf for Tiger Lake soc based platforms and update volteer speficic dsdt.asl file accordingly. The Linux kernel driver expects these new acpi device ids for dptf functionalities. BUG=None BRANCH=None TEST=Build and boot on volteer system Change-Id: I7dbb812c0fc0f5084c98cf2752ce7ddce8e4d50e Signed-off-by: Sumeet R Pawnikar Reviewed-on: https://review.coreboot.org/c/coreboot/+/42040 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/mainboard/google/volteer/dsdt.asl | 4 ++-- src/soc/intel/tigerlake/acpi/dptf.asl | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 src/soc/intel/tigerlake/acpi/dptf.asl diff --git a/src/mainboard/google/volteer/dsdt.asl b/src/mainboard/google/volteer/dsdt.asl index fa39e79e8e..3189767455 100644 --- a/src/mainboard/google/volteer/dsdt.asl +++ b/src/mainboard/google/volteer/dsdt.asl @@ -57,8 +57,8 @@ DefinitionBlock( { /* Per board variant specific definitions. */ #include - /* Include soc specific DPTF changes */ - #include + /* Include Tiger Lake soc specific DPTF changes */ + #include /* Include common dptf ASL files */ #include } diff --git a/src/soc/intel/tigerlake/acpi/dptf.asl b/src/soc/intel/tigerlake/acpi/dptf.asl new file mode 100644 index 0000000000..4877c88569 --- /dev/null +++ b/src/soc/intel/tigerlake/acpi/dptf.asl @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +/* Below are the unique ACPI Device IDs for thermal/dptf on Tiger Lake SoC. */ +/* DPTF ACPI Device ID */ +#define DPTF_DPTF_DEVICE "INTC1040" +/* Generic ACPI Device ID for TSR0/1/2/3 and charger */ +#define DPTF_GEN_DEVICE "INTC1043" +/* Fan ACPI Device ID */ +#define DPTF_FAN_DEVICE "INTC1044"