Makefile 4.0 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2
# common clock types
D
Dong Aisheng 已提交
3
obj-$(CONFIG_HAVE_CLK)		+= clk-devres.o clk-bulk.o
4
obj-$(CONFIG_CLKDEV_LOOKUP)	+= clkdev.o
M
Mike Turquette 已提交
5 6 7 8 9
obj-$(CONFIG_COMMON_CLK)	+= clk.o
obj-$(CONFIG_COMMON_CLK)	+= clk-divider.o
obj-$(CONFIG_COMMON_CLK)	+= clk-fixed-factor.o
obj-$(CONFIG_COMMON_CLK)	+= clk-fixed-rate.o
obj-$(CONFIG_COMMON_CLK)	+= clk-gate.o
M
Maxime Ripard 已提交
10
obj-$(CONFIG_COMMON_CLK)	+= clk-multiplier.o
M
Mike Turquette 已提交
11
obj-$(CONFIG_COMMON_CLK)	+= clk-mux.o
P
Prashant Gaikwad 已提交
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 16 17
ifeq ($(CONFIG_OF), y)
obj-$(CONFIG_COMMON_CLK)	+= clk-conf.o
endif
M
Mike Turquette 已提交
18

M
Mike Turquette 已提交
19
# hardware specific clock types
20
# please keep this section sorted lexicographically by file path name
21
obj-$(CONFIG_MACH_ASM9260)		+= clk-asm9260.o
M
Mike Turquette 已提交
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
A
Alexander Shiyan 已提交
26
obj-$(CONFIG_ARCH_CLPS711X)		+= clk-clps711x.o
27
obj-$(CONFIG_COMMON_CLK_CS2000_CP)	+= clk-cs2000-cp.o
M
Mike Turquette 已提交
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
M
Mike Turquette 已提交
31
obj-$(CONFIG_ARCH_HIGHBANK)		+= clk-highbank.o
32
obj-$(CONFIG_CLK_HSDK)			+= clk-hsdk-pll.o
M
Mike Turquette 已提交
33
obj-$(CONFIG_COMMON_CLK_MAX77686)	+= clk-max77686.o
34
obj-$(CONFIG_ARCH_MOXART)		+= clk-moxart.o
M
Mike Turquette 已提交
35 36
obj-$(CONFIG_ARCH_NOMADIK)		+= clk-nomadik.o
obj-$(CONFIG_ARCH_NSPIRE)		+= clk-nspire.o
37
obj-$(CONFIG_COMMON_CLK_OXNAS)		+= clk-oxnas.o
38
obj-$(CONFIG_COMMON_CLK_PALMAS)		+= clk-palmas.o
39
obj-$(CONFIG_COMMON_CLK_PWM)		+= clk-pwm.o
40
obj-$(CONFIG_CLK_QORIQ)			+= clk-qoriq.o
41
obj-$(CONFIG_COMMON_CLK_RK808)		+= clk-rk808.o
42
obj-$(CONFIG_COMMON_CLK_HI655X)		+= clk-hi655x.o
M
Mike Turquette 已提交
43
obj-$(CONFIG_COMMON_CLK_S2MPS11)	+= clk-s2mps11.o
44
obj-$(CONFIG_COMMON_CLK_SCPI)           += clk-scpi.o
M
Mike Turquette 已提交
45
obj-$(CONFIG_COMMON_CLK_SI5351)		+= clk-si5351.o
46
obj-$(CONFIG_COMMON_CLK_SI514)		+= clk-si514.o
M
Mike Turquette 已提交
47
obj-$(CONFIG_COMMON_CLK_SI570)		+= clk-si570.o
48
obj-$(CONFIG_ARCH_STM32)		+= clk-stm32f4.o
49
obj-$(CONFIG_ARCH_STM32)		+= clk-stm32h7.o
50
obj-$(CONFIG_COMMON_CLK_STM32MP157)	+= clk-stm32mp1.o
51
obj-$(CONFIG_ARCH_TANGO)		+= clk-tango4.o
M
Mike Turquette 已提交
52 53 54
obj-$(CONFIG_CLK_TWL6040)		+= clk-twl6040.o
obj-$(CONFIG_ARCH_U300)			+= clk-u300.o
obj-$(CONFIG_ARCH_VT8500)		+= clk-vt8500.o
55
obj-$(CONFIG_COMMON_CLK_VC5)		+= clk-versaclock5.o
M
Mike Turquette 已提交
56 57
obj-$(CONFIG_COMMON_CLK_WM831X)		+= clk-wm831x.o
obj-$(CONFIG_COMMON_CLK_XGENE)		+= clk-xgene.o
58 59

