Skip to content

Commit 88a1725

Browse files
author
Tero Kristo
committed
clk: ti: add support for clkctrl clocks
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 <[email protected]> Acked-by: Tony Lindgren <[email protected]>
1 parent 35395a9 commit 88a1725

File tree

3 files changed

+523
-1
lines changed

3 files changed

+523
-1
lines changed

drivers/clk/ti/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ ifeq ($(CONFIG_ARCH_OMAP2PLUS), y)
33
obj-y += clk.o autoidle.o clockdomain.o
44
clk-common = dpll.o composite.o divider.o gate.o \
55
fixed-factor.o mux.o apll.o \
6-
clkt_dpll.o clkt_iclk.o clkt_dflt.o
6+
clkt_dpll.o clkt_iclk.o clkt_dflt.o \
7+
clkctrl.o
78
obj-$(CONFIG_SOC_AM33XX) += $(clk-common) clk-33xx.o dpll3xxx.o
89
obj-$(CONFIG_SOC_TI81XX) += $(clk-common) fapll.o clk-814x.o clk-816x.o
910
obj-$(CONFIG_ARCH_OMAP2) += $(clk-common) interface.o clk-2xxx.o

0 commit comments

Comments
 (0)