Skip to content

Commit 57b55c7

Browse files
Yu Tujbrun3t
authored andcommitted
clk: meson: S4: add support for Amlogic S4 SoC peripheral clock controller
Add the peripherals clock controller driver in the S4 SoC family. [jbrunet: remove extra new line at end of s4-peripherals.h] Signed-off-by: Yu Tu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jerome Brunet <[email protected]>
1 parent e787c9c commit 57b55c7

File tree

4 files changed

+3881
-0
lines changed

4 files changed

+3881
-0
lines changed

drivers/clk/meson/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,15 @@ config COMMON_CLK_S4_PLL
156156
Support for the PLL clock controller on Amlogic S805X2 and S905Y4 devices,
157157
AKA S4. Say Y if you want the board to work, because PLLs are the parent of
158158
most peripherals.
159+
160+
config COMMON_CLK_S4_PERIPHERALS
161+
tristate "S4 SoC peripherals clock controllers support"
162+
depends on ARM64
163+
default y
164+
select COMMON_CLK_MESON_REGMAP
165+
select COMMON_CLK_MESON_DUALDIV
166+
select COMMON_CLK_MESON_VID_PLL_DIV
167+
help
168+
Support for the peripherals clock controller on Amlogic S805X2 and S905Y4
169+
devices, AKA S4. Say Y if you want S4 peripherals clock controller to work.
159170
endmenu

drivers/clk/meson/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ 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
2525
obj-$(CONFIG_COMMON_CLK_S4_PLL) += s4-pll.o
26+
obj-$(CONFIG_COMMON_CLK_S4_PERIPHERALS) += s4-peripherals.o

0 commit comments

Comments
 (0)