This series adds clock and reset driver as well as corresponding
dt-bindings and headers for RK3528 SoC.
Similar to previous Rockchip SoCs, reset controller shares MMIO region
with clock controller, combined as Clock and Reset Unit (CRU).
This depends on previous basic dt series[1]. Tested on Radxa E20C board,
a clock tree dump could be obtained here[2].
[1]: https://lore.kernel.org/all/20240829092705.6241-2-ziyao@disroot.org/T/#t
[2]: https://gist.github.com/ziyao233/47c24014d94e0fa1c67e8aa2ea9d3a27
Yao Zi (8):
dt-bindings: clock: Add clock ID definition for Rockchip RK3528
dt-bindings: reset: Add reset ID definition for Rockchip RK3528
dt-bindings: clock: Add rockchip,rk3528-cru
clk: rockchip: Add PLL flag ROCKCHIP_PLL_FIXED_MODE
clk: rockchip: Add clock type GATE_NO_SET_RATE
clk: rockchip: Add clock controller driver for RK3528 SoC
arm64: dts: rockchip: Add clock generators for RK3528 SoC
arm64: dts: rockchip: Add UART clocks for RK3528 SoC
.../bindings/clock/rockchip,rk3528-cru.yaml | 63 +
arch/arm64/boot/dts/rockchip/rk3528.dtsi | 66 +-
drivers/clk/rockchip/Kconfig | 7 +
drivers/clk/rockchip/Makefile | 1 +
drivers/clk/rockchip/clk-pll.c | 10 +-
drivers/clk/rockchip/clk-rk3528.c | 1194 +++++++++++++++++
drivers/clk/rockchip/clk.c | 8 +
drivers/clk/rockchip/clk.h | 36 +
.../dt-bindings/clock/rockchip,rk3528-cru.h | 453 +++++++
.../dt-bindings/reset/rockchip,rk3528-cru.h | 292 ++++
10 files changed, 2125 insertions(+), 5 deletions(-)
create mode 100644 Documentation/devicetree/bindings/clock/rockchip,rk3528-cru.yaml
create mode 100644 drivers/clk/rockchip/clk-rk3528.c
create mode 100644 include/dt-bindings/clock/rockchip,rk3528-cru.h
create mode 100644 include/dt-bindings/reset/rockchip,rk3528-cru.h
base-commit: 94ede2a3e9135764736221c080ac7c0ad993dc2d
prerequisite-patch-id: 00765e79597b500b66104626b59192bd0f29728a
prerequisite-patch-id: e4a9167d8787c6e852e45fc7815e5d552843fe48
prerequisite-patch-id: cc3802151c49f4c57c8a88be4ab785070b5e4d17
prerequisite-patch-id: c70c2ef39ebef152c9f3a8720daf06ae361d0416
--
2.46.0