[PATCH v2 0/5] add support for T7 family clock controller
From: Jian Hu
Date: Wed Jan 08 2025 - 04:55:49 EST
It introduces three clock controllers:
- scmi clock controller, these clocks are managed by the SCP and handled through SCMI;
- PLL clock controller;
- peripheral clock controller.
Changes v2 since v1 at [1]:
- add CLK_MESON import
- add const for clkc_regmao_config in pll driver
- fix eth_rmii_sel parent
- update T7 PLL YAML file
[1]: https://lore.kernel.org/r/20241231060047.2298871-6-jian.hu%40amlogic.com
Jian Hu (5):
dt-bindings: clock: add Amlogic T7 PLL clock controller
dt-bindings: clock: add Amlogic T7 SCMI clock controller
dt-bindings: clock: add Amlogic T7 peripherals clock controller
clk: meson: t7: add support for the T7 SoC PLL clock
clk: meson: t7: add t7 clock peripherals controller driver
.../clock/amlogic,t7-peripherals-clkc.yaml | 111 +
.../bindings/clock/amlogic,t7-pll-clkc.yaml | 103 +
drivers/clk/meson/Kconfig | 27 +
drivers/clk/meson/Makefile | 2 +
drivers/clk/meson/t7-peripherals.c | 2323 +++++++++++++++++
drivers/clk/meson/t7-pll.c | 1193 +++++++++
.../clock/amlogic,t7-peripherals-clkc.h | 231 ++
.../dt-bindings/clock/amlogic,t7-pll-clkc.h | 57 +
include/dt-bindings/clock/amlogic,t7-scmi.h | 48 +
9 files changed, 4095 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/amlogic,t7-peripherals-clkc.yaml
create mode 100644 Documentation/devicetree/bindings/clock/amlogic,t7-pll-clkc.yaml
create mode 100644 drivers/clk/meson/t7-peripherals.c
create mode 100644 drivers/clk/meson/t7-pll.c
create mode 100644 include/dt-bindings/clock/amlogic,t7-peripherals-clkc.h
create mode 100644 include/dt-bindings/clock/amlogic,t7-pll-clkc.h
create mode 100644 include/dt-bindings/clock/amlogic,t7-scmi.h
--
2.47.1