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