blob: 5ca1e39dd88a6ae5777299a88ba0ab56d4bb9e0a [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Tony Lindgrenc2ee9bd2016-02-26 09:45:03 -08002ifeq ($(CONFIG_ARCH_OMAP2PLUS), y)
3
Tero Kristo3cd4a592013-08-21 19:39:15 +03004obj-y += clk.o autoidle.o clockdomain.o
Tero Kristof60b1ea2013-06-18 18:55:59 +03005clk-common = dpll.o composite.o divider.o gate.o \
Tero Kristob138b022015-03-02 09:57:28 +02006 fixed-factor.o mux.o apll.o \
Tero Kristo88a17252017-02-09 11:27:11 +02007 clkt_dpll.o clkt_iclk.o clkt_dflt.o \
8 clkctrl.o
Tero Kristoe97017f2018-08-10 18:22:02 +03009obj-$(CONFIG_SOC_AM33XX) += $(clk-common) clk-33xx.o dpll3xxx.o \
10 clk-33xx-compat.o
Tony Lindgren9cf705d2015-07-16 01:55:57 -070011obj-$(CONFIG_SOC_TI81XX) += $(clk-common) fapll.o clk-814x.o clk-816x.o
Tero Kristobe67c3b2014-02-24 17:52:57 +020012obj-$(CONFIG_ARCH_OMAP2) += $(clk-common) interface.o clk-2xxx.o
Tero Kristo74807df2015-01-29 22:25:40 +020013obj-$(CONFIG_ARCH_OMAP3) += $(clk-common) interface.o \
Tero Kristo0565fb12015-03-03 13:27:48 +020014 clk-3xxx.o dpll3xxx.o
15obj-$(CONFIG_ARCH_OMAP4) += $(clk-common) clk-44xx.o \
16 dpll3xxx.o dpll44xx.o
17obj-$(CONFIG_SOC_OMAP5) += $(clk-common) clk-54xx.o \
18 dpll3xxx.o dpll44xx.o
Peter Ujfalusi9ac33b02014-05-07 13:20:47 +030019obj-$(CONFIG_SOC_DRA7XX) += $(clk-common) clk-7xx.o \
Tero Kristo43c56e02018-08-13 11:11:33 +030020 clk-dra7-atl.o dpll3xxx.o \
21 dpll44xx.o clk-7xx-compat.o
Tero Kristo131ee082018-08-13 10:38:40 +030022obj-$(CONFIG_SOC_AM43XX) += $(clk-common) dpll3xxx.o clk-43xx.o \
23 clk-43xx-compat.o
Arnd Bergmann6793a30a2015-02-03 17:59:32 +010024
Tony Lindgrenc2ee9bd2016-02-26 09:45:03 -080025endif # CONFIG_ARCH_OMAP2PLUS
26
Tony Lindgren21330492016-02-26 09:35:05 -080027obj-$(CONFIG_COMMON_CLK_TI_ADPLL) += adpll.o