OSDN Git Service

ARM: OMAP2+ hwmod: Allow modules to disable HW_AUTO
authorRoger Quadros <rogerq@ti.com>
Fri, 17 Mar 2017 08:58:18 +0000 (10:58 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 23 Mar 2017 20:19:59 +0000 (13:19 -0700)
commit8ff42da411474893ae373d4280ea88954fa97fcc
treecdf50dc9abaa194cb004790436290566512d4d66
parent390c06828dd22549706946113a0783cb8e2a3240
ARM: OMAP2+ hwmod: Allow modules to disable HW_AUTO

Introduce HWMOD_CLKDM_NOAUTO flag that allows the hwmod's
clockdomain to be prevented from HW_AUTO while the hwmod is active.

This is needed to workaround some modules which don't function
correctly with HW_AUTO. e.g. DCAN on DRA7.

Signed-off-by: Roger Quadros <rogerq@ti.com>
[nsekhar@ti.com: rebased to v4.9 kernel]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/mach-omap2/omap_hwmod.h