Skip to content

Commit e787c9c

Browse files
Yu Tujbrun3t
authored andcommitted
clk: meson: S4: add support for Amlogic S4 SoC PLL clock driver
Add the S4 PLL clock controller driver in the S4 SoC family. Signed-off-by: Yu Tu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jerome Brunet <[email protected]>
1 parent 9894949 commit e787c9c

File tree

4 files changed

+918
-0
lines changed

4 files changed

+918
-0
lines changed

drivers/clk/meson/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,16 @@ config COMMON_CLK_G12A
144144
help
145145
Support for the clock controller on Amlogic S905D2, S905X2 and S905Y2
146146
devices, aka g12a. Say Y if you want peripherals to work.
147+
148+
config COMMON_CLK_S4_PLL
149+
tristate "S4 SoC PLL clock controllers support"
150+
depends on ARM64
151+
default y
152+
select COMMON_CLK_MESON_MPLL
153+
select COMMON_CLK_MESON_PLL
154+
select COMMON_CLK_MESON_REGMAP
155+
help
156+
Support for the PLL clock controller on Amlogic S805X2 and S905Y4 devices,
157+
AKA S4. Say Y if you want the board to work, because PLLs are the parent of
158+
most peripherals.
147159
endmenu

drivers/clk/meson/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ obj-$(CONFIG_COMMON_CLK_A1_PERIPHERALS) += a1-peripherals.o
2222
obj-$(CONFIG_COMMON_CLK_GXBB) += gxbb.o gxbb-aoclk.o
2323
obj-$(CONFIG_COMMON_CLK_G12A) += g12a.o g12a-aoclk.o
2424
obj-$(CONFIG_COMMON_CLK_MESON8B) += meson8b.o meson8-ddr.o
25+
obj-$(CONFIG_COMMON_CLK_S4_PLL) += s4-pll.o

0 commit comments

Comments
 (0)