summaryrefslogtreecommitdiff
path: root/src/soc/intel/cannonlake/include
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2022-12-19 17:56:03 +0530
committerSubrata Banik <subratabanik@google.com>2022-12-22 08:05:18 +0000
commite4aee2b178820be7a68d2b370595b20fe3f0cbee (patch)
treec2a8fd8e2cb4c89d1471a9e58a7dd0d3068d57cf /src/soc/intel/cannonlake/include
parent4b0c8ccb141982ca47387046a09a604fe655a6e2 (diff)
soc/intel/cannonlake: 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/Hatch. Signed-off-by: Subrata Banik <subratabanik@google.com> Change-Id: I7a9218a41825d2fa40a1c1b96a333465b7f617c0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/71105 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/cannonlake/include')
-rw-r--r--src/soc/intel/cannonlake/include/soc/dptf.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/soc/intel/cannonlake/include/soc/dptf.h b/src/soc/intel/cannonlake/include/soc/dptf.h
new file mode 100644
index 0000000000..79bcde9955
--- /dev/null
+++ b/src/soc/intel/cannonlake/include/soc/dptf.h
@@ -0,0 +1,14 @@
+/* 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 Cannon Lake SoC. */
+/* DPTF ACPI Device ID */
+#define DPTF_DPTF_DEVICE "INT3400"
+/* Generic ACPI Device ID for TSR0/1/2/3 and charger */
+#define DPTF_GEN_DEVICE "INT3403"
+/* Fan ACPI Device ID */
+#define DPTF_FAN_DEVICE "INT3404"
+
+#endif /* _SOC_DPTF_H_ */