public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Add SFC support for RK3128
@ 2024-06-06 14:33 Alex Bee
  2024-06-06 14:33 ` [PATCH v3 1/5] clk: rockchip: rk3128: Drop CLK_NR_CLKS usage Alex Bee
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Alex Bee @ 2024-06-06 14:33 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner
  Cc: Michael Turquette, Stephen Boyd, devicetree, linux-arm-kernel,
	linux-rockchip, linux-kernel, linux-clk, Alex Bee

This series adds support for the Serial Flash Controller (SFC) found in
RK3128 SoCs. The existing driver can be used as-is.

As without using some "id holes" we would run out clock ids when adding the
additional SFC AHB clock in the binding and would have to touch the ABI, I
added patches which remove the CLK_NR_CLKS macro and use the recently
introduced rockchip_clk_find_max_clk_id helper instead to find the highest
clock id.

changes since v1:
 - added patches to remove CLK_NR_CLKS (Conor)

Link to v1:
https://lore.kernel.org/all/20240605172154.193047-1-knaerzche@gmail.com/

changes since v2:
 - collect acks for the dt-bindings patches
 - fixed pinmux settings for chipselect pincontrols

Link to (the messed version of) v2:
https://lore.kernel.org/all/20240605205209.232005-1-knaerzche@gmail.com/

Alex Bee (5):
  clk: rockchip: rk3128: Drop CLK_NR_CLKS usage
  dt-bindings: clock: rk3128: Drop CLK_NR_CLKS
  dt-bindings: clock: rk3128: Add HCLK_SFC
  clk: rockchip: Add HCLK_SFC for RK3128
  ARM: dts: rockchip: Add SFC for RK3128

 arch/arm/boot/dts/rockchip/rk3128.dtsi | 35 ++++++++++++++++++++++++++
 drivers/clk/rockchip/clk-rk3128.c      | 21 +++++++++++++---
 include/dt-bindings/clock/rk3128-cru.h |  3 +--
 3 files changed, 53 insertions(+), 6 deletions(-)


base-commit: 234cb065ad82915ff8d06ce01e01c3e640b674d2
-- 
2.45.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-06-08 15:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-06 14:33 [PATCH v3 0/5] Add SFC support for RK3128 Alex Bee
2024-06-06 14:33 ` [PATCH v3 1/5] clk: rockchip: rk3128: Drop CLK_NR_CLKS usage Alex Bee
2024-06-06 14:33 ` [PATCH v3 2/5] dt-bindings: clock: rk3128: Drop CLK_NR_CLKS Alex Bee
2024-06-07 22:28   ` Heiko Stübner
2024-06-06 14:34 ` [PATCH v3 3/5] dt-bindings: clock: rk3128: Add HCLK_SFC Alex Bee
2024-06-06 14:34 ` [PATCH v3 4/5] clk: rockchip: Add HCLK_SFC for RK3128 Alex Bee
2024-06-06 14:34 ` [PATCH v3 5/5] ARM: dts: rockchip: Add SFC " Alex Bee
2024-06-08 15:17 ` [PATCH v3 0/5] Add SFC support " Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox