diff options
author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2013-09-25 21:18:15 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2013-10-07 21:16:37 -0400 |
commit | 6cfc229d6f967041b5e1ee56a5bb87a500f31311 (patch) | |
tree | 79e0890000be71742fc06f587554d7f255619841 /drivers/clk | |
parent | 7affe5685c962ed0bc0fadf307400484b2276c89 (diff) |
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>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/Kconfig | 7 | ||||
-rw-r--r-- | drivers/clk/Makefile | 1 | ||||
-rw-r--r-- | drivers/clk/keystone/Makefile | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index dd37f91289d2..5c51115081b3 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig | |||
@@ -100,6 +100,13 @@ config COMMON_CLK_XGENE | |||
100 | ---help--- | 100 | ---help--- |
101 | Sypport for the APM X-Gene SoC reference, PLL, and device clocks. | 101 | Sypport for the APM X-Gene SoC reference, PLL, and device clocks. |
102 | 102 | ||
103 | config COMMON_CLK_KEYSTONE | ||
104 | tristate "Clock drivers for Keystone based SOCs" | ||
105 | depends on ARCH_KEYSTONE && OF | ||
106 | ---help--- | ||
107 | Supports clock drivers for Keystone based SOCs. These SOCs have local | ||
108 | a power sleep control module that gate the clock to the IPs and PLLs. | ||
109 | |||
103 | endmenu | 110 | endmenu |
104 | 111 | ||
105 | source "drivers/clk/mvebu/Kconfig" | 112 | source "drivers/clk/mvebu/Kconfig" |
diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile index 270f3fd2fbc0..df33820b45ec 100644 --- a/drivers/clk/Makefile +++ b/drivers/clk/Makefile | |||
@@ -33,6 +33,7 @@ obj-$(CONFIG_ARCH_ZYNQ) += zynq/ | |||
33 | obj-$(CONFIG_ARCH_TEGRA) += tegra/ | 33 | obj-$(CONFIG_ARCH_TEGRA) += tegra/ |
34 | obj-$(CONFIG_PLAT_SAMSUNG) += samsung/ | 34 | obj-$(CONFIG_PLAT_SAMSUNG) += samsung/ |
35 | obj-$(CONFIG_COMMON_CLK_XGENE) += clk-xgene.o | 35 | obj-$(CONFIG_COMMON_CLK_XGENE) += clk-xgene.o |
36 | obj-$(CONFIG_COMMON_CLK_KEYSTONE) += keystone/ | ||
36 | 37 | ||
37 | obj-$(CONFIG_X86) += x86/ | 38 | obj-$(CONFIG_X86) += x86/ |
38 | 39 | ||
diff --git a/drivers/clk/keystone/Makefile b/drivers/clk/keystone/Makefile new file mode 100644 index 000000000000..0477cf63f132 --- /dev/null +++ b/drivers/clk/keystone/Makefile | |||
@@ -0,0 +1 @@ | |||
obj-y += pll.o gate.o | |||