summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi/Makefile
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2014-05-15 10:55:11 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-06-11 10:25:02 +0200
commitc8a76cac19eebf65f629e3676e57743f9dfeea8f (patch)
tree3988645d9fe86f15009e324b8e0ac575d2c27d7d /drivers/clk/sunxi/Makefile
parentefb3184c08927c54ed984c85f69f54ff1dbd2c37 (diff)
downloadblackbird-obmc-linux-c8a76cac19eebf65f629e3676e57743f9dfeea8f.tar.gz
blackbird-obmc-linux-c8a76cac19eebf65f629e3676e57743f9dfeea8f.zip
clk: sunxi: add PRCM (Power/Reset/Clock Management) clks support
The PRCM (Power/Reset/Clock Management) unit provides several clock devices: - AR100 clk: used to clock the Power Management co-processor - AHB0 clk: used to clock the AHB0 bus - APB0 clk and gates: used to clk peripherals connected to the APB0 bus Add support for these clks in a separate driver so that they can be probed as platform devices instead of registered during early init. This is needed to be able to probe PRCM MFD subdevices. Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Emilio López <emilio@elopez.com.ar>
Diffstat (limited to 'drivers/clk/sunxi/Makefile')
-rw-r--r--drivers/clk/sunxi/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/sunxi/Makefile b/drivers/clk/sunxi/Makefile
index 839029e36144..762fd64dbd1f 100644
--- a/drivers/clk/sunxi/Makefile
+++ b/drivers/clk/sunxi/Makefile
@@ -5,3 +5,5 @@
obj-y += clk-sunxi.o clk-factors.o
obj-y += clk-a10-hosc.o
obj-y += clk-a20-gmac.o
+
+obj-$(CONFIG_MFD_SUN6I_PRCM) += clk-sun6i-ar100.o clk-sun6i-apb0.o clk-sun6i-apb0-gates.o
OpenPOWER on IntegriCloud