# please keep this section sorted lexicographically by directory path name
60
obj-$(CONFIG_COMMON_CLK_AT91)		+= at91/
61
obj-$(CONFIG_ARCH_ARTPEC)		+= axis/
62
obj-$(CONFIG_ARC_PLAT_AXS10X)		+= axs10x/
63
obj-y					+= bcm/
64
obj-$(CONFIG_ARCH_BERLIN)		+= berlin/
65
obj-$(CONFIG_H8300)			+= h8300/
66
obj-$(CONFIG_ARCH_HISI)			+= hisilicon/
67
obj-y					+= imgtec/
68
obj-$(CONFIG_ARCH_MXC)			+= imx/
69
obj-$(CONFIG_MACH_INGENIC)		+= ingenic/
70
obj-$(CONFIG_ARCH_KEYSTONE)		+= keystone/
71
obj-$(CONFIG_MACH_LOONGSON32)		+= loongson1/
72
obj-y					+= mediatek/
73
obj-$(CONFIG_COMMON_CLK_AMLOGIC)	+= meson/
74
obj-$(CONFIG_MACH_PIC32)		+= microchip/
C
Chao Xie 已提交
75
ifeq ($(CONFIG_COMMON_CLK), y)
M
Mike Turquette 已提交
76
obj-$(CONFIG_ARCH_MMP)			+= mmp/
C
Chao Xie 已提交
77
endif
78
obj-y					+= mvebu/
M
Mike Turquette 已提交
79
obj-$(CONFIG_ARCH_MXS)			+= mxs/
80
obj-$(CONFIG_COMMON_CLK_NXP)		+= nxp/
81
obj-$(CONFIG_MACH_PISTACHIO)		+= pistachio/
R
Robert Jarzmik 已提交
82
obj-$(CONFIG_COMMON_CLK_PXA)		+= pxa/
M
Mike Turquette 已提交
83
obj-$(CONFIG_COMMON_CLK_QCOM)		+= qcom/
84
obj-y					+= renesas/
M
Mike Turquette 已提交
85
obj-$(CONFIG_ARCH_ROCKCHIP)		+= rockchip/
86
obj-$(CONFIG_COMMON_CLK_SAMSUNG)	+= samsung/
M
Mike Turquette 已提交
87 88 89
obj-$(CONFIG_ARCH_SIRF)			+= sirf/
obj-$(CONFIG_ARCH_SOCFPGA)		+= socfpga/
obj-$(CONFIG_PLAT_SPEAR)		+= spear/
90
obj-$(CONFIG_ARCH_SPRD)			+= sprd/
91
obj-$(CONFIG_ARCH_STI)			+= st/
M
Mike Turquette 已提交
92
obj-$(CONFIG_ARCH_SUNXI)		+= sunxi/
93
obj-$(CONFIG_ARCH_SUNXI)		+= sunxi-ng/
M
Mike Turquette 已提交
94
obj-$(CONFIG_ARCH_TEGRA)		+= tegra/
95
obj-y					+= ti/
96
obj-$(CONFIG_CLK_UNIPHIER)		+= uniphier/
M
Mike Turquette 已提交
97 98
obj-$(CONFIG_ARCH_U8500)		+= ux500/
obj-$(CONFIG_COMMON_CLK_VERSATILE)	+= versatile/
99
ifeq ($(CONFIG_COMMON_CLK), y)
M
Mike Turquette 已提交
100
obj-$(CONFIG_X86)			+= x86/
101
endif
J
Jun Nie 已提交
102
obj-$(CONFIG_ARCH_ZX)			+= zte/
M
Mike Turquette 已提交
103
obj-$(CONFIG_ARCH_ZYNQ)			+= zynq/