blob: 0deac98210392c8098e281c980cad5d271c2c992 [file] [log] [blame]
Tony Lindgrenc2ee9bd2016-02-26 09:45:03 -08001ifeq ($(CONFIG_ARCH_OMAP2PLUS), y)
2
Tero Kristo3cd4a592013-08-21 19:39:15 +03003obj-y += clk.o autoidle.o clockdomain.o
Tero Kristof60b1ea2013-06-18 18:55:59 +03004clk-common = dpll.o composite.o divider.o gate.o \
Tero Kristob138b022015-03-02 09:57:28 +02005 fixed-factor.o mux.o apll.o \
Tero Kristo9f37e902015-03-03 15:28:53 +02006 clkt_dpll.o clkt_iclk.o clkt_dflt.o
Tero Kristo0565fb12015-03-03 13:27:48 +02007obj-$(CONFIG_SOC_AM33XX) += $(clk-common) clk-33xx.o dpll3xxx.o
Tony Lindgren9cf705d2015-07-16 01:55:57 -07008obj-$(CONFIG_SOC_TI81XX) += $(clk-common) fapll.o clk-814x.o clk-816x.o
Tero Kristobe67c3b2014-02-24 17:52:57 +02009obj-$(CONFIG_ARCH_OMAP2) += $(clk-common) interface.o clk-2xxx.o
Tero Kristo74807df2015-01-29 22:25:40 +020010obj-$(CONFIG_ARCH_OMAP3) += $(clk-common) interface.o \
Tero Kristo0565fb12015-03-03 13:27:48 +020011 clk-3xxx.o dpll3xxx.o
12obj-$(CONFIG_ARCH_OMAP4) += $(clk-common) clk-44xx.o \
13 dpll3xxx.o dpll44xx.o
14obj-$(CONFIG_SOC_OMAP5) += $(clk-common) clk-54xx.o \
15 dpll3xxx.o dpll44xx.o
Peter Ujfalusi9ac33b02014-05-07 13:20:47 +030016obj-$(CONFIG_SOC_DRA7XX) += $(clk-common) clk-7xx.o \
Tero Kristo0565fb12015-03-03 13:27:48 +020017 clk-dra7-atl.o dpll3xxx.o dpll44xx.o
18obj-$(CONFIG_SOC_AM43XX) += $(clk-common) dpll3xxx.o clk-43xx.o
Arnd Bergmann6793a30a2015-02-03 17:59:32 +010019
20ifdef CONFIG_ATAGS
21obj-$(CONFIG_ARCH_OMAP3) += clk-3xxx-legacy.o
Tero Kristoa8acecc2013-07-18 11:52:33 +030022endif
Tony Lindgren21330492016-02-26 09:35:05 -080023
Tony Lindgrenc2ee9bd2016-02-26 09:45:03 -080024endif # CONFIG_ARCH_OMAP2PLUS
25
Tony Lindgren21330492016-02-26 09:35:05 -080026obj-$(CONFIG_COMMON_CLK_TI_ADPLL) += adpll.o