Tim Wawrzynczak | 7f7c388 | 2021-04-09 12:15:21 -0600 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <drivers/intel/dptf/dptf.h> |
Subrata Banik | fd8c596 | 2022-12-19 18:02:42 +0530 | [diff] [blame^] | 4 | #include <soc/dptf.h> |
Tim Wawrzynczak | 7f7c388 | 2021-04-09 12:15:21 -0600 | [diff] [blame] | 5 | |
| 6 | static const struct dptf_platform_info jsl_dptf_platform_info = { |
| 7 | .use_eisa_hids = true, |
| 8 | /* _HID for the toplevel DPTF device, typically \_SB.DPTF */ |
Subrata Banik | fd8c596 | 2022-12-19 18:02:42 +0530 | [diff] [blame^] | 9 | .dptf_device_hid = DPTF_DPTF_DEVICE, |
Tim Wawrzynczak | 7f7c388 | 2021-04-09 12:15:21 -0600 | [diff] [blame] | 10 | /* _HID for Intel DPTF Generic Device (these require PTYP as well) */ |
Subrata Banik | fd8c596 | 2022-12-19 18:02:42 +0530 | [diff] [blame^] | 11 | .generic_hid = DPTF_GEN_DEVICE, |
Tim Wawrzynczak | 7f7c388 | 2021-04-09 12:15:21 -0600 | [diff] [blame] | 12 | /* _HID for Intel DPTF Fan Device */ |
Subrata Banik | fd8c596 | 2022-12-19 18:02:42 +0530 | [diff] [blame^] | 13 | .fan_hid = DPTF_FAN_DEVICE, |
Tim Wawrzynczak | 7f7c388 | 2021-04-09 12:15:21 -0600 | [diff] [blame] | 14 | }; |
| 15 | |
Subrata Banik | 9ea73d1 | 2022-12-19 16:22:37 +0530 | [diff] [blame] | 16 | const struct dptf_platform_info *soc_get_dptf_platform_info(void) |
Tim Wawrzynczak | 7f7c388 | 2021-04-09 12:15:21 -0600 | [diff] [blame] | 17 | { |
| 18 | return &jsl_dptf_platform_info; |
| 19 | } |