mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 06:36:44 +07:00
88a172526c
Previously, hwmod core has been used for controlling the hwmod level clocks directly. This has certain drawbacks, like being unable to share the clocks for multiple users, missing usecounting and generally being totally incompatible with the common clock framework. This patch adds support for clkctrl clocks for addressing the above issues. These support the modulemode handling, which will replace the direct hwmod clkctrl linkage. Any optional clocks are also supported, gate, mux and divider. Signed-off-by: Tero Kristo <t-kristo@ti.com> Acked-by: Tony Lindgren <tony@atomide.com>
28 lines
1.0 KiB
Makefile
28 lines
1.0 KiB
Makefile
ifeq ($(CONFIG_ARCH_OMAP2PLUS), y)
|
|
|
|
obj-y += clk.o autoidle.o clockdomain.o
|
|
clk-common = dpll.o composite.o divider.o gate.o \
|
|
fixed-factor.o mux.o apll.o \
|
|
clkt_dpll.o clkt_iclk.o clkt_dflt.o \
|
|
clkctrl.o
|
|
obj-$(CONFIG_SOC_AM33XX) += $(clk-common) clk-33xx.o dpll3xxx.o
|
|
obj-$(CONFIG_SOC_TI81XX) += $(clk-common) fapll.o clk-814x.o clk-816x.o
|
|
obj-$(CONFIG_ARCH_OMAP2) += $(clk-common) interface.o clk-2xxx.o
|
|
obj-$(CONFIG_ARCH_OMAP3) += $(clk-common) interface.o \
|
|
clk-3xxx.o dpll3xxx.o
|
|
obj-$(CONFIG_ARCH_OMAP4) += $(clk-common) clk-44xx.o \
|
|
dpll3xxx.o dpll44xx.o
|
|
obj-$(CONFIG_SOC_OMAP5) += $(clk-common) clk-54xx.o \
|
|
dpll3xxx.o dpll44xx.o
|
|
obj-$(CONFIG_SOC_DRA7XX) += $(clk-common) clk-7xx.o \
|
|
clk-dra7-atl.o dpll3xxx.o dpll44xx.o
|
|
obj-$(CONFIG_SOC_AM43XX) += $(clk-common) dpll3xxx.o clk-43xx.o
|
|
|
|
ifdef CONFIG_ATAGS
|
|
obj-$(CONFIG_ARCH_OMAP3) += clk-3xxx-legacy.o
|
|
endif
|
|
|
|
endif # CONFIG_ARCH_OMAP2PLUS
|
|
|
|
obj-$(CONFIG_COMMON_CLK_TI_ADPLL) += adpll.o
|