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