]> rtime.felk.cvut.cz Git - linux-imx.git/commit
ARM: OMAP2+: hwmod-data: UART IP needs software control to manage sidle modes
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Wed, 15 May 2013 14:48:39 +0000 (20:18 +0530)
committerPaul Walmsley <paul@pwsan.com>
Sun, 19 May 2013 22:36:55 +0000 (16:36 -0600)
commit66dde54e978a310c57a40023ff39835fa5ccd7a3
treead507f915924fa5d99ec1880df3e32a34e283af6
parentca43ea345de96dc214be790b6cebedbdfe110b63
ARM: OMAP2+: hwmod-data: UART IP needs software control to manage sidle modes

OMAP UART IP needs software control for slave idle modes based on functional
state of the IP. i.e The IP slave idle settings should be set to 'noidle' when
being used and then put back to 'smart_idle' when unused. Currently this is
handled by the driver with function pointers implemented in platform code.
This however breaks in case of device tree because of missing idle handling
APIs.

Previous patches in this series added a flag HWMOD_SWSUP_SIDLE_ACTIVE which
takes care of the mentioned requirement. Hence add the flag for all UART IPs
to take advantage of feature supported by framework.

Subsequent patches removes the slave idle handling from driver code.

Tested-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
Tested-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Tested-by: Kevin Hilman <khilman@linaro.org> # OMAP4/Panda
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
arch/arm/mach-omap2/omap_hwmod_33xx_data.c
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
arch/arm/mach-omap2/omap_hwmod_44xx_data.c