]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: OMAP2+: hwmod: populate clkctrl clocks for hwmods if available
authorTero Kristo <t-kristo@ti.com>
Wed, 31 May 2017 15:00:03 +0000 (18:00 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 6 Jun 2017 07:14:06 +0000 (00:14 -0700)
commit70f05be3213393f20f01e4d59625df7ee49fe32f
tree2595e2982310d153a1869b61e4c2f27350093d26
parent308b4e381b5849c190ca4a93388c9ccfbc525e3b
ARM: OMAP2+: hwmod: populate clkctrl clocks for hwmods if available

If clkctrl clocks are available on a device, populate these automatically
to replace hwmod main_clk info. First, the patch parses all "ti,clkctrl"
compatible nodes and maps these against existing clockdomain data. Once
done, individual hwmod init routines can search for a clkctrl clock
handle based on the clockdomain info and the created mapping.

This patch also drops the obsolete "_mod_ck" search as the implementation
required for this was not accepted usptream.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_hwmod.c