[PATCH 0/2] clk: sophgo: add SG2044 clock controller support
From: Inochi Amaoto
Date: Mon Dec 09 2024 - 03:22:00 EST
The clock controller of SG2044 provides multiple clocks for various
IPs on the SoC, including PLL, mux, div and gates. As the PLL and
div have obvious changed and do not fit the framework of SG2042,
a new implement is provided to handle these.
Inochi Amaoto (2):
dt-bindings: clock: sophgo: add clock controller for SG2044
clk: sophgo: Add clock controller support for SG2044 SoC
.../bindings/clock/sophgo,sg2044-clk.yaml | 40 +
drivers/clk/sophgo/Kconfig | 11 +
drivers/clk/sophgo/Makefile | 1 +
drivers/clk/sophgo/clk-sg2044.c | 2275 +++++++++++++++++
drivers/clk/sophgo/clk-sg2044.h | 62 +
include/dt-bindings/clock/sophgo,sg2044-clk.h | 170 ++
6 files changed, 2559 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/sophgo,sg2044-clk.yaml
create mode 100644 drivers/clk/sophgo/clk-sg2044.c
create mode 100644 drivers/clk/sophgo/clk-sg2044.h
create mode 100644 include/dt-bindings/clock/sophgo,sg2044-clk.h
--
2.47.1