]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: OMAP2+: hwmod: fetch main_clk based on hwmod name
authorTero Kristo <t-kristo@ti.com>
Mon, 4 Jul 2016 11:11:48 +0000 (14:11 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 4 Jul 2016 14:15:22 +0000 (07:15 -0700)
commit9fabc1a26e37f88cb19d5def300970a26604d9a4
tree26d240cc4e3e531cbd6fd4bdbf5d671bee7a8d2b
parent59dcfc48eb41c9074938fc2a0a07634e60f08e22
ARM: OMAP2+: hwmod: fetch main_clk based on hwmod name

With the transition to hwmod module clocks, all hwmods will have
their main clocks named <hwmod_name>_mod_ck. Use this info to
fetch main_clk, and use it if found.

Also, if a main_clk is found based on the hwmod name, disable
the direct PRCM modulemode access from hwmod.

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