xref: /openbmc/linux/drivers/clk/Makefile (revision bc000245)
1# common clock types
2obj-$(CONFIG_HAVE_CLK)		+= clk-devres.o
3obj-$(CONFIG_CLKDEV_LOOKUP)	+= clkdev.o
4obj-$(CONFIG_COMMON_CLK)	+= clk.o
5obj-$(CONFIG_COMMON_CLK)	+= clk-divider.o
6obj-$(CONFIG_COMMON_CLK)	+= clk-fixed-factor.o
7obj-$(CONFIG_COMMON_CLK)	+= clk-fixed-rate.o
8obj-$(CONFIG_COMMON_CLK)	+= clk-gate.o
9obj-$(CONFIG_COMMON_CLK)	+= clk-mux.o
10obj-$(CONFIG_COMMON_CLK)	+= clk-composite.o
11
12# SoCs specific
13obj-$(CONFIG_ARCH_BCM2835)	+= clk-bcm2835.o
14obj-$(CONFIG_ARCH_EFM32)	+= clk-efm32gg.o
15obj-$(CONFIG_ARCH_NOMADIK)	+= clk-nomadik.o
16obj-$(CONFIG_ARCH_HIGHBANK)	+= clk-highbank.o
17obj-$(CONFIG_ARCH_NSPIRE)	+= clk-nspire.o
18obj-$(CONFIG_ARCH_MXS)		+= mxs/
19obj-$(CONFIG_ARCH_SOCFPGA)	+= socfpga/
20obj-$(CONFIG_PLAT_SPEAR)	+= spear/
21obj-$(CONFIG_ARCH_U300)		+= clk-u300.o
22obj-$(CONFIG_COMMON_CLK_VERSATILE) += versatile/
23obj-$(CONFIG_ARCH_SIRF)		+= clk-prima2.o
24obj-$(CONFIG_PLAT_ORION)	+= mvebu/
25ifeq ($(CONFIG_COMMON_CLK), y)
26obj-$(CONFIG_ARCH_MMP)		+= mmp/
27endif
28obj-$(CONFIG_MACH_LOONGSON1)	+= clk-ls1x.o
29obj-$(CONFIG_ARCH_ROCKCHIP)	+= rockchip/
30obj-$(CONFIG_ARCH_SUNXI)	+= sunxi/
31obj-$(CONFIG_ARCH_U8500)	+= ux500/
32obj-$(CONFIG_ARCH_VT8500)	+= clk-vt8500.o
33obj-$(CONFIG_ARCH_ZYNQ)		+= zynq/
34obj-$(CONFIG_ARCH_TEGRA)	+= tegra/
35obj-$(CONFIG_PLAT_SAMSUNG)	+= samsung/
36obj-$(CONFIG_COMMON_CLK_XGENE)  += clk-xgene.o
37obj-$(CONFIG_COMMON_CLK_KEYSTONE)	+= keystone/
38
39obj-$(CONFIG_X86)		+= x86/
40
41# Chip specific
42obj-$(CONFIG_COMMON_CLK_AXI_CLKGEN) += clk-axi-clkgen.o
43obj-$(CONFIG_COMMON_CLK_WM831X) += clk-wm831x.o
44obj-$(CONFIG_COMMON_CLK_MAX77686) += clk-max77686.o
45obj-$(CONFIG_COMMON_CLK_SI5351) += clk-si5351.o
46obj-$(CONFIG_COMMON_CLK_S2MPS11) += clk-s2mps11.o
47obj-$(CONFIG_CLK_TWL6040)	+= clk-twl6040.o
48obj-$(CONFIG_CLK_PPC_CORENET)	+= clk-ppc-corenet.o
49