2012-06-20 04:44:25 +07:00
|
|
|
# common clock types
|
2017-05-19 20:49:04 +07:00
|
|
|
obj-$(CONFIG_HAVE_CLK) += clk-devres.o clk-bulk.o
|
2010-11-17 16:04:33 +07:00
|
|
|
obj-$(CONFIG_CLKDEV_LOOKUP) += clkdev.o
|
2013-01-19 04:00:05 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK) += clk.o
|
|
|
|
obj-$(CONFIG_COMMON_CLK) += clk-divider.o
|
|
|
|
obj-$(CONFIG_COMMON_CLK) += clk-fixed-factor.o
|
|
|
|
obj-$(CONFIG_COMMON_CLK) += clk-fixed-rate.o
|
|
|
|
obj-$(CONFIG_COMMON_CLK) += clk-gate.o
|
2015-05-20 03:19:33 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK) += clk-multiplier.o
|
2013-01-19 04:00:05 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK) += clk-mux.o
|
2013-03-20 19:00:34 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK) += clk-composite.o
|
2014-05-15 20:40:25 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK) += clk-fractional-divider.o
|
2015-06-28 21:24:56 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK) += clk-gpio.o
|
2014-06-18 22:29:32 +07:00
|
|
|
ifeq ($(CONFIG_OF), y)
|
|
|
|
obj-$(CONFIG_COMMON_CLK) += clk-conf.o
|
|
|
|
endif
|
2013-01-19 04:00:05 +07:00
|
|
|
|
2014-01-28 04:04:49 +07:00
|
|
|
# hardware specific clock types
|
2016-06-16 07:09:25 +07:00
|
|
|
# please keep this section sorted lexicographically by file path name
|
2015-01-20 16:23:02 +07:00
|
|
|
obj-$(CONFIG_MACH_ASM9260) += clk-asm9260.o
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_AXI_CLKGEN) += clk-axi-clkgen.o
|
2014-05-15 20:42:25 +07:00
|
|
|
obj-$(CONFIG_ARCH_AXXIA) += clk-axm5516.o
|
2015-01-12 14:20:46 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_CDCE706) += clk-cdce706.o
|
2016-06-16 07:09:25 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_CDCE925) += clk-cdce925.o
|
2014-07-13 11:37:52 +07:00
|
|
|
obj-$(CONFIG_ARCH_CLPS711X) += clk-clps711x.o
|
2016-06-16 07:09:25 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_CS2000_CP) += clk-cs2000-cp.o
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_ARCH_EFM32) += clk-efm32gg.o
|
2017-06-21 14:59:52 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_GEMINI) += clk-gemini.o
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_ARCH_HIGHBANK) += clk-highbank.o
|
2017-08-26 00:39:14 +07:00
|
|
|
obj-$(CONFIG_CLK_HSDK) += clk-hsdk-pll.o
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_MAX77686) += clk-max77686.o
|
2014-01-28 18:09:11 +07:00
|
|
|
obj-$(CONFIG_ARCH_MOXART) += clk-moxart.o
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_ARCH_NOMADIK) += clk-nomadik.o
|
|
|
|
obj-$(CONFIG_ARCH_NSPIRE) += clk-nspire.o
|
2016-04-18 17:01:35 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_OXNAS) += clk-oxnas.o
|
2014-06-27 13:01:11 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_PALMAS) += clk-palmas.o
|
2016-06-16 07:09:25 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_PWM) += clk-pwm.o
|
2015-01-15 13:03:41 +07:00
|
|
|
obj-$(CONFIG_CLK_QORIQ) += clk-qoriq.o
|
2014-10-14 05:52:44 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_RK808) += clk-rk808.o
|
2017-04-18 00:19:25 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_HI655X) += clk-hi655x.o
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_S2MPS11) += clk-s2mps11.o
|
2015-03-30 16:59:52 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_SCPI) += clk-scpi.o
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_SI5351) += clk-si5351.o
|
2015-10-02 14:15:29 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_SI514) += clk-si514.o
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_SI570) += clk-si570.o
|
2015-06-11 03:09:37 +07:00
|
|
|
obj-$(CONFIG_ARCH_STM32) += clk-stm32f4.o
|
2017-08-21 18:59:02 +07:00
|
|
|
obj-$(CONFIG_ARCH_STM32) += clk-stm32h7.o
|
2016-01-29 21:07:22 +07:00
|
|
|
obj-$(CONFIG_ARCH_TANGO) += clk-tango4.o
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_CLK_TWL6040) += clk-twl6040.o
|
|
|
|
obj-$(CONFIG_ARCH_U300) += clk-u300.o
|
|
|
|
obj-$(CONFIG_ARCH_VT8500) += clk-vt8500.o
|
2017-01-12 08:03:24 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_VC5) += clk-versaclock5.o
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_WM831X) += clk-wm831x.o
|
|
|
|
obj-$(CONFIG_COMMON_CLK_XGENE) += clk-xgene.o
|
2016-06-16 07:09:25 +07:00
|
|
|
|
|
|
|
# please keep this section sorted lexicographically by directory path name
|
2014-01-29 09:44:53 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_AT91) += at91/
|
2016-04-04 16:23:23 +07:00
|
|
|
obj-$(CONFIG_ARCH_ARTPEC) += axis/
|
2016-06-16 07:09:25 +07:00
|
|
|
obj-$(CONFIG_ARC_PLAT_AXS10X) += axs10x/
|
2015-10-16 02:48:31 +07:00
|
|
|
obj-y += bcm/
|
2014-05-19 23:43:24 +07:00
|
|
|
obj-$(CONFIG_ARCH_BERLIN) += berlin/
|
2016-06-16 07:09:25 +07:00
|
|
|
obj-$(CONFIG_H8300) += h8300/
|
2015-05-29 09:08:38 +07:00
|
|
|
obj-$(CONFIG_ARCH_HISI) += hisilicon/
|
2017-06-18 03:52:47 +07:00
|
|
|
obj-y += imgtec/
|
2015-04-26 20:54:29 +07:00
|
|
|
obj-$(CONFIG_ARCH_MXC) += imx/
|
2015-05-24 22:11:35 +07:00
|
|
|
obj-$(CONFIG_MACH_INGENIC) += ingenic/
|
2017-06-13 14:09:27 +07:00
|
|
|
obj-$(CONFIG_ARCH_KEYSTONE) += keystone/
|
2016-09-19 11:38:54 +07:00
|
|
|
obj-$(CONFIG_MACH_LOONGSON32) += loongson1/
|
2015-04-23 15:35:39 +07:00
|
|
|
obj-$(CONFIG_ARCH_MEDIATEK) += mediatek/
|
2016-06-16 07:09:25 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_AMLOGIC) += meson/
|
2016-05-13 14:52:40 +07:00
|
|
|
obj-$(CONFIG_MACH_PIC32) += microchip/
|
2012-08-20 09:55:11 +07:00
|
|
|
ifeq ($(CONFIG_COMMON_CLK), y)
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_ARCH_MMP) += mmp/
|
2012-08-20 09:55:11 +07:00
|
|
|
endif
|
2016-03-27 16:26:13 +07:00
|
|
|
obj-y += mvebu/
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_ARCH_MXS) += mxs/
|
2015-12-06 17:45:56 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_NXP) += nxp/
|
2016-06-16 07:09:25 +07:00
|
|
|
obj-$(CONFIG_MACH_PISTACHIO) += pistachio/
|
2014-10-02 04:39:29 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_PXA) += pxa/
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_QCOM) += qcom/
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 21:54:14 +07:00
|
|
|
obj-y += renesas/
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/
|
2014-05-08 11:07:11 +07:00
|
|
|
obj-$(CONFIG_COMMON_CLK_SAMSUNG) += samsung/
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_ARCH_SIRF) += sirf/
|
|
|
|
obj-$(CONFIG_ARCH_SOCFPGA) += socfpga/
|
|
|
|
obj-$(CONFIG_PLAT_SPEAR) += spear/
|
2014-02-27 22:24:14 +07:00
|
|
|
obj-$(CONFIG_ARCH_STI) += st/
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_ARCH_SUNXI) += sunxi/
|
2016-06-30 02:05:23 +07:00
|
|
|
obj-$(CONFIG_ARCH_SUNXI) += sunxi-ng/
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_ARCH_TEGRA) += tegra/
|
2016-02-27 00:45:03 +07:00
|
|
|
obj-y += ti/
|
2016-09-16 14:40:03 +07:00
|
|
|
obj-$(CONFIG_CLK_UNIPHIER) += uniphier/
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_ARCH_U8500) += ux500/
|
|
|
|
obj-$(CONFIG_COMMON_CLK_VERSATILE) += versatile/
|
2017-01-24 01:07:41 +07:00
|
|
|
ifeq ($(CONFIG_COMMON_CLK), y)
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_X86) += x86/
|
2017-01-24 01:07:41 +07:00
|
|
|
endif
|
2015-06-04 10:21:01 +07:00
|
|
|
obj-$(CONFIG_ARCH_ZX) += zte/
|
2014-01-28 04:04:49 +07:00
|
|
|
obj-$(CONFIG_ARCH_ZYNQ) += zynq/
|