summaryrefslogtreecommitdiff
path: root/src/soc/intel/cannonlake/dptf.c
blob: 2ddcc9e2c432f54e91120a06db3e25a079106556 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* 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 = CONFIG(DPTF_USE_EISA_HID),
	/* _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;
}