arm64: allwinner: a523: Enable CPU clocks
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | dt-bindings: clock: sun55i-a523-ccu: Add A523 CPU CCU clock controllerDocumentation/ include/ | +38 | 3 replies | |
| 2/5 | clk: sunxi-ng: generalise update bitdrivers/ drivers/ drivers/ +4 more | +17 | 3 replies | |
| 3/5 | clk: sunxi-ng: mp: support clocks with just a shift registerdrivers/ | +4 | 3 replies | |
| 4/5 | clk: sunxi-ng: add support for the A523/T527 CPU CCUdrivers/ drivers/ drivers/ +1 more | +369 | 1 reply | |
| 5/5 | arm64: dts: allwinner: a523: add CPU clocksarch/ | +22 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Chen-Yu Tsai |
|---|---|
| 1/5 | |
| 2/5 | R-b |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] arm64: allwinner: a523: Enable CPU clocks
Hi,
this series adds support for the CPU clock controller in the Allwinner A523/A527/T527 family of SoCs.
In contrast to all earlier Allwinner SoCs, this chip features a separate CCU for the CPU clocks (one for each of the two clusters) and the DSU clock.
Patch 1/5 adds the binding document for the new CCU. This builds on top of Chen-Yu's recent patch for the MCU PRCM, listed as a prerequisite below.
Patch 2 and 3 add some slight enhancements to the sunxi-ng clock driver framework, to generalise the update bit and allow clocks with just a power-of-2 divider.
Patch 4 adds the actual clock driver, and patch 5 makes use of that by adding the clock description to the SoC .dtsi.
Please have a look and test!
Cheers,
Andre
Andre Przywara (5):
dt-bindings: clock: sun55i-a523-ccu: Add A523 CPU CCU clock controller
clk: sunxi-ng: generalise update bit
clk: sunxi-ng: mp: support clocks with just a shift register
clk: sunxi-ng: add support for the A523/T527 CPU CCU
arm64: dts: allwinner: a523: add CPU clocks
.../clock/allwinner,sun55i-a523-ccu.yaml | 25 ++ .../arm64/boot/dts/allwinner/sun55i-a523.dtsi | 22 ++ drivers/clk/sunxi-ng/Kconfig | 5 + drivers/clk/sunxi-ng/Makefile | 2 + drivers/clk/sunxi-ng/ccu-sun55i-a523-cpu.c | 338 ++++++++++++++++++ drivers/clk/sunxi-ng/ccu-sun55i-a523-cpu.h | 24 ++ drivers/clk/sunxi-ng/ccu-sun55i-a523.c | 12 +- drivers/clk/sunxi-ng/ccu_common.h | 5 +- drivers/clk/sunxi-ng/ccu_div.c | 3 +- drivers/clk/sunxi-ng/ccu_gate.c | 6 +- drivers/clk/sunxi-ng/ccu_mp.c | 6 +- drivers/clk/sunxi-ng/ccu_mp.h | 8 +- drivers/clk/sunxi-ng/ccu_mux.c | 3 +- drivers/clk/sunxi-ng/ccu_nm.c | 1 + .../dt-bindings/clock/sun55i-a523-cpu-ccu.h | 13 + 15 files changed, 450 insertions(+), 23 deletions(-) create mode 100644 drivers/clk/sunxi-ng/ccu-sun55i-a523-cpu.c create mode 100644 drivers/clk/sunxi-ng/ccu-sun55i-a523-cpu.h create mode 100644 include/dt-bindings/clock/sun55i-a523-cpu-ccu.h
base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
prerequisite-patch-id: 874f647e4961983cbcfda05d2fd906256b008327
Signature · 1 line
2.46.3