summaryrefslogtreecommitdiff
path: root/src/soc/intel/jasperlake/dptf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/jasperlake/dptf.c')
-rw-r--r--src/soc/intel/jasperlake/dptf.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/soc/intel/jasperlake/dptf.c b/src/soc/intel/jasperlake/dptf.c
new file mode 100644
index 0000000000..be6804cd45
--- /dev/null
+++ b/src/soc/intel/jasperlake/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 jsl_dptf_platform_info = {
+ .use_eisa_hids = true,
+ /* _HID for the toplevel DPTF device, typically \_SB.DPTF */
+ .dptf_device_hid = "INT3400",
+ /* _HID for Intel DPTF Generic Device (these require PTYP as well) */
+ .generic_hid = "INT3403",
+ /* _HID for Intel DPTF Fan Device */
+ .fan_hid = "INT3404",
+};
+
+const struct dptf_platform_info *get_dptf_platform_info(void)
+{
+ return &jsl_dptf_platform_info;
+}