]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
clk: lpc18xx: add NXP specific COMMON_CLK_NXP configuration symbol
authorVladimir Zapolskiy <vz@mleia.com>
Sun, 6 Dec 2015 10:45:56 +0000 (12:45 +0200)
committerMichael Turquette <mturquette@baylibre.com>
Thu, 24 Dec 2015 20:31:24 +0000 (12:31 -0800)
The change adds COMMON_CLK_NXP configuration symbol and enables it for
NXP LPC18XX architecture, this is needed to reuse drivers/clk/nxp
folder for NXP common clock framework drivers other than LPC18XX one.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Acked-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
drivers/clk/Kconfig
drivers/clk/Makefile

index c3e3a02f7f1f9b288ac93a524db3615f6abb72ae..7fc1eb90ca2b99003bfd2fb07117e654c584a4e3 100644 (file)
@@ -175,6 +175,11 @@ config COMMON_CLK_PWM
          Adapter driver so that any PWM output can be (mis)used as clock signal
          at 50% duty cycle.
 
+config COMMON_CLK_NXP
+       def_bool COMMON_CLK && ARCH_LPC18XX
+       ---help---
+         Support for clock providers on NXP platforms.
+
 config COMMON_CLK_PXA
        def_bool COMMON_CLK && ARCH_PXA
        ---help---
index 820714c72d368e29fe211d1699c9a68202c98359..15603c1288c32bd6fe01b1381316af5e87cdbf20 100644 (file)
@@ -62,8 +62,8 @@ endif
 obj-$(CONFIG_PLAT_ORION)               += mvebu/
 obj-$(CONFIG_ARCH_MESON)               += meson/
 obj-$(CONFIG_ARCH_MXS)                 += mxs/
-obj-$(CONFIG_ARCH_LPC18XX)             += nxp/
 obj-$(CONFIG_MACH_PISTACHIO)           += pistachio/
+obj-$(CONFIG_COMMON_CLK_NXP)           += nxp/
 obj-$(CONFIG_COMMON_CLK_PXA)           += pxa/
 obj-$(CONFIG_COMMON_CLK_QCOM)          += qcom/
 obj-$(CONFIG_ARCH_ROCKCHIP)            += rockchip/