Skip to content

Commit fab4d65

Browse files
Jian Hujbrun3t
authored andcommitted
clk: meson: t7: add t7 clock peripherals controller driver
Add Peripheral clock controller driver for the Amlogic T7 SoC family. Signed-off-by: Jian Hu <jian.hu@amlogic.com> Link: https://lore.kernel.org/r/20251212022619.3072132-6-jian.hu@amlogic.com Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
1 parent 140f074 commit fab4d65

3 files changed

Lines changed: 1285 additions & 0 deletions

File tree

drivers/clk/meson/Kconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,4 +216,17 @@ config COMMON_CLK_T7_PLL
216216
device, AKA T7. PLLs are required by most peripheral to operate.
217217
Say Y if you want T7 PLL clock controller to work.
218218

219+
config COMMON_CLK_T7_PERIPHERALS
220+
tristate "Amlogic T7 SoC peripherals clock controller support"
221+
depends on ARM64
222+
default ARCH_MESON
223+
select COMMON_CLK_MESON_REGMAP
224+
select COMMON_CLK_MESON_CLKC_UTILS
225+
select COMMON_CLK_MESON_DUALDIV
226+
imply COMMON_CLK_SCMI
227+
imply COMMON_CLK_T7_PLL
228+
help
229+
Support for the peripherals clock controller on Amlogic A311D2 based
230+
device, AKA T7. Peripherals are required by most peripheral to operate.
231+
Say Y if you want T7 peripherals clock controller to work.
219232
endmenu

drivers/clk/meson/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ obj-$(CONFIG_COMMON_CLK_MESON8B) += meson8b.o meson8-ddr.o
2727
obj-$(CONFIG_COMMON_CLK_S4_PLL) += s4-pll.o
2828
obj-$(CONFIG_COMMON_CLK_S4_PERIPHERALS) += s4-peripherals.o
2929
obj-$(CONFIG_COMMON_CLK_T7_PLL) += t7-pll.o
30+
obj-$(CONFIG_COMMON_CLK_T7_PERIPHERALS) += t7-peripherals.o

0 commit comments

Comments
 (0)