1
linux/arch/arm/mach-pxa
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
..
include/mach Merge branch 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6 into devel 2009-09-21 16:02:30 +01:00
am200epd.c
am300epd.c
balloon3.c [ARM] pxa: balloon3 (http://balloonboard.org/) base machine support 2009-09-10 18:49:39 +08:00
clock.c [ARM] 5536/1: Move clk_add_alias() to arch/arm/common/clkdev.c 2009-06-04 17:45:43 +01:00
clock.h [ARM] pxa: remove left-over struct clk *other field from struct clk 2009-09-10 18:49:23 +08:00
cm-x2xx-pci.c
cm-x2xx-pci.h
cm-x2xx.c
cm-x255.c
cm-x270.c [ARM] pxa/cm-x270: add libertas device registration 2009-09-10 18:49:34 +08:00
cm-x300.c [ARM] pxa/cm-x300: fix mmc numbering 2009-10-17 22:55:44 +08:00
colibri-pxa3xx.c [ARM] pxa/colibri: add NAND config for Colibri PXA3xx boards 2009-09-10 18:49:31 +08:00
colibri-pxa270.c
colibri-pxa300.c [ARM] pxa/colibri: add NAND config for Colibri PXA3xx boards 2009-09-10 18:49:31 +08:00
colibri-pxa320.c [ARM] pxa/colibri: add UART MFP configuration for the PXA320 module 2009-09-10 18:49:31 +08:00
corgi_lcd.c
corgi_pm.c [ARM] pxa/sharpsl_pm: merge pxa-specific code into generic one 2009-06-11 22:20:42 +08:00
corgi_ssp.c
corgi.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
cpufreq-pxa2xx.c [ARM] pxa: workaround errata #37 by not using half turbo switching 2009-10-12 15:30:50 +08:00
cpufreq-pxa3xx.c
csb701.c
csb726.c [ARM] pxa/csb726: adjust duplicate structure field initialization 2009-10-12 15:30:50 +08:00
devices.c [ARM] pxa: add device definition for graphics controller 2009-09-10 18:49:27 +08:00
devices.h [ARM] pxa: add device definition for graphics controller 2009-09-10 18:49:27 +08:00
e330.c
e350.c
e400.c
e740.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
e750.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
e800.c
em-x270.c [ARM] pxa/em-x270: add vcc_core regulator 2009-09-10 18:49:34 +08:00
eseries.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
eseries.h
ezx.c [ARM] pxa/ezx: setup gpio-keys for EzX phones 2009-06-05 10:50:22 +08:00
generic.c
generic.h
gumstix.c [ARM] pxa: factor pxamci gpio handling 2009-09-10 18:49:30 +08:00
h5000.c
himalaya.c
hx4700.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
idp.c [ARM] pxa: factor pxamci gpio handling 2009-09-10 18:49:30 +08:00
imote2.c [ARM] pxa: factor pxamci gpio handling 2009-09-10 18:49:30 +08:00
irq.c [ARM] pxa: initialize default interrupt priority and use ICHP for IRQ handling 2009-09-10 18:49:26 +08:00
Kconfig [ARM] pxa: balloon3 (http://balloonboard.org/) base machine support 2009-09-10 18:49:39 +08:00
leds-idp.c
leds-lubbock.c
leds-mainstone.c
leds.c
leds.h
littleton.c [ARM] pxa/littleton: update littleton to use the new gpio_card_detect for mmc 2009-09-10 18:49:30 +08:00
lpd270.c
lubbock.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
magician.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
mainstone.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
Makefile [ARM] pxa: balloon3 (http://balloonboard.org/) base machine support 2009-09-10 18:49:39 +08:00
Makefile.boot
mfp-pxa2xx.c
mfp-pxa3xx.c
mioa701_bootresume.S
mioa701.c [ARM] pxa/mioa701: convert mioa701 to the new platform-device soc-camera interface 2009-09-10 18:49:32 +08:00
mp900.c
palmld.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
palmt5.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
palmtc.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
palmte2.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
palmtx.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
palmz72.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
pcm027.c
pcm990-baseboard.c [ARM] pxa/pcm990: convert pcm990 to soc-camera as platform-device 2009-09-10 18:49:31 +08:00
pm.c [ARM] pxa/sharpsl_pm: zaurus needs generic pxa suspend/resume routines 2009-06-11 23:25:09 +08:00
poodle.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
pxa2xx.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
pxa3xx.c [ARM] pxa: correct I2CPWR clock for pxa3xx 2009-07-03 14:13:49 +08:00
pxa25x.c
pxa27x.c [ARM] pxa: add ability to set suspend mode 2009-06-05 10:32:48 +08:00
pxa300.c [ARM] pxa: add clock definition for graphics controller 2009-09-10 18:49:26 +08:00
pxa320.c [ARM] pxa: add clock definition for graphics controller 2009-09-10 18:49:26 +08:00
pxa930.c [ARM] pxa: support mfp of pxa935 2009-09-10 18:49:24 +08:00
reset.c
saar.c [ARM] pxa: move mach/i2c.h to plat/i2c.h 2009-06-05 10:32:01 +08:00
sharpsl_pm.c [ARM] pxa/sharpsl_pm: zaurus c3000 aka spitz: fix resume 2009-09-07 23:14:59 +08:00
sharpsl.h [ARM] pxa/sharpsl_pm: merge pxa-specific code into generic one 2009-06-11 22:20:42 +08:00
sleep.S
smemc.c
spitz_pm.c [ARM] pxa/sharpsl_pm: merge pxa-specific code into generic one 2009-06-11 22:20:42 +08:00
spitz.c [ARM] pxa/spitz: add gpio button support (fixes regression) 2009-10-17 22:55:44 +08:00
ssp.c
standby.S
stargate2.c [ARM] pxa: Stargate 2 board support 2009-06-05 10:46:17 +08:00
tavorevb.c
time.c
tosa-bt.c rfkill: rewrite 2009-06-03 14:06:13 -04:00
tosa.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
treo680.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
trizeps4.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
viper.c [ARM] pxa: move mach/i2c.h to plat/i2c.h 2009-06-05 10:32:01 +08:00
xcep.c [ARM] pxa: add support for the IskraTel XCEP board 2009-09-10 18:49:38 +08:00
zylonite_pxa300.c [ARM] pxa: fix gpio issue in zylonite 2009-07-18 10:00:08 +08:00
zylonite_pxa320.c [ARM] pxa: fix gpio issue in zylonite 2009-07-18 10:00:08 +08:00
zylonite.c [ARM] pxa: factor pxamci gpio handling 2009-09-10 18:49:30 +08:00