xref: /openbmc/linux/drivers/clk/Makefile (revision c0c74acb)
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-multiplier.o
10obj-$(CONFIG_COMMON_CLK)	+= clk-mux.o
11obj-$(CONFIG_COMMON_CLK)	+= clk-composite.o
12obj-$(CONFIG_COMMON_CLK)	+= clk-fractional-divider.o
13obj-$(CONFIG_COMMON_CLK)	+= clk-gpio.o
14ifeq ($(CONFIG_OF), y)
15obj-$(CONFIG_COMMON_CLK)	+= clk-conf.o
16endif
17
18# hardware specific clock types
19# please keep this section sorted lexicographically by file path name
20obj-$(CONFIG_MACH_ASM9260)		+= clk-asm9260.o
21obj-$(CONFIG_COMMON_CLK_AXI_CLKGEN)	+= clk-axi-clkgen.o
22obj-$(CONFIG_ARCH_AXXIA)		+= clk-axm5516.o
23obj-$(CONFIG_COMMON_CLK_CDCE706)	+= clk-cdce706.o
24obj-$(CONFIG_COMMON_CLK_CDCE925)	+= clk-cdce925.o
25obj-$(CONFIG_ARCH_CLPS711X)		+= clk-clps711x.o
26obj-$(CONFIG_COMMON_CLK_CS2000_CP)	+= clk-cs2000-cp.o
27obj-$(CONFIG_ARCH_EFM32)		+= clk-efm32gg.o
28obj-$(CONFIG_ARCH_HIGHBANK)		+= clk-highbank.o
29obj-$(CONFIG_COMMON_CLK_MAX77686)	+= clk-max77686.o
30obj-$(CONFIG_ARCH_MB86S7X)		+= clk-mb86s7x.o
31obj-$(CONFIG_ARCH_MOXART)		+= clk-moxart.o
32obj-$(CONFIG_ARCH_NOMADIK)		+= clk-nomadik.o
33obj-$(CONFIG_ARCH_NSPIRE)		+= clk-nspire.o
34obj-$(CONFIG_COMMON_CLK_OXNAS)		+= clk-oxnas.o
35obj-$(CONFIG_COMMON_CLK_PALMAS)		+= clk-palmas.o
36obj-$(CONFIG_COMMON_CLK_PWM)		+= clk-pwm.o
37obj-$(CONFIG_CLK_QORIQ)			+= clk-qoriq.o
38obj-$(CONFIG_COMMON_CLK_RK808)		+= clk-rk808.o
39obj-$(CONFIG_COMMON_CLK_S2MPS11)	+= clk-s2mps11.o
40obj-$(CONFIG_COMMON_CLK_SCPI)           += clk-scpi.o
41obj-$(CONFIG_COMMON_CLK_SI5351)		+= clk-si5351.o
42obj-$(CONFIG_COMMON_CLK_SI514)		+= clk-si514.o
43obj-$(CONFIG_COMMON_CLK_SI570)		+= clk-si570.o
44obj-$(CONFIG_ARCH_STM32)		+= clk-stm32f4.o
45obj-$(CONFIG_ARCH_TANGO)		+= clk-tango4.o
46obj-$(CONFIG_CLK_TWL6040)		+= clk-twl6040.o
47obj-$(CONFIG_ARCH_U300)			+= clk-u300.o
48obj-$(CONFIG_ARCH_VT8500)		+= clk-vt8500.o
49obj-$(CONFIG_COMMON_CLK_VC5)		+= clk-versaclock5.o
50obj-$(CONFIG_COMMON_CLK_WM831X)		+= clk-wm831x.o
51obj-$(CONFIG_COMMON_CLK_XGENE)		+= clk-xgene.o
52
53# please keep this section sorted lexicographically by directory path name
54obj-$(CONFIG_COMMON_CLK_AT91)		+= at91/
55obj-$(CONFIG_ARCH_ARTPEC)		+= axis/
56obj-$(CONFIG_ARC_PLAT_AXS10X)		+= axs10x/
57obj-y					+= bcm/
58obj-$(CONFIG_ARCH_BERLIN)		+= berlin/
59obj-$(CONFIG_H8300)			+= h8300/
60obj-$(CONFIG_ARCH_HISI)			+= hisilicon/
61obj-$(CONFIG_ARCH_MXC)			+= imx/
62obj-$(CONFIG_MACH_INGENIC)		+= ingenic/
63obj-$(CONFIG_COMMON_CLK_KEYSTONE)	+= keystone/
64obj-$(CONFIG_MACH_LOONGSON32)		+= loongson1/
65obj-$(CONFIG_ARCH_MEDIATEK)		+= mediatek/
66obj-$(CONFIG_COMMON_CLK_AMLOGIC)	+= meson/
67obj-$(CONFIG_MACH_PIC32)		+= microchip/
68ifeq ($(CONFIG_COMMON_CLK), y)
69obj-$(CONFIG_ARCH_MMP)			+= mmp/
70endif
71obj-y					+= mvebu/
72obj-$(CONFIG_ARCH_MXS)			+= mxs/
73obj-$(CONFIG_COMMON_CLK_NXP)		+= nxp/
74obj-$(CONFIG_MACH_PISTACHIO)		+= pistachio/
75obj-$(CONFIG_COMMON_CLK_PXA)		+= pxa/
76obj-$(CONFIG_COMMON_CLK_QCOM)		+= qcom/
77obj-$(CONFIG_ARCH_RENESAS)		+= renesas/
78obj-$(CONFIG_ARCH_ROCKCHIP)		+= rockchip/
79obj-$(CONFIG_COMMON_CLK_SAMSUNG)	+= samsung/
80obj-$(CONFIG_ARCH_SIRF)			+= sirf/
81obj-$(CONFIG_ARCH_SOCFPGA)		+= socfpga/
82obj-$(CONFIG_PLAT_SPEAR)		+= spear/
83obj-$(CONFIG_ARCH_STI)			+= st/
84obj-$(CONFIG_ARCH_SUNXI)		+= sunxi/
85obj-$(CONFIG_ARCH_SUNXI)		+= sunxi-ng/
86obj-$(CONFIG_ARCH_TEGRA)		+= tegra/
87obj-y					+= ti/
88obj-$(CONFIG_CLK_UNIPHIER)		+= uniphier/
89obj-$(CONFIG_ARCH_U8500)		+= ux500/
90obj-$(CONFIG_COMMON_CLK_VERSATILE)	+= versatile/
91ifeq ($(CONFIG_COMMON_CLK), y)
92obj-$(CONFIG_X86)			+= x86/
93endif
94obj-$(CONFIG_ARCH_ZX)			+= zte/
95obj-$(CONFIG_ARCH_ZYNQ)			+= zynq/
96