ARM: OMAP2+: hwmod: Add hwmod flag for HWMOD_OPT_CLKS_NEEDED
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 12 Nov 2015 07:32:58 +0000 (09:32 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 12 Nov 2015 17:57:44 +0000 (09:57 -0800)
commitc12ba8ce2335389ce5416f88391cd67c7325c963
tree91c27bbe28608a27005a7abdfb6456621d5e9263
parentbf05c2c2c5586242509660d146a5bb5f73dd06c5
ARM: OMAP2+: hwmod: Add hwmod flag for HWMOD_OPT_CLKS_NEEDED

Some module needs more than one functional clock in order to be accessible,
like the McASPs found in DRA7xx family.
This flag will indicate that the opt_clks need to be handled at the same
time as the main_clk for the given hwmod, ensuring that all needed clocks
are enabled before we try to access the module's address space.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/mach-omap2/omap_hwmod.h