xref: /openbmc/linux/drivers/clk/Makefile (revision c4c3c32d)
1# SPDX-License-Identifier: GPL-2.0
2# common clock types
3obj-$(CONFIG_HAVE_CLK)		+= clk-devres.o clk-bulk.o clkdev.o
4obj-$(CONFIG_COMMON_CLK)	+= clk.o
5obj-$(CONFIG_CLK_KUNIT_TEST)	+= clk_test.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_CLK_GATE_KUNIT_TEST) += clk-gate_test.o
11obj-$(CONFIG_COMMON_CLK)	+= clk-multiplier.o
12obj-$(CONFIG_COMMON_CLK)	+= clk-mux.o
13obj-$(CONFIG_COMMON_CLK)	+= clk-composite.o
14obj-$(CONFIG_COMMON_CLK)	+= clk-fractional-divider.o
15obj-$(CONFIG_COMMON_CLK)	+= clk-gpio.o
16ifeq ($(CONFIG_OF), y)
17obj-$(CONFIG_COMMON_CLK)	+= clk-conf.o
18endif
19
20# hardware specific clock types
21# please keep this section sorted lexicographically by file path name
22obj-$(CONFIG_COMMON_CLK_APPLE_NCO)  	+= clk-apple-nco.o
23obj-$(CONFIG_MACH_ASM9260)		+= clk-asm9260.o
24obj-$(CONFIG_COMMON_CLK_AXI_CLKGEN)	+= clk-axi-clkgen.o
25obj-$(CONFIG_ARCH_AXXIA)		+= clk-axm5516.o
26obj-$(CONFIG_COMMON_CLK_BD718XX)	+= clk-bd718x7.o
27obj-$(CONFIG_COMMON_CLK_BM1880)		+= clk-bm1880.o
28obj-$(CONFIG_COMMON_CLK_CDCE706)	+= clk-cdce706.o
29obj-$(CONFIG_COMMON_CLK_CDCE925)	+= clk-cdce925.o
30obj-$(CONFIG_ARCH_CLPS711X)		+= clk-clps711x.o
31obj-$(CONFIG_COMMON_CLK_CS2000_CP)	+= clk-cs2000-cp.o
32obj-$(CONFIG_ARCH_SPARX5)		+= clk-sparx5.o
33obj-$(CONFIG_COMMON_CLK_EN7523)		+= clk-en7523.o
34obj-$(CONFIG_COMMON_CLK_FIXED_MMIO)	+= clk-fixed-mmio.o
35obj-$(CONFIG_COMMON_CLK_FSL_FLEXSPI)	+= clk-fsl-flexspi.o
36obj-$(CONFIG_COMMON_CLK_FSL_SAI)	+= clk-fsl-sai.o
37obj-$(CONFIG_COMMON_CLK_GEMINI)		+= clk-gemini.o
38obj-$(CONFIG_COMMON_CLK_ASPEED)		+= clk-aspeed.o
39obj-$(CONFIG_MACH_ASPEED_G6)		+= clk-ast2600.o
40obj-$(CONFIG_ARCH_HIGHBANK)		+= clk-highbank.o
41obj-$(CONFIG_CLK_HSDK)			+= clk-hsdk-pll.o
42obj-$(CONFIG_COMMON_CLK_K210)		+= clk-k210.o
43obj-$(CONFIG_LMK04832)			+= clk-lmk04832.o
44obj-$(CONFIG_COMMON_CLK_LAN966X)	+= clk-lan966x.o
45obj-$(CONFIG_COMMON_CLK_LOCHNAGAR)	+= clk-lochnagar.o
46obj-$(CONFIG_MACH_LOONGSON32)		+= clk-loongson1.o
47obj-$(CONFIG_COMMON_CLK_LOONGSON2)	+= clk-loongson2.o
48obj-$(CONFIG_COMMON_CLK_MAX77686)	+= clk-max77686.o
49obj-$(CONFIG_COMMON_CLK_MAX9485)	+= clk-max9485.o
50obj-$(CONFIG_ARCH_MILBEAUT_M10V)	+= clk-milbeaut.o
51obj-$(CONFIG_ARCH_MOXART)		+= clk-moxart.o
52obj-$(CONFIG_ARCH_NOMADIK)		+= clk-nomadik.o
53obj-$(CONFIG_ARCH_NPCM7XX)	    	+= clk-npcm7xx.o
54obj-$(CONFIG_ARCH_NSPIRE)		+= clk-nspire.o
55obj-$(CONFIG_COMMON_CLK_OXNAS)		+= clk-oxnas.o
56obj-$(CONFIG_COMMON_CLK_PALMAS)		+= clk-palmas.o
57obj-$(CONFIG_CLK_LS1028A_PLLDIG)	+= clk-plldig.o
58obj-$(CONFIG_COMMON_CLK_PWM)		+= clk-pwm.o
59obj-$(CONFIG_CLK_QORIQ)			+= clk-qoriq.o
60obj-$(CONFIG_COMMON_CLK_RK808)		+= clk-rk808.o
61obj-$(CONFIG_COMMON_CLK_HI655X)		+= clk-hi655x.o
62obj-$(CONFIG_COMMON_CLK_S2MPS11)	+= clk-s2mps11.o
63obj-$(CONFIG_COMMON_CLK_SCMI)           += clk-scmi.o
64obj-$(CONFIG_COMMON_CLK_SCPI)           += clk-scpi.o
65obj-$(CONFIG_COMMON_CLK_SI5341)		+= clk-si5341.o
66obj-$(CONFIG_COMMON_CLK_SI5351)		+= clk-si5351.o
67obj-$(CONFIG_COMMON_CLK_SI514)		+= clk-si514.o
68obj-$(CONFIG_COMMON_CLK_SI544)		+= clk-si544.o
69obj-$(CONFIG_COMMON_CLK_SI570)		+= clk-si570.o
70obj-$(CONFIG_COMMON_CLK_SP7021)		+= clk-sp7021.o
71obj-$(CONFIG_COMMON_CLK_STM32F)		+= clk-stm32f4.o
72obj-$(CONFIG_COMMON_CLK_STM32H7)	+= clk-stm32h7.o
73obj-$(CONFIG_COMMON_CLK_STM32MP157)	+= clk-stm32mp1.o
74obj-$(CONFIG_COMMON_CLK_TPS68470)      += clk-tps68470.o
75obj-$(CONFIG_CLK_TWL6040)		+= clk-twl6040.o
76obj-$(CONFIG_ARCH_VT8500)		+= clk-vt8500.o
77obj-$(CONFIG_COMMON_CLK_RS9_PCIE)	+= clk-renesas-pcie.o
78obj-$(CONFIG_COMMON_CLK_SI521XX)	+= clk-si521xx.o
79obj-$(CONFIG_COMMON_CLK_VC5)		+= clk-versaclock5.o
80obj-$(CONFIG_COMMON_CLK_VC7)		+= clk-versaclock7.o
81obj-$(CONFIG_COMMON_CLK_WM831X)		+= clk-wm831x.o
82obj-$(CONFIG_COMMON_CLK_XGENE)		+= clk-xgene.o
83
84# please keep this section sorted lexicographically by directory path name
85obj-y					+= actions/
86obj-y					+= analogbits/
87obj-$(CONFIG_COMMON_CLK_AT91)		+= at91/
88obj-$(CONFIG_ARCH_ARTPEC)		+= axis/
89obj-$(CONFIG_ARC_PLAT_AXS10X)		+= axs10x/
90obj-$(CONFIG_CLK_BAIKAL_T1)		+= baikal-t1/
91obj-y					+= bcm/
92obj-$(CONFIG_ARCH_BERLIN)		+= berlin/
93obj-$(CONFIG_ARCH_DAVINCI)		+= davinci/
94obj-$(CONFIG_ARCH_HISI)			+= hisilicon/
95obj-y					+= imgtec/
96obj-y					+= imx/
97obj-y					+= ingenic/
98obj-$(CONFIG_ARCH_K3)			+= keystone/
99obj-$(CONFIG_ARCH_KEYSTONE)		+= keystone/
100obj-y					+= mediatek/
101obj-$(CONFIG_ARCH_MESON)		+= meson/
102obj-y					+= microchip/
103ifeq ($(CONFIG_COMMON_CLK), y)
104obj-$(CONFIG_ARCH_MMP)			+= mmp/
105endif
106obj-y					+= mstar/
107obj-y					+= mvebu/
108obj-$(CONFIG_ARCH_MXS)			+= mxs/
109obj-$(CONFIG_ARCH_MA35)			+= nuvoton/
110obj-$(CONFIG_COMMON_CLK_NXP)		+= nxp/
111obj-$(CONFIG_COMMON_CLK_PISTACHIO)	+= pistachio/
112obj-$(CONFIG_COMMON_CLK_PXA)		+= pxa/
113obj-$(CONFIG_COMMON_CLK_QCOM)		+= qcom/
114obj-y					+= ralink/
115obj-y					+= renesas/
116obj-$(CONFIG_ARCH_ROCKCHIP)		+= rockchip/
117obj-$(CONFIG_COMMON_CLK_SAMSUNG)	+= samsung/
118obj-$(CONFIG_CLK_SIFIVE)		+= sifive/
119obj-y					+= socfpga/
120obj-$(CONFIG_PLAT_SPEAR)		+= spear/
121obj-y					+= sprd/
122obj-$(CONFIG_ARCH_STI)			+= st/
123obj-$(CONFIG_ARCH_STM32)		+= stm32/
124obj-y					+= starfive/
125obj-$(CONFIG_ARCH_SUNXI)		+= sunxi/
126obj-y					+= sunxi-ng/
127obj-$(CONFIG_ARCH_TEGRA)		+= tegra/
128obj-y					+= ti/
129obj-$(CONFIG_CLK_UNIPHIER)		+= uniphier/
130obj-$(CONFIG_ARCH_U8500)		+= ux500/
131obj-y					+= versatile/
132obj-$(CONFIG_COMMON_CLK_VISCONTI)	+= visconti/
133ifeq ($(CONFIG_COMMON_CLK), y)
134obj-$(CONFIG_X86)			+= x86/
135endif
136obj-y					+= xilinx/
137obj-$(CONFIG_ARCH_ZYNQ)			+= zynq/
138obj-$(CONFIG_COMMON_CLK_ZYNQMP)         += zynqmp/
139