summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/tigerlake/dptf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/tigerlake/dptf.c')
-rw-r--r--src/soc/intel/tigerlake/dptf.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/soc/intel/tigerlake/dptf.c b/src/soc/intel/tigerlake/dptf.c
new file mode 100644
index 000000000000..2f0427e6c755
--- /dev/null
+++ b/src/soc/intel/tigerlake/dptf.c
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <drivers/intel/dptf/dptf.h>
+
+static const struct dptf_platform_info tgl_dptf_platform_info = {
+ .use_eisa_hids = false,
+ /* _HID for the toplevel DPTF device, typically \_SB.DPTF */
+ .dptf_device_hid = "INTC1040",
+ /* _HID for Intel DPTF Generic Device (these require PTYP as well) */
+ .generic_hid = "INTC1043",
+ /* _HID for Intel DPTF Fan Device */
+ .fan_hid = "INTC1044",
+};
+
+const struct dptf_platform_info *get_dptf_platform_info(void)
+{
+ return &tgl_dptf_platform_info;
+}