Stanislav Brabec
f6919eb411
[ARM] pxa/spitz: add gpio button support (fixes regression)
...
Updating desc for lid keys and resending patch with proper comments:
Define Spitz buttons as GPIO keys in a way compatible with the old driver:
On/Off: As Suspend EV_PWR key
Raw values of lid sensors SWA and SWB: As EV_SW switches
SWA: Display Down
SWB: Lid Closed
Recommended user space decoding:
SWA==0 & SWB==0: lid opened (landscape mode)
SWA==1 & SWB==0: invalid (or mechanic race condition)
SWA==0 & SWB==1: lid closed with display up (portrait mode or mechanic
race condition while closing to display-less mode)
SWA==1 & SWB==1: lid closed with display down (display-less mode)
AK_INT remote trigger is not mapped as input event. Without complete
remote driver and remote pull-up control it has no useful
interpretation.
Signed-off-by: Stanislav Brabec <utx@penguin.cz>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
2009-10-17 22:55:44 +08:00
..
2009-09-21 16:02:30 +01:00
2009-03-09 21:22:36 +08:00
2009-02-10 11:28:00 +00:00
2009-09-10 18:49:39 +08:00
2009-06-04 17:45:43 +01:00
2009-09-10 18:49:23 +08:00
2009-03-09 21:22:38 +08:00
2008-10-07 12:05:05 +01:00
2009-04-04 10:26:34 +08:00
2009-03-09 21:22:36 +08:00
2009-09-10 18:49:34 +08:00
2009-10-17 22:55:44 +08:00
2009-09-10 18:49:31 +08:00
2009-03-23 09:57:54 +08:00
2009-09-10 18:49:31 +08:00
2009-09-10 18:49:31 +08:00
2009-03-09 21:22:40 +08:00
2009-06-11 22:20:42 +08:00
2009-03-09 21:22:40 +08:00
2009-09-10 18:49:39 +08:00
2009-10-12 15:30:50 +08:00
2009-03-09 21:22:36 +08:00
2009-04-04 10:26:35 +08:00
2009-10-12 15:30:50 +08:00
2009-09-10 18:49:27 +08:00
2009-09-10 18:49:27 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2009-09-10 18:49:39 +08:00
2009-09-10 18:49:39 +08:00
2009-04-04 21:54:40 +08:00
2009-09-10 18:49:34 +08:00
2009-09-10 18:49:39 +08:00
2008-12-15 03:29:34 +00:00
2009-06-05 10:50:22 +08:00
2009-03-09 21:22:37 +08:00
2009-04-13 12:10:36 +08:00
2009-09-10 18:49:30 +08:00
2009-03-28 20:29:51 +00:00
2009-03-09 21:22:38 +08:00
2009-09-10 18:49:39 +08:00
2009-09-10 18:49:30 +08:00
2009-09-10 18:49:30 +08:00
2009-09-10 18:49:26 +08:00
2009-09-10 18:49:39 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2008-10-01 22:34:34 +01:00
2006-10-03 23:01:26 +02:00
2009-09-10 18:49:30 +08:00
2009-03-09 21:22:37 +08:00
2009-09-10 18:49:39 +08:00
2009-09-10 18:49:39 +08:00
2009-09-10 18:49:39 +08:00
2009-09-10 18:49:39 +08:00
2009-05-18 21:52:09 +08:00
2009-03-23 10:11:34 +08:00
2008-11-22 20:57:21 +08:00
2009-09-10 18:49:32 +08:00
2009-03-09 21:22:36 +08:00
2009-09-10 18:49:39 +08:00
2009-09-10 18:49:39 +08:00
2009-09-10 18:49:39 +08:00
2009-09-10 18:49:39 +08:00
2009-09-10 18:49:39 +08:00
2009-09-10 18:49:39 +08:00
2009-03-09 21:22:36 +08:00
2009-09-10 18:49:31 +08:00
2009-06-11 23:25:09 +08:00
2009-09-10 18:49:39 +08:00
2009-09-10 18:49:39 +08:00
2009-07-03 14:13:49 +08:00
2009-03-09 21:22:37 +08:00
2009-06-05 10:32:48 +08:00
2009-09-10 18:49:26 +08:00
2009-09-10 18:49:26 +08:00
2009-09-10 18:49:24 +08:00
2009-05-18 21:52:09 +08:00
2009-06-05 10:32:01 +08:00
2009-09-07 23:14:59 +08:00
2009-06-11 22:20:42 +08:00
2009-03-09 21:22:40 +08:00
2008-11-28 16:04:54 +00:00
2009-06-11 22:20:42 +08:00
2009-10-17 22:55:44 +08:00
2009-03-09 21:22:38 +08:00
2009-03-09 21:22:40 +08:00
2009-06-05 10:46:17 +08:00
2009-03-09 21:22:36 +08:00
2009-04-21 13:41:47 -07:00
2009-06-03 14:06:13 -04:00
2009-09-10 18:49:39 +08:00
2009-09-10 18:49:39 +08:00
2009-09-10 18:49:39 +08:00
2009-06-05 10:32:01 +08:00
2009-09-10 18:49:38 +08:00
2009-07-18 10:00:08 +08:00
2009-07-18 10:00:08 +08:00
2009-09-10 18:49:30 +08:00