2012-06-19 23:44:25 +02:00
|
|
|
# common clock types
|
2017-05-19 15:49:04 +02:00
|
|
|
obj-$(CONFIG_HAVE_CLK) += clk-devres.o clk-bulk.o
|
2010-11-17 10:04:33 +01:00
|
|
|
obj-$(CONFIG_CLKDEV_LOOKUP) += clkdev.o
|
2013-01-18 22:00:05 +01: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-19 22:19:33 +02:00
|
|
|
obj-$(CONFIG_COMMON_CLK) += clk-multiplier.o
|
2013-01-18 22:00:05 +01:00
|
|
|
obj-$(CONFIG_COMMON_CLK) += clk-mux.o
|
2013-03-20 13:00:34 +01:00
|
|
|
obj-$(CONFIG_COMMON_CLK) += clk-composite.o
|
2014-05-15 15:40:25 +02:00
|
|
|
obj-$(CONFIG_COMMON_CLK) += clk-fractional-divider.o
|
2015-06-28 16:24:56 +02:00
|
|
|
obj-$(CONFIG_COMMON_CLK) += clk-gpio.o
|
2014-06-18 17:29:32 +02:00
|
|
|
ifeq ($(CONFIG_OF), y)
|
|
|
|
obj-$(CONFIG_COMMON_CLK) += clk-conf.o
|
|
|
|
endif
|
2013-01-18 22:00:05 +01:00
|
|
|
|
2014-01-27 22:04:49 +01:00
|
|
|
# hardware specific clock types
|
2016-06-16 02:09:25 +02:00
|
|
|
# please keep this section sorted lexicographically by file path name
|
2015-01-20 10:23:02 +01:00
|
|
|
obj-$(CONFIG_MACH_ASM9260) += clk-asm9260.o
|
2014-01-27 22:04:49 +01:00
|
|
|
obj-$(CONFIG_COMMON_CLK_AXI_CLKGEN) += clk-axi-clkgen.o
|
2014-05-15 15:42:25 +02:00
|
|
|
obj-$(CONFIG_ARCH_AXXIA) += clk-axm5516.o
|
2015-01-12 08:20:46 +01:00
|
|
|
obj-$(CONFIG_COMMON_CLK_CDCE706) += clk-cdce706.o
|
2016-06-16 02:09:25 +02:00
|
|
|
obj-$(CONFIG_COMMON_CLK_CDCE925) += clk-cdce925.o
|
2014-07-13 06:37:52 +02:00
|
|
|
obj-$(CONFIG_ARCH_CLPS711X) += clk-clps711x.o
|
2016-06-16 02:09:25 +02:00
|
|
|
obj-$(CONFIG_COMMON_CLK_CS2000_CP) += clk-cs2000-cp.o
|
2014-01-27 22:04:49 +01:00
|
|
|
obj-$(CONFIG_ARCH_EFM32) += clk-efm32gg.o
|
2017-06-21 09:59:52 +02:00
|
|
|
obj-$(CONFIG_COMMON_CLK_GEMINI) += clk-gemini.o
|
2014-01-27 22:04:49 +01:00
|
|
|
obj-$(CONFIG_ARCH_HIGHBANK) += clk-highbank.o
|
|
|
|
obj-$(CONFIG_COMMON_CLK_MAX77686) += clk-max77686.o
|
2015-03-04 12:04:03 +01:00
|
|
|
obj-$(CONFIG_ARCH_MB86S7X) += clk-mb86s7x.o
|
2014-01-28 12:09:11 +01:00
|
|
|
obj-$(CONFIG_ARCH_MOXART) += clk-moxart.o
|
2014-01-27 22:04:49 +01:00
|
|
|
obj-$(CONFIG_ARCH_NOMADIK) += clk-nomadik.o
|
|
|
|
obj-$(CONFIG_ARCH_NSPIRE) += clk-nspire.o
|
2016-04-18 12:01:35 +02:00
|
|
|
obj-$(CONFIG_COMMON_CLK_OXNAS) += clk-oxnas.o
|
2014-06-27 08:01:11 +02:00
|
|
|
obj-$(CONFIG_COMMON_CLK_PALMAS) += clk-palmas.o
|
2016-06-16 02:09:25 +02:00
|
|
|
obj-$(CONFIG_COMMON_CLK_PWM) += clk-pwm.o
|
2015-01-15 07:03:41 +01:00
|
|
|
obj-$(CONFIG_CLK_QORIQ) += clk-qoriq.o
|
2014-10-14 00:52:44 +02:00
|
|
|
obj-$(CONFIG_COMMON_CLK_RK808) += clk-rk808.o
|
2017-04-17 19:19:25 +02:00
|
|
|
obj-$(CONFIG_COMMON_CLK_HI655X) += clk-hi655x.o
|
2014-01-27 22:04:49 +01:00
|
|
|
obj-$(CONFIG_COMMON_CLK_S2MPS11) += clk-s2mps11.o
|
2015-03-30 11:59:52 +02:00
|
|
|
obj-$(CONFIG_COMMON_CLK_SCPI) += clk-scpi.o
|
2014-01-27 22:04:49 +01:00
|
|
|
obj-$(CONFIG_COMMON_CLK_SI5351) += clk-si5351.o
|
2015-10-02 09:15:29 +02:00
|
|
|
obj-$(CONFIG_COMMON_CLK_SI514) += clk-si514.o
|
2014-01-27 22:04:49 +01:00
|
|
|
obj-$(CONFIG_COMMON_CLK_SI570) += clk-si570.o
|
2015-06-10 22:09:37 +02:00
|
|
|
obj-$(CONFIG_ARCH_STM32) += clk-stm32f4.o
|
2016-01-29 15:07:22 +01:00
|
|
|
obj-$(CONFIG_ARCH_TANGO) += clk-tango4.o
|
2014-01-27 22:04:49 +01: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 02:03:24 +01:00
|
|
|
obj-$(CONFIG_COMMON_CLK_VC5) += clk-versaclock5.o
|
2014-01-27 22:04:49 +01:00
|
|
|
obj-$(CONFIG_COMMON_CLK_WM831X) += clk-wm831x.o
|
|
|
|
obj-$(CONFIG_COMMON_CLK_XGENE) += clk-xgene.o
|
2016-06-16 02:09:25 +02:00
|
|
|
|
|
|
|
# please keep this section sorted lexicographically by directory path name
|
2014-01-29 03:44:53 +01:00
|
|
|
obj-$(CONFIG_COMMON_CLK_AT91) += at91/
|
2016-04-04 11:23:23 +02:00
|
|
|
obj-$(CONFIG_ARCH_ARTPEC) += axis/
|
2016-06-16 02:09:25 +02:00
|
|
|
obj-$(CONFIG_ARC_PLAT_AXS10X) += axs10x/
|
2015-10-15 21:48:31 +02:00
|
|
|
obj-y += bcm/
|
2014-05-19 18:43:24 +02:00
|
|
|
obj-$(CONFIG_ARCH_BERLIN) += berlin/
|
2016-06-16 02:09:25 +02:00
|
|
|
obj-$(CONFIG_H8300) += h8300/
|
2015-05-29 04:08:38 +02:00
|
|
|
obj-$(CONFIG_ARCH_HISI) += hisilicon/
|
2015-04-26 15:54:29 +02:00
|
|
|
obj-$(CONFIG_ARCH_MXC) += imx/
|
2015-05-24 17:11:35 +02:00
|
|
|
obj-$(CONFIG_MACH_INGENIC) += ingenic/
|
2017-06-13 09:09:27 +02:00
|
|
|
obj-$(CONFIG_ARCH_KEYSTONE) += keystone/
|
2016-09-19 06:38:54 +02:00
|
|
|
obj-$(CONFIG_MACH_LOONGSON32) += loongson1/
|
2015-04-23 10:35:39 +02:00
|
|
|
obj-$(CONFIG_ARCH_MEDIATEK) += mediatek/
|
2016-06-16 02:09:25 +02:00
|
|
|
obj-$(CONFIG_COMMON_CLK_AMLOGIC) += meson/
|
2016-05-13 09:52:40 +02:00
|
|
|
obj-$(CONFIG_MACH_PIC32) += microchip/
|
2012-08-20 04:55:11 +02:00
|
|
|
ifeq ($(CONFIG_COMMON_CLK), y)
|
2014-01-27 22:04:49 +01:00
|
|
|
obj-$(CONFIG_ARCH_MMP) += mmp/
|
2012-08-20 04:55:11 +02:00
|
|
|
endif
|
2016-03-27 11:26:13 +02:00
|
|
|
obj-y += mvebu/
|
2014-01-27 22:04:49 +01:00
|
|
|
obj-$(CONFIG_ARCH_MXS) += mxs/
|
2015-12-06 11:45:56 +01:00
|
|
|
obj-$(CONFIG_COMMON_CLK_NXP) += nxp/
|
2016-06-16 02:09:25 +02:00
|
|
|
obj-$(CONFIG_MACH_PISTACHIO) += pistachio/
|
2014-10-01 23:39:29 +02:00
|
|
|
obj-$(CONFIG_COMMON_CLK_PXA) += pxa/
|
2014-01-27 22:04:49 +01: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 16:54:14 +02:00
|
|
|
obj-y += renesas/
|
2014-01-27 22:04:49 +01:00
|
|
|
obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/
|
2014-05-08 06:07:11 +02:00
|
|
|
obj-$(CONFIG_COMMON_CLK_SAMSUNG) += samsung/
|
2014-01-27 22:04:49 +01:00
|
|
|
obj-$(CONFIG_ARCH_SIRF) += sirf/
|
|
|
|
obj-$(CONFIG_ARCH_SOCFPGA) += socfpga/
|
|
|
|
obj-$(CONFIG_PLAT_SPEAR) += spear/
|
2014-02-27 16:24:14 +01:00
|
|
|
obj-$(CONFIG_ARCH_STI) += st/
|
2014-01-27 22:04:49 +01:00
|
|
|
obj-$(CONFIG_ARCH_SUNXI) += sunxi/
|
2016-06-29 21:05:23 +02:00
|
|
|
obj-$(CONFIG_ARCH_SUNXI) += sunxi-ng/
|
2014-01-27 22:04:49 +01:00
|
|
|
obj-$(CONFIG_ARCH_TEGRA) += tegra/
|
2016-02-26 18:45:03 +01:00
|
|
|
obj-y += ti/
|
2016-09-16 09:40:03 +02:00
|
|
|
obj-$(CONFIG_CLK_UNIPHIER) += uniphier/
|
2014-01-27 22:04:49 +01:00
|
|
|
obj-$(CONFIG_ARCH_U8500) += ux500/
|
|
|
|
obj-$(CONFIG_COMMON_CLK_VERSATILE) += versatile/
|
2017-01-23 19:07:41 +01:00
|
|
|
ifeq ($(CONFIG_COMMON_CLK), y)
|
2014-01-27 22:04:49 +01:00
|
|
|
obj-$(CONFIG_X86) += x86/
|
2017-01-23 19:07:41 +01:00
|
|
|
endif
|
2015-06-04 05:21:01 +02:00
|
|
|
obj-$(CONFIG_ARCH_ZX) += zte/
|
2014-01-27 22:04:49 +01:00
|
|
|
obj-$(CONFIG_ARCH_ZYNQ) += zynq/
|