From 2f7c68cb55ecb7331f2381deb497c27155f32faf Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 03 Jan 2024 09:43:39 +0000 Subject: [PATCH] update kernel to 5.10.198 --- kernel/include/soc/rockchip/rockchip_opp_select.h | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/kernel/include/soc/rockchip/rockchip_opp_select.h b/kernel/include/soc/rockchip/rockchip_opp_select.h index 60f01b4..e7669f2 100644 --- a/kernel/include/soc/rockchip/rockchip_opp_select.h +++ b/kernel/include/soc/rockchip/rockchip_opp_select.h @@ -78,6 +78,8 @@ u32 low_rm; u32 current_rm; u32 target_rm; + u32 pvtpll_clk_id; + bool pvtpll_low_temp; }; #if IS_ENABLED(CONFIG_ROCKCHIP_OPP) @@ -87,6 +89,7 @@ int *volt_sel, int *scale_sel); void rockchip_pvtpll_calibrate_opp(struct rockchip_opp_info *info); void rockchip_pvtpll_add_length(struct rockchip_opp_info *info); +void rockchip_init_pvtpll_table(struct rockchip_opp_info *info, int bin); void rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *np, char *reg_name, int bin, int process, int *volt_sel, int *scale_sel); @@ -130,6 +133,8 @@ int rockchip_init_opp_table(struct device *dev, struct rockchip_opp_info *info, char *lkg_name, char *reg_name); +void rockchip_uninit_opp_table(struct device *dev, + struct rockchip_opp_info *info); #else static inline int rockchip_of_get_leakage(struct device *dev, char *lkg_name, int *leakage) @@ -149,6 +154,11 @@ } static inline void rockchip_pvtpll_add_length(struct rockchip_opp_info *info) +{ +} + +static inline void rockchip_init_pvtpll_table(struct rockchip_opp_info *info, + int bin) { } @@ -266,6 +276,11 @@ return -EOPNOTSUPP; } +static inline void rockchip_uninit_opp_table(struct device *dev, + struct rockchip_opp_info *info) +{ +} + #endif /* CONFIG_ROCKCHIP_OPP */ #endif -- Gitblit v1.6.2