summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-01-30 11:16:09 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-13 10:35:13 +0100
commit8e15d4ae1f028a8a5b21487d44956e7e02e13fac (patch)
tree75f8d1b2d286b03d570108416e46cbd13e964060 /arch
parent91cad66628c1af4693c1a5553a72f825bd4d63d6 (diff)
downloadbarebox-8e15d4ae1f028a8a5b21487d44956e7e02e13fac.tar.gz
barebox-8e15d4ae1f028a8a5b21487d44956e7e02e13fac.tar.xz
clk: Add Layerscape clk support
This adds support for the clock controller found on Layerscape SoCs. This is mostly an adoption of the corresponding Linux driver. This is tested on the LS1046a SoC. Other ARM based Layerscape SoCs should work aswell, support for the PowerPC based SoCs has been removed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 4e5b4bcee1..8565bbb458 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -118,6 +118,9 @@ config ARCH_LAYERSCAPE
select GPIOLIB
select HAS_DEBUG_LL
select HAVE_PBL_MULTI_IMAGES
+ select COMMON_CLK
+ select CLKDEV_LOOKUP
+ select COMMON_CLK_OF_PROVIDER
config ARCH_MVEBU
bool "Marvell EBU platforms"