Skip to content

Commit 84af914

Browse files
rockosovjbrun3t
authored andcommitted
clk: meson: a1: add Amlogic A1 Peripherals clock controller driver
Introduce Peripherals clock controller for Amlogic A1 SoC family. A1 SoC has four clock controllers on the board: PLL, Peripherals, CPU, and Audio. This patchset adds support for Amlogic A1 Peripherals clock driver and allows to generate clocks for all A1 SoC peripheral IPs. Signed-off-by: Jian Hu <[email protected]> Signed-off-by: Dmitry Rokosov <[email protected]> Reviewed-by: Martin Blumenstingl <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jerome Brunet <[email protected]>
1 parent 28f3be5 commit 84af914

File tree

4 files changed

+2367
-0
lines changed

4 files changed

+2367
-0
lines changed

drivers/clk/meson/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,16 @@ config COMMON_CLK_A1_PLL
109109
device, A1 SoC Family. Say Y if you want A1 PLL clock controller
110110
to work.
111111

112+
config COMMON_CLK_A1_PERIPHERALS
113+
tristate "Amlogic A1 SoC Peripherals clock controller support"
114+
depends on ARM64
115+
select COMMON_CLK_MESON_DUALDIV
116+
select COMMON_CLK_MESON_REGMAP
117+
help
118+
Support for the Peripherals clock controller on Amlogic A113L based
119+
device, A1 SoC Family. Say Y if you want A1 Peripherals clock
120+
controller to work.
121+
112122
config COMMON_CLK_G12A
113123
tristate "G12 and SM1 SoC clock controllers support"
114124
depends on ARM64

drivers/clk/meson/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ obj-$(CONFIG_COMMON_CLK_MESON_VID_PLL_DIV) += vid-pll-div.o
1717
obj-$(CONFIG_COMMON_CLK_AXG) += axg.o axg-aoclk.o
1818
obj-$(CONFIG_COMMON_CLK_AXG_AUDIO) += axg-audio.o
1919
obj-$(CONFIG_COMMON_CLK_A1_PLL) += a1-pll.o
20+
obj-$(CONFIG_COMMON_CLK_A1_PERIPHERALS) += a1-peripherals.o
2021
obj-$(CONFIG_COMMON_CLK_GXBB) += gxbb.o gxbb-aoclk.o
2122
obj-$(CONFIG_COMMON_CLK_G12A) += g12a.o g12a-aoclk.o
2223
obj-$(CONFIG_COMMON_CLK_MESON8B) += meson8b.o meson8-ddr.o

0 commit comments

Comments
 (0)