public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* GPIO debounce problems on 3.2
@ 2012-01-26 22:57 Grazvydas Ignotas
  2012-01-30 19:36 ` Kevin Hilman
  0 siblings, 1 reply; 23+ messages in thread
From: Grazvydas Ignotas @ 2012-01-26 22:57 UTC (permalink / raw)
  To: linux-omap; +Cc: Kevin Hilman, Paul Walmsley

Hi,

On 3.2 (I think some earlier versions too), with CONFIG_CPU_IDLE
enabled GPIO based buttons are not working properly on OMAP3 pandora,
button presses are almost never registered. The buttons are connected
GPIO bank4 and have hardware debounce feature enabled.

Doing either of the following solves (or hides) the problem:
- disabling CPU_IDLE in kernel config
- disabling debounce for the buttons
- running a program spinning a loop on the CPU

From what I can see in the code debounce clock is disabled when
entering idle, can those GPIOs work without debounce clock?


-- 
Gražvydas
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2012-05-04 21:17 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-26 22:57 GPIO debounce problems on 3.2 Grazvydas Ignotas
2012-01-30 19:36 ` Kevin Hilman
2012-01-30 22:07   ` Grazvydas Ignotas
2012-01-30 23:18     ` Kevin Hilman
2012-01-30 23:34       ` Paul Walmsley
2012-01-31  0:22         ` Kevin Hilman
2012-01-31  1:00           ` Grazvydas Ignotas
2012-01-31  0:56         ` Grazvydas Ignotas
2012-01-31  1:48           ` Paul Walmsley
2012-01-31 11:39             ` Grazvydas Ignotas
2012-01-31 21:40               ` Grazvydas Ignotas
2012-02-01  6:02                 ` Paul Walmsley
2012-02-01  6:06                   ` Paul Walmsley
2012-02-01 11:46                     ` Grazvydas Ignotas
2012-02-01 15:30                       ` Kevin Hilman
2012-02-01 22:33                         ` Grazvydas Ignotas
2012-02-01 18:41                       ` Paul Walmsley
2012-05-04 21:17                         ` Grazvydas Ignotas
2012-02-01  5:47               ` Paul Walmsley
2012-02-01  6:21                 ` NeilBrown
2012-02-01  6:58                   ` Paul Walmsley
2012-01-31  1:49           ` Paul Walmsley
2012-01-31  6:13         ` Paul Walmsley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox