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