Skip to content

Commit

Permalink
clk: sunxi-ng: Add H3 clocks
Browse files Browse the repository at this point in the history
Add the list of clocks and resets found in the H3 CCU.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/20160629190535.11855-14-maxime.ripard@free-electrons.com
  • Loading branch information
Maxime Ripard authored and Michael Turquette committed Jul 9, 2016
1 parent 4f728b5 commit 0577e48
Show file tree
Hide file tree
Showing 6 changed files with 1,152 additions and 0 deletions.
13 changes: 13 additions & 0 deletions drivers/clk/sunxi-ng/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,17 @@ config SUNXI_CCU_MP
select SUNXI_CCU_GATE
select SUNXI_CCU_MUX

# SoC Drivers

config SUN8I_H3_CCU
bool "Support for the Allwinner H3 CCU"
select SUNXI_CCU_DIV
select SUNXI_CCU_NK
select SUNXI_CCU_NKM
select SUNXI_CCU_NKMP
select SUNXI_CCU_NM
select SUNXI_CCU_MP
select SUNXI_CCU_PHASE
default ARCH_SUN8I

endif
3 changes: 3 additions & 0 deletions drivers/clk/sunxi-ng/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ obj-$(CONFIG_SUNXI_CCU_NKM) += ccu_nkm.o
obj-$(CONFIG_SUNXI_CCU_NKMP) += ccu_nkmp.o
obj-$(CONFIG_SUNXI_CCU_NM) += ccu_nm.o
obj-$(CONFIG_SUNXI_CCU_MP) += ccu_mp.o

# SoC support
obj-$(CONFIG_SUN8I_H3_CCU) += ccu-sun8i-h3.o
Loading

0 comments on commit 0577e48

Please sign in to comment.