]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commit
ARM: dts: omap4: Fix functional clocks for ABE DMTimer devices
authorSuman Anna <s-anna@ti.com>
Fri, 1 Mar 2019 04:23:23 +0000 (22:23 -0600)
committerSuman Anna <s-anna@ti.com>
Mon, 4 Mar 2019 16:02:34 +0000 (10:02 -0600)
commit94116fb72f58bcdacc24beccee863f8c2c1e0c11
treef3dda49dc596ed026f9c851ac4138809bc853365
parent0b8f53ecf1fcf96f5ef89154c386da8e3b27f0fa
ARM: dts: omap4: Fix functional clocks for ABE DMTimer devices

The hwmod and clkctrl integration code is currently assigning the
clkctrl clock associated with MODULEMODE as the main functional
clock for nodes that have the ti,hwmods property. This is wrong
for devices that actually use mux or gate clocks as their main
clock and that are not yet converted to the ti-sysc node hierarchy.

The dmtimer clocksource driver cannot use this clock to configure
its parents. All the DMTimer nodes except for those present in the
ABE domain have been converted to the new ti-sysc node hierarchy
style and do not face this issue. The dmtimer consumers got lucky
so far due to the default clock matching the requested parent clock,
and a silent successful return in the omap_dm_timer_set_source()
function. Fix the remaining DMTimer nodes in ABE domain by adding
the actual mux clocks to the DMTimer nodes with the "fck" clock-name.
These clocks are expected to remain even after the nodes have moved
under a ti,sysc parent node.

Signed-off-by: Suman Anna <s-anna@ti.com>
arch/arm/boot/dts/omap4.dtsi