omap2+: Allow hwmod state changes to mux pads based on the state changes
authorTony Lindgren <tony@atomide.com>
Thu, 23 Dec 2010 02:42:35 +0000 (18:42 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 23 Dec 2010 02:42:35 +0000 (18:42 -0800)
commit8d9af88f55be89fa4c897ded3204ef12c947731e
treec9ce0643af4a2c35f456df470e27f28982abf68e
parent9796b323b5a1940f9ec62c3a6cf7e442bf540d53
omap2+: Allow hwmod state changes to mux pads based on the state changes

Allow hwmod state changes to mux pads based on the state changes.

By default, only enable and disable the pads. In some rare cases
dynamic remuxing for the idles states is needed, this can be done
by passing the enable, idle, and off pads from board-*.c file along
with OMAP_DEVICE_PAD_REMUX flag.

Thanks to Paul Walmsley <paul@booyaka.com> for the comments on the
hwmod related changes.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mux.c
arch/arm/mach-omap2/mux.h
arch/arm/mach-omap2/omap_hwmod.c