1 # SPDX-License-Identifier: GPL-2.0
3 obj-$(CONFIG_HAVE_CLK) += clk-devres.o clk-bulk.o clkdev.o
4 obj-$(CONFIG_COMMON_CLK) += clk.o
5 obj-$(CONFIG_CLK_KUNIT_TEST) += clk_test.o
6 obj-$(CONFIG_COMMON_CLK) += clk-divider.o
7 obj-$(CONFIG_COMMON_CLK) += clk-fixed-factor.o
8 obj-$(CONFIG_COMMON_CLK) += clk-fixed-rate.o
9 obj-$(CONFIG_COMMON_CLK) += clk-gate.o
10 obj-$(CONFIG_CLK_GATE_KUNIT_TEST) += clk-gate_test.o
11 obj-$(CONFIG_COMMON_CLK) += clk-multiplier.o
12 obj-$(CONFIG_COMMON_CLK) += clk-mux.o
13 obj-$(CONFIG_COMMON_CLK) += clk-composite.o
14 obj-$(CONFIG_COMMON_CLK) += clk-fractional-divider.o
15 obj-$(CONFIG_COMMON_CLK) += clk-gpio.o
16 ifeq ($(CONFIG_OF), y)
17 obj-$(CONFIG_COMMON_CLK) += clk-conf.o
20 # hardware specific clock types
21 # please keep this section sorted lexicographically by file path name
22 obj-$(CONFIG_COMMON_CLK_APPLE_NCO) += clk-apple-nco.o
23 obj-$(CONFIG_MACH_ASM9260) += clk-asm9260.o
24 obj-$(CONFIG_COMMON_CLK_AXI_CLKGEN) += clk-axi-clkgen.o
25 obj-$(CONFIG_ARCH_AXXIA) += clk-axm5516.o
26 obj-$(CONFIG_COMMON_CLK_BD718XX) += clk-bd718x7.o
27 obj-$(CONFIG_COMMON_CLK_BM1880) += clk-bm1880.o
28 obj-$(CONFIG_COMMON_CLK_CDCE706) += clk-cdce706.o
29 obj-$(CONFIG_COMMON_CLK_CDCE925) += clk-cdce925.o
30 obj-$(CONFIG_ARCH_CLPS711X) += clk-clps711x.o
31 obj-$(CONFIG_COMMON_CLK_CS2000_CP) += clk-cs2000-cp.o
32 obj-$(CONFIG_ARCH_SPARX5) += clk-sparx5.o
33 obj-$(CONFIG_COMMON_CLK_FIXED_MMIO) += clk-fixed-mmio.o
34 obj-$(CONFIG_COMMON_CLK_FSL_FLEXSPI) += clk-fsl-flexspi.o
35 obj-$(CONFIG_COMMON_CLK_FSL_SAI) += clk-fsl-sai.o
36 obj-$(CONFIG_COMMON_CLK_GEMINI) += clk-gemini.o
37 obj-$(CONFIG_COMMON_CLK_ASPEED) += clk-aspeed.o
38 obj-$(CONFIG_MACH_ASPEED_G6) += clk-ast2600.o
39 obj-$(CONFIG_ARCH_HIGHBANK) += clk-highbank.o
40 obj-$(CONFIG_CLK_HSDK) += clk-hsdk-pll.o
41 obj-$(CONFIG_COMMON_CLK_K210) += clk-k210.o
42 obj-$(CONFIG_LMK04832) += clk-lmk04832.o
43 obj-$(CONFIG_COMMON_CLK_LAN966X) += clk-lan966x.o
44 obj-$(CONFIG_COMMON_CLK_LOCHNAGAR) += clk-lochnagar.o
45 obj-$(CONFIG_COMMON_CLK_MAX77686) += clk-max77686.o
46 obj-$(CONFIG_COMMON_CLK_MAX9485) += clk-max9485.o
47 obj-$(CONFIG_ARCH_MILBEAUT_M10V) += clk-milbeaut.o
48 obj-$(CONFIG_ARCH_MOXART) += clk-moxart.o
49 obj-$(CONFIG_ARCH_NOMADIK) += clk-nomadik.o
50 obj-$(CONFIG_ARCH_NPCM7XX) += clk-npcm7xx.o
51 obj-$(CONFIG_ARCH_NSPIRE) += clk-nspire.o
52 obj-$(CONFIG_COMMON_CLK_OXNAS) += clk-oxnas.o
53 obj-$(CONFIG_COMMON_CLK_PALMAS) += clk-palmas.o
54 obj-$(CONFIG_CLK_LS1028A_PLLDIG) += clk-plldig.o
55 obj-$(CONFIG_COMMON_CLK_PWM) += clk-pwm.o
56 obj-$(CONFIG_CLK_QORIQ) += clk-qoriq.o
57 obj-$(CONFIG_COMMON_CLK_RK808) += clk-rk808.o
58 obj-$(CONFIG_COMMON_CLK_HI655X) += clk-hi655x.o
59 obj-$(CONFIG_COMMON_CLK_S2MPS11) += clk-s2mps11.o
60 obj-$(CONFIG_COMMON_CLK_SCMI) += clk-scmi.o
61 obj-$(CONFIG_COMMON_CLK_SCPI) += clk-scpi.o
62 obj-$(CONFIG_COMMON_CLK_SI5341) += clk-si5341.o
63 obj-$(CONFIG_COMMON_CLK_SI5351) += clk-si5351.o
64 obj-$(CONFIG_COMMON_CLK_SI514) += clk-si514.o
65 obj-$(CONFIG_COMMON_CLK_SI544) += clk-si544.o
66 obj-$(CONFIG_COMMON_CLK_SI570) += clk-si570.o
67 obj-$(CONFIG_COMMON_CLK_STM32F) += clk-stm32f4.o
68 obj-$(CONFIG_COMMON_CLK_STM32H7) += clk-stm32h7.o
69 obj-$(CONFIG_COMMON_CLK_STM32MP157) += clk-stm32mp1.o
70 obj-$(CONFIG_COMMON_CLK_TPS68470) += clk-tps68470.o
71 obj-$(CONFIG_CLK_TWL6040) += clk-twl6040.o
72 obj-$(CONFIG_ARCH_VT8500) += clk-vt8500.o
73 obj-$(CONFIG_COMMON_CLK_RS9_PCIE) += clk-renesas-pcie.o
74 obj-$(CONFIG_COMMON_CLK_VC5) += clk-versaclock5.o
75 obj-$(CONFIG_COMMON_CLK_WM831X) += clk-wm831x.o
76 obj-$(CONFIG_COMMON_CLK_XGENE) += clk-xgene.o
78 # please keep this section sorted lexicographically by directory path name
81 obj-$(CONFIG_COMMON_CLK_AT91) += at91/
82 obj-$(CONFIG_ARCH_ARTPEC) += axis/
83 obj-$(CONFIG_ARC_PLAT_AXS10X) += axs10x/
84 obj-$(CONFIG_CLK_BAIKAL_T1) += baikal-t1/
86 obj-$(CONFIG_ARCH_BERLIN) += berlin/
87 obj-$(CONFIG_ARCH_DAVINCI) += davinci/
88 obj-$(CONFIG_H8300) += h8300/
89 obj-$(CONFIG_ARCH_HISI) += hisilicon/
93 obj-$(CONFIG_ARCH_K3) += keystone/
94 obj-$(CONFIG_ARCH_KEYSTONE) += keystone/
95 obj-$(CONFIG_MACH_LOONGSON32) += loongson1/
97 obj-$(CONFIG_ARCH_MESON) += meson/
99 ifeq ($(CONFIG_COMMON_CLK), y)
100 obj-$(CONFIG_ARCH_MMP) += mmp/
104 obj-$(CONFIG_ARCH_MXS) += mxs/
105 obj-$(CONFIG_COMMON_CLK_NXP) += nxp/
106 obj-$(CONFIG_COMMON_CLK_PISTACHIO) += pistachio/
107 obj-$(CONFIG_COMMON_CLK_PXA) += pxa/
108 obj-$(CONFIG_COMMON_CLK_QCOM) += qcom/
111 obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/
112 obj-$(CONFIG_COMMON_CLK_SAMSUNG) += samsung/
113 obj-$(CONFIG_CLK_SIFIVE) += sifive/
115 obj-$(CONFIG_PLAT_SPEAR) += spear/
117 obj-$(CONFIG_ARCH_STI) += st/
118 obj-$(CONFIG_SOC_STARFIVE) += starfive/
119 obj-$(CONFIG_ARCH_SUNXI) += sunxi/
121 obj-$(CONFIG_ARCH_TEGRA) += tegra/
123 obj-$(CONFIG_CLK_UNIPHIER) += uniphier/
124 obj-$(CONFIG_ARCH_U8500) += ux500/
126 obj-$(CONFIG_COMMON_CLK_VISCONTI) += visconti/
127 ifeq ($(CONFIG_COMMON_CLK), y)
128 obj-$(CONFIG_X86) += x86/
131 obj-$(CONFIG_ARCH_ZYNQ) += zynq/
132 obj-$(CONFIG_COMMON_CLK_ZYNQMP) += zynqmp/