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