mbox series

[GIT,PULL] Rockchip clock changes for 6.12 #1

Message ID 2436757.DCRlREXTYf@diego (mailing list archive)
State Accepted, archived
Headers show
Series [GIT,PULL] Rockchip clock changes for 6.12 #1 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git tags/v6.12-rockchip-clk1

Message

Heiko Stuebner Sept. 8, 2024, 9:51 p.m. UTC
Hi Mike, Stephen,

please find below a pull-request with some Rockchip clock changes for 6.12

Please pull.

Thanks
Heiko


The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b:

  Linux 6.11-rc1 (2024-07-28 14:19:55 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git tags/v6.12-rockchip-clk1

for you to fetch changes up to 12fd64babaca4dc09d072f63eda76ba44119816a:

  clk: rockchip: fix error for unknown clocks (2024-08-30 16:59:24 +0200)

----------------------------------------------------------------
Getting rid of the rest of CLK_NR_CLKS defines that reported the
the max number of clocks, but should never have been part of the
devicetree binding header.
New clock controller driver for the rk3576.
And some fixes for rk3228 and rk3588.

----------------------------------------------------------------
Alexander Shiyan (1):
      clk: rockchip: rk3588: Fix 32k clock name for pmu_24m_32k_100m_src_p

Detlev Casanova (1):
      dt-bindings: clock, reset: Add support for rk3576

Elaine Zhang (2):
      clk: rockchip: Add new pll type pll_rk3588_ddr
      clk: rockchip: Add clock controller for the RK3576

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

Jonas Karlman (1):
      clk: rockchip: Set parent rate for DCLK_VOP clock on RK3228

Krzysztof Kozlowski (1):
      dt-bindings: clock: rockchip,rk3588-cru: drop unneeded assigned-clocks

Sebastian Reichel (2):
      clk: rockchip: rk3588: drop unused code
      clk: rockchip: fix error for unknown clocks

 .../bindings/clock/rockchip,rk3576-cru.yaml        |   56 +
 .../bindings/clock/rockchip,rk3588-cru.yaml        |    4 -
 drivers/clk/rockchip/Kconfig                       |    7 +
 drivers/clk/rockchip/Makefile                      |    1 +
 drivers/clk/rockchip/clk-pll.c                     |    6 +-
 drivers/clk/rockchip/clk-px30.c                    |   10 +-
 drivers/clk/rockchip/clk-rk3036.c                  |    5 +-
 drivers/clk/rockchip/clk-rk3228.c                  |    7 +-
 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 +-
 drivers/clk/rockchip/clk-rk3576.c                  | 1820 ++++++++++++++++++++
 drivers/clk/rockchip/clk-rk3588.c                  |   42 +-
 drivers/clk/rockchip/clk.c                         |    3 +-
 drivers/clk/rockchip/clk.h                         |   54 +
 drivers/clk/rockchip/rst-rk3576.c                  |  651 +++++++
 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 -
 include/dt-bindings/clock/rockchip,rk3576-cru.h    |  592 +++++++
 include/dt-bindings/reset/rockchip,rk3576-cru.h    |  564 ++++++
 28 files changed, 3794 insertions(+), 78 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/rockchip,rk3576-cru.yaml
 create mode 100644 drivers/clk/rockchip/clk-rk3576.c
 create mode 100644 drivers/clk/rockchip/rst-rk3576.c
 create mode 100644 include/dt-bindings/clock/rockchip,rk3576-cru.h
 create mode 100644 include/dt-bindings/reset/rockchip,rk3576-cru.h

Comments

Stephen Boyd Sept. 9, 2024, 9:04 p.m. UTC | #1
Quoting Heiko Stuebner (2024-09-08 14:51:56)
> Hi Mike, Stephen,
> 
> please find below a pull-request with some Rockchip clock changes for 6.12
> 
> Please pull.
> 

In patch 'dt-bindings: clock, reset: Add support for rk3576' (49c04453db81)

WARNING: Block comments should align the * on each line
#100: FILE: include/dt-bindings/clock/rockchip,rk3576-cru.h:3:
+/*
+* Copyright (c) 2023 Rockchip Electronics Co. Ltd.

WARNING: Block comments should align the * on each line
#698: FILE: include/dt-bindings/reset/rockchip,rk3576-cru.h:3:
+/*
+* Copyright (c) 2023 Rockchip Electronics Co. Ltd.

total: 0 errors, 3 warnings, 1212 lines checked

In file included from drivers/clk/rockchip/clk-rk3576.c:14:
drivers/clk/rockchip/clk-rk3576.c:334:7: error: 'mclk_pdm0_p' defined but not used [-Werror=unused-const-variable=]
  334 | PNAME(mclk_pdm0_p)                      = { "mclk_pdm0_src_top", "xin24m" };
      |       ^~~~~~~~~~~
drivers/clk/rockchip/clk.h:564:43: note: in definition of macro 'PNAME'
  564 | #define PNAME(x) static const char *const x[] __initconst
      |                                           ^
drivers/clk/rockchip/clk-rk3576.c:333:7: error: 'pdm0_p' defined but not used [-Werror=unused-const-variable=]
  333 | PNAME(pdm0_p)                           = { "clk_pdm0_src_top", "xin24m" };
      |       ^~~~~~

Please fix these.