Tim Wawrzynczak has submitted this change. ( 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 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 sumeet.r.pawnikar@intel.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/42040 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Tim Wawrzynczak twawrzynczak@chromium.org --- M src/mainboard/google/volteer/dsdt.asl A src/soc/intel/tigerlake/acpi/dptf.asl 2 files changed, 11 insertions(+), 2 deletions(-)
Approvals: build bot (Jenkins): Verified Tim Wawrzynczak: Looks good to me, approved
diff --git a/src/mainboard/google/volteer/dsdt.asl b/src/mainboard/google/volteer/dsdt.asl index fa39e79..31897674 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 Tiger Lake 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..4877c88 --- /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"