The patchset adds support for the peripheral and PLL clock controller
found on the Amlogic A5 SoC family, such as A113X2.
Some clocks are provided by security zones. These clock accessed
througth SCMI driver in linux, inlcuding OSC, SYS_CLK, AXI_CLK,
CPU_CLK, DSU_CLK, GP1_PLL, FIXED_PLL_DCO, FIXED_PLL, SYS_PLL_DIV16,
ACLKM, CPU_CLK_DIV16, FCLK_50M_PREDIV, FCLK_50M_DIV, FCLK_50M,
FCLK_DIV2_DIV, FCLK_DIV2, FCLK_DIV2P5_DIV, FCLK_DIV2P5, FCLK_DIV3_DIV,
FCLK_DIV3, FCLK_DIV4_DIV, FCLK_DIV4, FCLK_DIV5_DIV, FCLK_DIV5,
FCLK_DIV7_DIV and FCLK_DIV7.
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
---
Chuan Liu (5):
dt-bindings: clock: add Amlogic A5 PLL clock controller
dt-bindings: clock: add Amlogic A5 SCMI clock controller support
dt-bindings: clock: add Amlogic A5 peripherals clock controller
clk: meson: add support for the A5 SoC PLL clock
clk: meson: add A5 clock peripherals controller driver
.../clock/amlogic,a5-peripherals-clkc.yaml | 126 ++
.../bindings/clock/amlogic,a5-pll-clkc.yaml | 62 +
drivers/clk/meson/Kconfig | 28 +
drivers/clk/meson/Makefile | 2 +
drivers/clk/meson/a5-peripherals.c | 1471 ++++++++++++++++++++
drivers/clk/meson/a5-pll.c | 553 ++++++++
.../clock/amlogic,a5-peripherals-clkc.h | 139 ++
include/dt-bindings/clock/amlogic,a5-pll-clkc.h | 24 +
include/dt-bindings/clock/amlogic,a5-scmi-clkc.h | 37 +
9 files changed, 2442 insertions(+)
---
base-commit: c92651b5d51738859098d59692ff8ff4fa85bcd6
change-id: 20240911-a5-clk-35c49acb34e1
Best regards,
--
Xianwei Zhao <xianwei.zhao@amlogic.com>