xref: /openbmc/linux/drivers/clk/Makefile (revision c819e2cf)
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
11obj-$(CONFIG_COMMON_CLK)	+= clk-fractional-divider.o
12obj-$(CONFIG_COMMON_CLK)	+= clk-gpio-gate.o
13ifeq ($(CONFIG_OF), y)
14obj-$(CONFIG_COMMON_CLK)	+= clk-conf.o
15endif
16
17# hardware specific clock types
18# please keep this section sorted lexicographically by file/directory path name
19obj-$(CONFIG_COMMON_CLK_AXI_CLKGEN)	+= clk-axi-clkgen.o
20obj-$(CONFIG_ARCH_AXXIA)		+= clk-axm5516.o
21obj-$(CONFIG_ARCH_BCM2835)		+= clk-bcm2835.o
22obj-$(CONFIG_ARCH_CLPS711X)		+= clk-clps711x.o
23obj-$(CONFIG_ARCH_EFM32)		+= clk-efm32gg.o
24obj-$(CONFIG_ARCH_HIGHBANK)		+= clk-highbank.o
25obj-$(CONFIG_MACH_LOONGSON1)		+= clk-ls1x.o
26obj-$(CONFIG_COMMON_CLK_MAX_GEN)	+= clk-max-gen.o
27obj-$(CONFIG_COMMON_CLK_MAX77686)	+= clk-max77686.o
28obj-$(CONFIG_COMMON_CLK_MAX77802)	+= clk-max77802.o
29obj-$(CONFIG_ARCH_MOXART)		+= clk-moxart.o
30obj-$(CONFIG_ARCH_NOMADIK)		+= clk-nomadik.o
31obj-$(CONFIG_ARCH_NSPIRE)		+= clk-nspire.o
32obj-$(CONFIG_COMMON_CLK_PALMAS)		+= clk-palmas.o
33obj-$(CONFIG_CLK_PPC_CORENET)		+= clk-ppc-corenet.o
34obj-$(CONFIG_COMMON_CLK_RK808)		+= clk-rk808.o
35obj-$(CONFIG_COMMON_CLK_S2MPS11)	+= clk-s2mps11.o
36obj-$(CONFIG_COMMON_CLK_SI5351)		+= clk-si5351.o
37obj-$(CONFIG_COMMON_CLK_SI570)		+= clk-si570.o
38obj-$(CONFIG_CLK_TWL6040)		+= clk-twl6040.o
39obj-$(CONFIG_ARCH_U300)			+= clk-u300.o
40obj-$(CONFIG_ARCH_VT8500)		+= clk-vt8500.o
41obj-$(CONFIG_COMMON_CLK_WM831X)		+= clk-wm831x.o
42obj-$(CONFIG_COMMON_CLK_XGENE)		+= clk-xgene.o
43obj-$(CONFIG_COMMON_CLK_AT91)		+= at91/
44obj-$(CONFIG_ARCH_BCM_MOBILE)		+= bcm/
45obj-$(CONFIG_ARCH_BERLIN)		+= berlin/
46obj-$(CONFIG_ARCH_HI3xxx)		+= hisilicon/
47obj-$(CONFIG_ARCH_HIP04)		+= hisilicon/
48obj-$(CONFIG_ARCH_HIX5HD2)		+= hisilicon/
49obj-$(CONFIG_COMMON_CLK_KEYSTONE)	+= keystone/
50ifeq ($(CONFIG_COMMON_CLK), y)
51obj-$(CONFIG_ARCH_MMP)			+= mmp/
52endif
53obj-$(CONFIG_PLAT_ORION)		+= mvebu/
54obj-$(CONFIG_ARCH_MXS)			+= mxs/
55obj-$(CONFIG_COMMON_CLK_PXA)		+= pxa/
56obj-$(CONFIG_COMMON_CLK_QCOM)		+= qcom/
57obj-$(CONFIG_ARCH_ROCKCHIP)		+= rockchip/
58obj-$(CONFIG_COMMON_CLK_SAMSUNG)	+= samsung/
59obj-$(CONFIG_ARCH_SHMOBILE_MULTI)	+= shmobile/
60obj-$(CONFIG_ARCH_SIRF)			+= sirf/
61obj-$(CONFIG_ARCH_SOCFPGA)		+= socfpga/
62obj-$(CONFIG_PLAT_SPEAR)		+= spear/
63obj-$(CONFIG_ARCH_STI)			+= st/
64obj-$(CONFIG_ARCH_SUNXI)		+= sunxi/
65obj-$(CONFIG_ARCH_TEGRA)		+= tegra/
66obj-$(CONFIG_ARCH_OMAP2PLUS)		+= ti/
67obj-$(CONFIG_ARCH_U8500)		+= ux500/
68obj-$(CONFIG_COMMON_CLK_VERSATILE)	+= versatile/
69obj-$(CONFIG_X86)			+= x86/
70obj-$(CONFIG_ARCH_ZYNQ)			+= zynq/
71