xref: /openbmc/linux/drivers/clk/Makefile (revision cbdf59ad)
1# SPDX-License-Identifier: GPL-2.0
2# common clock types
3obj-$(CONFIG_HAVE_CLK)		+= clk-devres.o clk-bulk.o
4obj-$(CONFIG_CLKDEV_LOOKUP)	+= clkdev.o
5obj-$(CONFIG_COMMON_CLK)	+= clk.o
6obj-$(CONFIG_COMMON_CLK)	+= clk-divider.o
7obj-$(CONFIG_COMMON_CLK)	+= clk-fixed-factor.o
8obj-$(CONFIG_COMMON_CLK)	+= clk-fixed-rate.o
9obj-$(CONFIG_COMMON_CLK)	+= clk-gate.o
10obj-$(CONFIG_COMMON_CLK)	+= clk-multiplier.o
11obj-$(CONFIG_COMMON_CLK)	+= clk-mux.o
12obj-$(CONFIG_COMMON_CLK)	+= clk-composite.o
13obj-$(CONFIG_COMMON_CLK)	+= clk-fractional-divider.o
14obj-$(CONFIG_COMMON_CLK)	+= clk-gpio.o
15ifeq ($(CONFIG_OF), y)
16obj-$(CONFIG_COMMON_CLK)	+= clk-conf.o
17endif
18
19# hardware specific clock types
20# please keep this section sorted lexicographically by file path name
21obj-$(CONFIG_MACH_ASM9260)		+= clk-asm9260.o
22obj-$(CONFIG_COMMON_CLK_AXI_CLKGEN)	+= clk-axi-clkgen.o
23obj-$(CONFIG_ARCH_AXXIA)		+= clk-axm5516.o
24obj-$(CONFIG_COMMON_CLK_BD718XX)	+= clk-bd718x7.o
25obj-$(CONFIG_COMMON_CLK_CDCE706)	+= clk-cdce706.o
26obj-$(CONFIG_COMMON_CLK_CDCE925)	+= clk-cdce925.o
27obj-$(CONFIG_ARCH_CLPS711X)		+= clk-clps711x.o
28obj-$(CONFIG_COMMON_CLK_CS2000_CP)	+= clk-cs2000-cp.o
29obj-$(CONFIG_ARCH_EFM32)		+= clk-efm32gg.o
30obj-$(CONFIG_COMMON_CLK_FIXED_MMIO)	+= clk-fixed-mmio.o
31obj-$(CONFIG_COMMON_CLK_GEMINI)		+= clk-gemini.o
32obj-$(CONFIG_COMMON_CLK_ASPEED)		+= clk-aspeed.o
33obj-$(CONFIG_ARCH_HIGHBANK)		+= clk-highbank.o
34obj-$(CONFIG_CLK_HSDK)			+= clk-hsdk-pll.o
35obj-$(CONFIG_COMMON_CLK_LOCHNAGAR)	+= clk-lochnagar.o
36obj-$(CONFIG_COMMON_CLK_MAX77686)	+= clk-max77686.o
37obj-$(CONFIG_COMMON_CLK_MAX9485)	+= clk-max9485.o
38obj-$(CONFIG_ARCH_MILBEAUT_M10V)	+= clk-milbeaut.o
39obj-$(CONFIG_ARCH_MOXART)		+= clk-moxart.o
40obj-$(CONFIG_ARCH_NOMADIK)		+= clk-nomadik.o
41obj-$(CONFIG_ARCH_NPCM7XX)	    	+= clk-npcm7xx.o
42obj-$(CONFIG_ARCH_NSPIRE)		+= clk-nspire.o
43obj-$(CONFIG_COMMON_CLK_OXNAS)		+= clk-oxnas.o
44obj-$(CONFIG_COMMON_CLK_PALMAS)		+= clk-palmas.o
45obj-$(CONFIG_COMMON_CLK_PWM)		+= clk-pwm.o
46obj-$(CONFIG_CLK_QORIQ)			+= clk-qoriq.o
47obj-$(CONFIG_COMMON_CLK_RK808)		+= clk-rk808.o
48obj-$(CONFIG_COMMON_CLK_HI655X)		+= clk-hi655x.o
49obj-$(CONFIG_COMMON_CLK_S2MPS11)	+= clk-s2mps11.o
50obj-$(CONFIG_COMMON_CLK_SCMI)           += clk-scmi.o
51obj-$(CONFIG_COMMON_CLK_SCPI)           += clk-scpi.o
52obj-$(CONFIG_COMMON_CLK_SI5341)		+= clk-si5341.o
53obj-$(CONFIG_COMMON_CLK_SI5351)		+= clk-si5351.o
54obj-$(CONFIG_COMMON_CLK_SI514)		+= clk-si514.o
55obj-$(CONFIG_COMMON_CLK_SI544)		+= clk-si544.o
56obj-$(CONFIG_COMMON_CLK_SI570)		+= clk-si570.o
57obj-$(CONFIG_COMMON_CLK_STM32F)		+= clk-stm32f4.o
58obj-$(CONFIG_COMMON_CLK_STM32H7)	+= clk-stm32h7.o
59obj-$(CONFIG_COMMON_CLK_STM32MP157)	+= clk-stm32mp1.o
60obj-$(CONFIG_ARCH_TANGO)		+= clk-tango4.o
61obj-$(CONFIG_CLK_TWL6040)		+= clk-twl6040.o
62obj-$(CONFIG_ARCH_U300)			+= clk-u300.o
63obj-$(CONFIG_ARCH_VT8500)		+= clk-vt8500.o
64obj-$(CONFIG_COMMON_CLK_VC5)		+= clk-versaclock5.o
65obj-$(CONFIG_COMMON_CLK_WM831X)		+= clk-wm831x.o
66obj-$(CONFIG_COMMON_CLK_XGENE)		+= clk-xgene.o
67
68# please keep this section sorted lexicographically by directory path name
69obj-y					+= actions/
70obj-y					+= analogbits/
71obj-$(CONFIG_COMMON_CLK_AT91)		+= at91/
72obj-$(CONFIG_ARCH_ARTPEC)		+= axis/
73obj-$(CONFIG_ARC_PLAT_AXS10X)		+= axs10x/
74obj-y					+= bcm/
75obj-$(CONFIG_ARCH_BERLIN)		+= berlin/
76obj-$(CONFIG_ARCH_DAVINCI)		+= davinci/
77obj-$(CONFIG_H8300)			+= h8300/
78obj-$(CONFIG_ARCH_HISI)			+= hisilicon/
79obj-y					+= imgtec/
80obj-y					+= imx/
81obj-y					+= ingenic/
82obj-$(CONFIG_ARCH_K3)			+= keystone/
83obj-$(CONFIG_ARCH_KEYSTONE)		+= keystone/
84obj-$(CONFIG_MACH_LOONGSON32)		+= loongson1/
85obj-y					+= mediatek/
86obj-$(CONFIG_ARCH_MESON)		+= meson/
87obj-$(CONFIG_MACH_PIC32)		+= microchip/
88ifeq ($(CONFIG_COMMON_CLK), y)
89obj-$(CONFIG_ARCH_MMP)			+= mmp/
90endif
91obj-y					+= mvebu/
92obj-$(CONFIG_ARCH_MXS)			+= mxs/
93obj-$(CONFIG_COMMON_CLK_NXP)		+= nxp/
94obj-$(CONFIG_MACH_PISTACHIO)		+= pistachio/
95obj-$(CONFIG_COMMON_CLK_PXA)		+= pxa/
96obj-$(CONFIG_COMMON_CLK_QCOM)		+= qcom/
97obj-y					+= renesas/
98obj-$(CONFIG_ARCH_ROCKCHIP)		+= rockchip/
99obj-$(CONFIG_COMMON_CLK_SAMSUNG)	+= samsung/
100obj-$(CONFIG_CLK_SIFIVE)		+= sifive/
101obj-$(CONFIG_ARCH_SIRF)			+= sirf/
102obj-$(CONFIG_ARCH_SOCFPGA)		+= socfpga/
103obj-$(CONFIG_PLAT_SPEAR)		+= spear/
104obj-$(CONFIG_ARCH_SPRD)			+= sprd/
105obj-$(CONFIG_ARCH_STI)			+= st/
106obj-$(CONFIG_ARCH_STRATIX10)		+= socfpga/
107obj-$(CONFIG_ARCH_SUNXI)		+= sunxi/
108obj-$(CONFIG_SUNXI_CCU)			+= sunxi-ng/
109obj-$(CONFIG_ARCH_TEGRA)		+= tegra/
110obj-y					+= ti/
111obj-$(CONFIG_CLK_UNIPHIER)		+= uniphier/
112obj-$(CONFIG_ARCH_U8500)		+= ux500/
113obj-$(CONFIG_COMMON_CLK_VERSATILE)	+= versatile/
114ifeq ($(CONFIG_COMMON_CLK), y)
115obj-$(CONFIG_X86)			+= x86/
116endif
117obj-$(CONFIG_ARCH_ZX)			+= zte/
118obj-$(CONFIG_ARCH_ZYNQ)			+= zynq/
119obj-$(CONFIG_COMMON_CLK_ZYNQMP)         += zynqmp/
120