| /* SPDX-License-Identifier: GPL-2.0-only */ |
| |
| #include <drivers/intel/dptf/dptf.h> |
| #include <soc/dptf.h> |
| |
| static const struct dptf_platform_info cnl_dptf_platform_info = { |
| .use_eisa_hids = true, |
| /* _HID for the toplevel DPTF device, typically \_SB.DPTF */ |
| .dptf_device_hid = DPTF_DPTF_DEVICE, |
| /* _HID for Intel DPTF Generic Device (these require PTYP as well) */ |
| .generic_hid = DPTF_GEN_DEVICE, |
| /* _HID for Intel DPTF Fan Device */ |
| .fan_hid = DPTF_FAN_DEVICE, |
| }; |
| |
| const struct dptf_platform_info *soc_get_dptf_platform_info(void) |
| { |
| return &cnl_dptf_platform_info; |
| } |