]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
clk: keystone: Build Keystone clock drivers
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Thu, 26 Sep 2013 01:18:15 +0000 (21:18 -0400)
committerMike Turquette <mturquette@linaro.org>
Tue, 8 Oct 2013 01:16:37 +0000 (18:16 -0700)
Now build the keystone common clock drivers. The build is made
conditional based on COMMON_CLK_KEYSTONE

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/Kconfig
drivers/clk/Makefile
drivers/clk/keystone/Makefile [new file with mode: 0644]

index dd37f91289d23630f4c933d96f2f251c48dc0f01..5c51115081b3618e61c6a78df58aabec5af77853 100644 (file)
@@ -100,6 +100,13 @@ config COMMON_CLK_XGENE
        ---help---
          Sypport for the APM X-Gene SoC reference, PLL, and device clocks.
 
+config COMMON_CLK_KEYSTONE
+       tristate "Clock drivers for Keystone based SOCs"
+       depends on ARCH_KEYSTONE && OF
+       ---help---
+          Supports clock drivers for Keystone based SOCs. These SOCs have local
+         a power sleep control module that gate the clock to the IPs and PLLs.
+
 endmenu
 
 source "drivers/clk/mvebu/Kconfig"
index 270f3fd2fbc0cb53f855e11c5bfaf98b91caa202..df33820b45ec6ad275c6d920a3c710e3298ccfd6 100644 (file)
@@ -33,6 +33,7 @@ obj-$(CONFIG_ARCH_ZYNQ)               += zynq/
 obj-$(CONFIG_ARCH_TEGRA)       += tegra/
 obj-$(CONFIG_PLAT_SAMSUNG)     += samsung/
 obj-$(CONFIG_COMMON_CLK_XGENE)  += clk-xgene.o
+obj-$(CONFIG_COMMON_CLK_KEYSTONE)      += keystone/
 
 obj-$(CONFIG_X86)              += x86/
 
diff --git a/drivers/clk/keystone/Makefile b/drivers/clk/keystone/Makefile
new file mode 100644 (file)
index 0000000..0477cf6
--- /dev/null
@@ -0,0 +1 @@
+obj-y                  += pll.o gate.o