blob: ef5291677a2641abbd8c85543b66b767983a33a2 [file] [log] [blame]
Tim Wawrzynczak7f7c3882021-04-09 12:15:21 -06001/* SPDX-License-Identifier: GPL-2.0-only */
2
3#include <drivers/intel/dptf/dptf.h>
Subrata Banikfd8c5962022-12-19 18:02:42 +05304#include <soc/dptf.h>
Tim Wawrzynczak7f7c3882021-04-09 12:15:21 -06005
6static 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 Banikfd8c5962022-12-19 18:02:42 +05309 .dptf_device_hid = DPTF_DPTF_DEVICE,
Tim Wawrzynczak7f7c3882021-04-09 12:15:21 -060010 /* _HID for Intel DPTF Generic Device (these require PTYP as well) */
Subrata Banikfd8c5962022-12-19 18:02:42 +053011 .generic_hid = DPTF_GEN_DEVICE,
Tim Wawrzynczak7f7c3882021-04-09 12:15:21 -060012 /* _HID for Intel DPTF Fan Device */
Subrata Banikfd8c5962022-12-19 18:02:42 +053013 .fan_hid = DPTF_FAN_DEVICE,
Tim Wawrzynczak7f7c3882021-04-09 12:15:21 -060014};
15
Subrata Banik9ea73d12022-12-19 16:22:37 +053016const struct dptf_platform_info *soc_get_dptf_platform_info(void)
Tim Wawrzynczak7f7c3882021-04-09 12:15:21 -060017{
18 return &jsl_dptf_platform_info;
19}