blob: 676d11455a93a618f6db7d73f6e3824897bde67b [file] [log] [blame]
Tim Wawrzynczak7f7c3882021-04-09 12:15:21 -06001/* SPDX-License-Identifier: GPL-2.0-only */
2
3#ifndef _DRIVERS_INTEL_DPTF_H_
4#define _DRIVERS_INTEL_DPTF_H_
5
6#include <types.h>
7
8struct dptf_platform_info {
9 /*
10 * True indicates the platform-specific HIDs are to be emitted in EISA
11 * format instead of a string.
12 */
13 bool use_eisa_hids;
14 const char *dptf_device_hid;
15 const char *generic_hid;
16 const char *fan_hid;
Sumeet Pawnikara91d9312021-08-30 23:19:38 +053017 const char *tpch_device_hid;
Varshit B Pandyae7d3a1a2022-03-20 20:39:51 +053018 const char *tpwr_device_hid;
Varshit B Pandya170a76c2022-04-02 15:11:36 +053019 const char *tbat_device_hid;
Sumeet Pawnikare0bff812021-09-23 21:49:29 +053020 struct {
21 const char *set_fivr_low_clock_method;
22 const char *set_fivr_high_clock_method;
23 const char *get_fivr_low_clock_method;
24 const char *get_fivr_high_clock_method;
25 const char *get_fivr_ssc_method;
26 const char *get_fivr_switching_fault_status;
27 const char *get_fivr_switching_freq_mhz;
28 } tpch_method_names;
Tim Wawrzynczak7f7c3882021-04-09 12:15:21 -060029};
30
Tim Wawrzynczak7f7c3882021-04-09 12:15:21 -060031#endif /* _DRIVERS_INTEL_DPTF_H_ */