Skip to content

Commit

Permalink
Merge tag 'meson-clk-for-v4.16-2' of git://github.com/BayLibre/clk-me…
Browse files Browse the repository at this point in the history
…son into clk-meson

Second round of meson clock updates for v4.16

* Rename clock lock to help in case of lockdep issues
* Initial axg support
  • Loading branch information
mturquette committed Dec 19, 2017
2 parents 8049d81 + 78b4af3 commit 70d7aeb
Show file tree
Hide file tree
Showing 10 changed files with 1,217 additions and 71 deletions.
7 changes: 5 additions & 2 deletions Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ controllers within the SoC.

Required Properties:

- compatible: should be "amlogic,gxbb-clkc" for GXBB SoC,
or "amlogic,gxl-clkc" for GXL and GXM SoC.
- compatible: should be:
"amlogic,gxbb-clkc" for GXBB SoC,
"amlogic,gxl-clkc" for GXL and GXM SoC,
"amlogic,axg-clkc" for AXG SoC.

- reg: physical base address of the clock controller and length of memory
mapped region.

Expand Down
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 70d7aeb

Please sign in to comment.