rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | ifeq ($(CONFIG_ARCH_OMAP2PLUS), y) |
| 3 | |
| 4 | obj-y += clk.o autoidle.o clockdomain.o |
| 5 | clk-common = dpll.o composite.o divider.o gate.o \ |
| 6 | fixed-factor.o mux.o apll.o \ |
| 7 | clkt_dpll.o clkt_iclk.o clkt_dflt.o \ |
| 8 | clkctrl.o |
| 9 | obj-$(CONFIG_SOC_AM33XX) += $(clk-common) clk-33xx.o dpll3xxx.o |
| 10 | obj-$(CONFIG_SOC_TI81XX) += $(clk-common) fapll.o clk-814x.o clk-816x.o |
| 11 | obj-$(CONFIG_ARCH_OMAP2) += $(clk-common) interface.o clk-2xxx.o |
| 12 | obj-$(CONFIG_ARCH_OMAP3) += $(clk-common) interface.o \ |
| 13 | clk-3xxx.o dpll3xxx.o |
| 14 | obj-$(CONFIG_ARCH_OMAP4) += $(clk-common) clk-44xx.o \ |
| 15 | dpll3xxx.o dpll44xx.o |
| 16 | obj-$(CONFIG_SOC_OMAP5) += $(clk-common) clk-54xx.o \ |
| 17 | dpll3xxx.o dpll44xx.o |
| 18 | obj-$(CONFIG_SOC_DRA7XX) += $(clk-common) clk-7xx.o \ |
| 19 | clk-dra7-atl.o dpll3xxx.o dpll44xx.o |
| 20 | obj-$(CONFIG_SOC_AM43XX) += $(clk-common) dpll3xxx.o clk-43xx.o |
| 21 | |
| 22 | ifdef CONFIG_ATAGS |
| 23 | obj-$(CONFIG_ARCH_OMAP3) += clk-3xxx-legacy.o |
| 24 | endif |
| 25 | |
| 26 | endif # CONFIG_ARCH_OMAP2PLUS |
| 27 | |
| 28 | obj-$(CONFIG_COMMON_CLK_TI_ADPLL) += adpll.o |