clk: rockchip: introduce a clock type for factor clocks
From: Heiko Stuebner <heiko@...> Date: Wed, 27 Jan 2016 22:12:31 +0100
We're currently creating factor clocks manually during clock init. That worked well in the beginning, but since the rk3288 we also see combined gate-factor clocks and the overall number of factor clocks we create manually seems to be rising. And also sometimes created artificial separations that do not come from the clock hirarchy. So I finished something I started some 6 months ago to finally be able to model factor clocks inside the clock-tree where they belong. Heiko Stuebner (3): clk: rockchip: rk3036: fix parent of hclk_vcodec clk: rockchip: add a factor clock type clk: rockchip: convert manually created factor clocks to the new type drivers/clk/rockchip/clk-rk3036.c | 32 ++++++----------------- drivers/clk/rockchip/clk-rk3188.c | 10 +++----- drivers/clk/rockchip/clk-rk3228.c | 33 +++++------------------- drivers/clk/rockchip/clk-rk3288.c | 23 +++++------------ drivers/clk/rockchip/clk-rk3368.c | 29 ++++++--------------- drivers/clk/rockchip/clk.c | 53 +++++++++++++++++++++++++++++++++++++++ drivers/clk/rockchip/clk.h | 28 +++++++++++++++++++++ 7 files changed, 110 insertions(+), 98 deletions(-) -- 2.6.4
Patches in this set
- [0001] clk: rockchip: fix parent of hclk_vcodec on rk3036 (raw)
- [0002] clk: rockchip: add a factor clock type (raw)
- [0003] clk: rockchip: convert manually created factor clocks to (raw)
Statistics
- 3 individual patches
- 111 lines added
- 99 lines removed