mbox series

[v1,0/9] clk: rockchip: Drop CLK_NR_CLKS CLKPMU_NR_CLKS usage

Message ID 416cdaf2-fef2-471d-a03a-837775d6e7dc@gmail.com (mailing list archive)
Headers show
Series clk: rockchip: Drop CLK_NR_CLKS CLKPMU_NR_CLKS usage | expand

Message

Johan Jonker Aug. 26, 2024, 4:36 p.m. UTC
In order to get rid of CLK_NR_CLKS and CLKPMU_NR_CLKS
and be able to drop it from the bindings, use
rockchip_clk_find_max_clk_id helper to find the
highest clock id.

Johan Jonker (9):
  clk: rockchip: px30: Drop CLK_NR_CLKS CLKPMU_NR_CLKS usage
  clk: rockchip: rk3036: Drop CLK_NR_CLKS usage
  clk: rockchip: rk3228: Drop CLK_NR_CLKS usage
  clk: rockchip: rk3288: Drop CLK_NR_CLKS usage
  clk: rockchip: rk3308: Drop CLK_NR_CLKS usage
  clk: rockchip: rk3328: Drop CLK_NR_CLKS usage
  clk: rockchip: rk3368: Drop CLK_NR_CLKS usage
  clk: rockchip: rk3399: Drop CLK_NR_CLKS CLKPMU_NR_CLKS usage
  dt-bindings: clock: rockchip: remove CLK_NR_CLKS and CLKPMU_NR_CLKS

 drivers/clk/rockchip/clk-px30.c        | 10 ++++++++--
 drivers/clk/rockchip/clk-rk3036.c      |  5 ++++-
 drivers/clk/rockchip/clk-rk3228.c      |  5 ++++-
 drivers/clk/rockchip/clk-rk3288.c      |  5 ++++-
 drivers/clk/rockchip/clk-rk3308.c      |  5 ++++-
 drivers/clk/rockchip/clk-rk3328.c      |  5 ++++-
 drivers/clk/rockchip/clk-rk3368.c      |  5 ++++-
 drivers/clk/rockchip/clk-rk3399.c      | 10 ++++++++--
 include/dt-bindings/clock/px30-cru.h   |  4 ----
 include/dt-bindings/clock/rk3036-cru.h |  2 --
 include/dt-bindings/clock/rk3228-cru.h |  2 --
 include/dt-bindings/clock/rk3288-cru.h |  2 --
 include/dt-bindings/clock/rk3308-cru.h |  2 --
 include/dt-bindings/clock/rk3328-cru.h |  2 --
 include/dt-bindings/clock/rk3368-cru.h |  2 --
 include/dt-bindings/clock/rk3399-cru.h |  4 ----
 16 files changed, 40 insertions(+), 30 deletions(-)

--
2.39.2

Comments

Heiko Stuebner Aug. 28, 2024, 8:53 p.m. UTC | #1
On Mon, 26 Aug 2024 18:36:40 +0200, Johan Jonker wrote:
> In order to get rid of CLK_NR_CLKS and CLKPMU_NR_CLKS
> and be able to drop it from the bindings, use
> rockchip_clk_find_max_clk_id helper to find the
> highest clock id.
> 
> Johan Jonker (9):
>   clk: rockchip: px30: Drop CLK_NR_CLKS CLKPMU_NR_CLKS usage
>   clk: rockchip: rk3036: Drop CLK_NR_CLKS usage
>   clk: rockchip: rk3228: Drop CLK_NR_CLKS usage
>   clk: rockchip: rk3288: Drop CLK_NR_CLKS usage
>   clk: rockchip: rk3308: Drop CLK_NR_CLKS usage
>   clk: rockchip: rk3328: Drop CLK_NR_CLKS usage
>   clk: rockchip: rk3368: Drop CLK_NR_CLKS usage
>   clk: rockchip: rk3399: Drop CLK_NR_CLKS CLKPMU_NR_CLKS usage
>   dt-bindings: clock: rockchip: remove CLK_NR_CLKS and CLKPMU_NR_CLKS
> 
> [...]

Applied, thanks!

[1/9] clk: rockchip: px30: Drop CLK_NR_CLKS CLKPMU_NR_CLKS usage
      commit: 2496910c84a4bd1aa2c10fe57cf4ae1cbcab17f4
[2/9] clk: rockchip: rk3036: Drop CLK_NR_CLKS usage
      commit: ec4f4261c315d9bc30bb1bb8c3bb17cbaebe7741
[3/9] clk: rockchip: rk3228: Drop CLK_NR_CLKS usage
      commit: 819b2e19a9f7dc9e84a00e2f6da2b2f15a01cee6
[4/9] clk: rockchip: rk3288: Drop CLK_NR_CLKS usage
      commit: 545b1313c5a24eed0e4d34554c715b46686251ff
[5/9] clk: rockchip: rk3308: Drop CLK_NR_CLKS usage
      commit: 31fe14956883bc09846ce239993e215330218a6f
[6/9] clk: rockchip: rk3328: Drop CLK_NR_CLKS usage
      commit: 0758fe99bc969294c2391de145b67c1223c7b104
[7/9] clk: rockchip: rk3368: Drop CLK_NR_CLKS usage
      commit: 41563197e7f2a0b449476bbbe931cb2806e84966
[8/9] clk: rockchip: rk3399: Drop CLK_NR_CLKS CLKPMU_NR_CLKS usage
      commit: 1a229868852ffe1d59f6bdad1e473d9d5f9e14bb
[9/9] dt-bindings: clock: rockchip: remove CLK_NR_CLKS and CLKPMU_NR_CLKS
      commit: fb234516c5a0728d7dbd718667c33c1523b55fe8

Best regards,