Skip to content

Commit

Permalink
clk: meson-axg: add clock controller drivers
Browse files Browse the repository at this point in the history
Add clock controller drivers for Amlogic Meson-AXG SoC.

Acked-by: Neil Armstrong <[email protected]>
Signed-off-by: Qiufang Dai <[email protected]>
Signed-off-by: Yixun Lan <[email protected]>
Signed-off-by: Jerome Brunet <[email protected]>
  • Loading branch information
DaiQiufang authored and jbrun3t committed Dec 14, 2017
1 parent 13ca131 commit 78b4af3
Show file tree
Hide file tree
Showing 5 changed files with 1,072 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/Kconfig.platforms
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ config ARCH_MESON
select PINCTRL_MESON
select COMMON_CLK_AMLOGIC
select COMMON_CLK_GXBB
select COMMON_CLK_AXG
select MESON_IRQ_GPIO
help
This enables support for the Amlogic S905 SoCs.
Expand Down
8 changes: 8 additions & 0 deletions drivers/clk/meson/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@ config COMMON_CLK_GXBB
help
Support for the clock controller on AmLogic S905 devices, aka gxbb.
Say Y if you want peripherals and CPU frequency scaling to work.

config COMMON_CLK_AXG
bool
depends on COMMON_CLK_AMLOGIC
select RESET_CONTROLLER
help
Support for the clock controller on AmLogic A113D devices, aka axg.
Say Y if you want peripherals and CPU frequency scaling to work.
1 change: 1 addition & 0 deletions drivers/clk/meson/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
obj-$(CONFIG_COMMON_CLK_AMLOGIC) += clk-pll.o clk-cpu.o clk-mpll.o clk-audio-divider.o
obj-$(CONFIG_COMMON_CLK_MESON8B) += meson8b.o
obj-$(CONFIG_COMMON_CLK_GXBB) += gxbb.o gxbb-aoclk.o gxbb-aoclk-regmap.o gxbb-aoclk-32k.o
obj-$(CONFIG_COMMON_CLK_AXG) += axg.o
Loading

0 comments on commit 78b4af3

Please sign in to comment.