Browse Source

clk: keystone: Build Keystone clock drivers

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>
Santosh Shilimkar 11 years ago
parent
commit
6cfc229d6f
3 changed files with 9 additions and 0 deletions
  1. 7 0
      drivers/clk/Kconfig
  2. 1 0
      drivers/clk/Makefile
  3. 1 0
      drivers/clk/keystone/Makefile

+ 7 - 0
drivers/clk/Kconfig

@@ -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"

+ 1 - 0
drivers/clk/Makefile

@@ -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/
 

+ 1 - 0
drivers/clk/keystone/Makefile

@@ -0,0 +1 @@
+obj-y			+= pll.o gate.o