]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP2/3: hwmod: fix gpio-reset timeouts seen during bootup.
authorAvinash.H.M <avinashhm@ti.com>
Tue, 5 Apr 2011 15:40:15 +0000 (21:10 +0530)
committerPaul Walmsley <paul@pwsan.com>
Wed, 20 Apr 2011 18:43:56 +0000 (12:43 -0600)
commitf40eea259f859e2dce6a85b6d558d368a8c02eeb
tree9952de732d999fc5d97ba9f94295045d570f9573
parentd9a4cd7850dc8b3058d7ed61a859c70da8818357
OMAP2/3: hwmod: fix gpio-reset timeouts seen during bootup.

GPIO module expects the debounce clocks to be enabled during reset. It doesn't
reset properly and timeouts are seen, if this clock isn't enabled during
reset. Add the HWMOD_CONTROL_OPT_CLKS_IN_RESET flags to the GPIO HWMODs, with
which the debounce clocks are enabled during reset.

Cc: Rajendra Nayak <rnayak@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Benoit Cousson <b-cousson@ti.com>
Cc: Kevin Hilman <khilman@ti.com>
Signed-off-by: Avinash.H.M <avinashhm@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod_2420_data.c
arch/arm/mach-omap2/omap_hwmod_2430_data.c
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c