| .. | .. |
|---|
| 78 | 78 | u32 low_rm; |
|---|
| 79 | 79 | u32 current_rm; |
|---|
| 80 | 80 | u32 target_rm; |
|---|
| 81 | + u32 pvtpll_clk_id; |
|---|
| 82 | + bool pvtpll_low_temp; |
|---|
| 81 | 83 | }; |
|---|
| 82 | 84 | |
|---|
| 83 | 85 | #if IS_ENABLED(CONFIG_ROCKCHIP_OPP) |
|---|
| .. | .. |
|---|
| 87 | 89 | int *volt_sel, int *scale_sel); |
|---|
| 88 | 90 | void rockchip_pvtpll_calibrate_opp(struct rockchip_opp_info *info); |
|---|
| 89 | 91 | void rockchip_pvtpll_add_length(struct rockchip_opp_info *info); |
|---|
| 92 | +void rockchip_init_pvtpll_table(struct rockchip_opp_info *info, int bin); |
|---|
| 90 | 93 | void rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *np, |
|---|
| 91 | 94 | char *reg_name, int bin, int process, |
|---|
| 92 | 95 | int *volt_sel, int *scale_sel); |
|---|
| .. | .. |
|---|
| 130 | 133 | int rockchip_init_opp_table(struct device *dev, |
|---|
| 131 | 134 | struct rockchip_opp_info *info, |
|---|
| 132 | 135 | char *lkg_name, char *reg_name); |
|---|
| 136 | +void rockchip_uninit_opp_table(struct device *dev, |
|---|
| 137 | + struct rockchip_opp_info *info); |
|---|
| 133 | 138 | #else |
|---|
| 134 | 139 | static inline int rockchip_of_get_leakage(struct device *dev, char *lkg_name, |
|---|
| 135 | 140 | int *leakage) |
|---|
| .. | .. |
|---|
| 149 | 154 | } |
|---|
| 150 | 155 | |
|---|
| 151 | 156 | static inline void rockchip_pvtpll_add_length(struct rockchip_opp_info *info) |
|---|
| 157 | +{ |
|---|
| 158 | +} |
|---|
| 159 | + |
|---|
| 160 | +static inline void rockchip_init_pvtpll_table(struct rockchip_opp_info *info, |
|---|
| 161 | + int bin) |
|---|
| 152 | 162 | { |
|---|
| 153 | 163 | } |
|---|
| 154 | 164 | |
|---|
| .. | .. |
|---|
| 266 | 276 | return -EOPNOTSUPP; |
|---|
| 267 | 277 | } |
|---|
| 268 | 278 | |
|---|
| 279 | +static inline void rockchip_uninit_opp_table(struct device *dev, |
|---|
| 280 | + struct rockchip_opp_info *info) |
|---|
| 281 | +{ |
|---|
| 282 | +} |
|---|
| 283 | + |
|---|
| 269 | 284 | #endif /* CONFIG_ROCKCHIP_OPP */ |
|---|
| 270 | 285 | |
|---|
| 271 | 286 | #endif |
|---|