drivers/intel/dptf: Add support for PCH methods

Add various methods support for pch device under dptf driver.
This provides support of different control knobs for FIVR.

BUG=b:198582766
BRANCH=None
TEST=Build FW and test on brya0 board

Change-Id: I2d40fff98cb4eb9144d55fd5383d9946e4cb0558
Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57925
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Sumeet Pawnikar
2021-09-23 21:49:29 +05:30
committed by Felix Held
parent 14886aec99
commit e0bff814da
3 changed files with 162 additions and 20 deletions

View File

@@ -15,8 +15,15 @@ struct dptf_platform_info {
const char *generic_hid;
const char *fan_hid;
const char *tpch_device_hid;
const char *tpch_rfc0_method;
const char *tpch_rfc1_method;
struct {
const char *set_fivr_low_clock_method;
const char *set_fivr_high_clock_method;
const char *get_fivr_low_clock_method;
const char *get_fivr_high_clock_method;
const char *get_fivr_ssc_method;
const char *get_fivr_switching_fault_status;
const char *get_fivr_switching_freq_mhz;
} tpch_method_names;
};
const struct dptf_platform_info *get_dptf_platform_info(void);