[PATCH V4 0/6] Add S4 SoC PLL and Peripheral clock controller

Yu Tu
2022-08-23T02:27:35Z

1. Add PLL and Peripheral clock controller driver for S4 SOC.

Yu Tu (6):
dt-bindings: clock: meson: add S4 SoC PLL clock controller bindings
arm64: dts: meson: add S4 Soc PLL clock controller in DT
clk: meson: S4: add support for Amlogic S4 SoC PLL clock driver
dt-bindings: clk: meson: add S4 SoC peripheral clock controller
bindings
arm64: dts: meson: add S4 Soc Peripheral clock controller in DT
clk: meson: s4: add s4 SoC peripheral clock controller driver

V3 -> V4: change format and clock flags.
V2 -> V3: Use two clock controller.
V1 -> V2: Change format as discussed in the email.

Link:https://lore.kernel.org/all/20220805085716.5635-7-yu.tu@amlogic.com/

.../clock/amlogic,s4-peripherals-clkc.yaml | 105 +
.../bindings/clock/amlogic,s4-pll-clkc.yaml | 51 +
MAINTAINERS | 1 +
arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 34 +
drivers/clk/meson/Kconfig | 25 +
drivers/clk/meson/Makefile | 2 +
drivers/clk/meson/s4-peripherals.c | 3813 +++++++++++++++++
drivers/clk/meson/s4-peripherals.h | 218 +
drivers/clk/meson/s4-pll.c | 880 ++++
drivers/clk/meson/s4-pll.h | 88 +
.../clock/amlogic,s4-peripherals-clkc.h | 131 +
.../dt-bindings/clock/amlogic,s4-pll-clkc.h | 30 +
12 files changed, 5378 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/amlogic,s4-peripherals-clkc.yaml
create mode 100644 Documentation/devicetree/bindings/clock/amlogic,s4-pll-clkc.yaml
create mode 100644 drivers/clk/meson/s4-peripherals.c
create mode 100644 drivers/clk/meson/s4-peripherals.h
create mode 100644 drivers/clk/meson/s4-pll.c
create mode 100644 drivers/clk/meson/s4-pll.h
create mode 100644 include/dt-bindings/clock/amlogic,s4-peripherals-clkc.h
create mode 100644 include/dt-bindings/clock/amlogic,s4-pll-clkc.h

base-commit: 08fc500fe3d4b1f0603fb97ad353f246a3d52d2d
--
2.33.1