original_kernel/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
Kconfig
Makefile
Makefile.boot
am200epd.c
am300epd.c
balloon3.c
clock.c
clock.h
cm-x2xx-pci.c
cm-x2xx-pci.h
cm-x2xx.c
cm-x255.c
cm-x270.c
cm-x300.c [ARM] pxa/cm-x300: fix mmc numbering 2009-10-17 22:55:44 +08:00
colibri-pxa3xx.c
colibri-pxa270.c
colibri-pxa300.c
colibri-pxa320.c
corgi.c
corgi_lcd.c
corgi_pm.c
corgi_ssp.c
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
devices.h
e330.c
e350.c
e400.c
e740.c
e750.c
e800.c
em-x270.c
eseries.c
eseries.h
ezx.c
generic.c
generic.h
gumstix.c
h5000.c
himalaya.c
hx4700.c
idp.c
imote2.c
irq.c
leds-idp.c
leds-lubbock.c
leds-mainstone.c
leds.c
leds.h
littleton.c
lpd270.c
lubbock.c
magician.c
mainstone.c
mfp-pxa2xx.c
mfp-pxa3xx.c
mioa701.c
mioa701_bootresume.S
mp900.c
palmld.c
palmt5.c
palmtc.c
palmte2.c
palmtx.c
palmz72.c
pcm027.c
pcm990-baseboard.c
pm.c
poodle.c
pxa2xx.c
pxa3xx.c
pxa25x.c
pxa27x.c
pxa300.c
pxa320.c
pxa930.c
reset.c
saar.c
sharpsl.h
sharpsl_pm.c
sleep.S
smemc.c
spitz.c [ARM] pxa/spitz: add gpio button support (fixes regression) 2009-10-17 22:55:44 +08:00
spitz_pm.c
ssp.c
standby.S
stargate2.c
tavorevb.c
time.c
tosa-bt.c
tosa.c
treo680.c
trizeps4.c
viper.c
xcep.c
zylonite.c
zylonite_pxa300.c
zylonite_pxa320.c