aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/alderlake/include
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2022-12-19 17:35:47 +0530
committerSubrata Banik <subratabanik@google.com>2022-12-22 08:04:05 +0000
commit80ed5012ef38fdc3bca04d76cfc91a2fcceaff43 (patch)
tree3b24414a0a34cb2f940690ff272e6f0fad1b9c71 /src/soc/intel/alderlake/include
parent113d937c8068d7bcbfc2686646c9602a2a352a6f (diff)
soc/intel/alderlake: Move DPTF ACPI Device IDs into header file
This patch moves DPTF ACPI Device IDs into the header file (soc/dptf.h) so that upcoming patches in this patch train can achieve more common code. TEST=Able to build and boot Google/Kano. Signed-off-by: Subrata Banik <subratabanik@google.com> Change-Id: Ied32eb301b0702ad7cf12b662886c9060415eb72 Reviewed-on: https://review.coreboot.org/c/coreboot/+/71103 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Diffstat (limited to 'src/soc/intel/alderlake/include')
-rw-r--r--src/soc/intel/alderlake/include/soc/dptf.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/soc/intel/alderlake/include/soc/dptf.h b/src/soc/intel/alderlake/include/soc/dptf.h
new file mode 100644
index 0000000000..a15d51c41f
--- /dev/null
+++ b/src/soc/intel/alderlake/include/soc/dptf.h
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef _SOC_DPTF_H_
+#define _SOC_DPTF_H_
+
+/* Below are the unique ACPI Device IDs for thermal/dptf on Alder Lake SoC. */
+/* DPTF ACPI Device ID */
+#define DPTF_DPTF_DEVICE "INTC1041"
+/* Generic ACPI Device ID for TSR0/1/2/3 and charger */
+#define DPTF_GEN_DEVICE "INTC1046"
+/* Fan ACPI Device ID */
+#define DPTF_FAN_DEVICE "INTC1048"
+/* TPCH ACPI Device ID */
+#define DPTF_TPCH_DEVICE "INTC1049"
+/* TPWR ACPI Device ID */
+#define DPTF_TPWR_DEVICE "INTC1060"
+/* BAT1 ACPI Device ID */
+#define DPTF_BAT1_DEVICE "INTC1061"
+
+#endif /* _SOC_DPTF_H_ */