clk: rockchip: allow adjusting pll rates on init
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest0 of 4 patches 0 repliesNew
Patches in v2 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Kever Yang |
|---|---|
| Series | R-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] clk: rockchip: allow adjusting pll rates on init
Hi Heiko,
Quoted 18 lines · Heiko Stuebner
It was found that some firmware versions initialized the pll rates using suboptimal parameters to achieve frequencies the actual rate table contained better parameters for.
Therefore this series first adds the possibility to create pll-specific flags and then adds a flag to adjust the pll rate on init to the parameters from the rate table.
changes since v1:
- move population ofpll_muxbefore registering the core pll clock null pointer exception in the_set_ratecallback when called from initHeiko Stuebner (4):
clk: rockchip: add ability to specify pll-specific flags
clk: rockchip: setuppll_muxdata earlier
clk: rockchip: add optional sync to pll rate parameters
clk: rockchip: addROCKCHIP_PLL_SYNC_RATEflag to some plls
Quoted 7 lines
drivers/clk/rockchip/clk-pll.c | 81 +++++++++++++++++++++++++++++++-------- drivers/clk/rockchip/clk-rk3188.c | 8 ++-- drivers/clk/rockchip/clk-rk3288.c | 10 ++--- drivers/clk/rockchip/clk.c | 3 +- drivers/clk/rockchip/clk.h | 13 ++++++- 5 files changed, 88 insertions(+), 27 deletions(-)
The PLLs may have different usage, so add the pll-specific flag make sense.
I have test this patch set on both rk3288 evb and rk3288 pinky.
For this series: