kernel-fxtec-pro1x/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 [ARM] pxa: introduce pxa{25x,27x,300,320,930}.h for board usage 2009-03-09 21:22:36 +08:00
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 [ARM] pxa: remove unnecessary #include of pxa-regs.h and hardware.h 2009-03-09 21:22:38 +08:00
cm-x2xx-pci.h
cm-x2xx.c [ARM] pxa/cm-x2xx: fix ucb1400 not being registered 2009-04-04 10:26:34 +08:00
cm-x255.c [ARM] pxa: introduce pxa{25x,27x,300,320,930}.h for board usage 2009-03-09 21:22:36 +08:00
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 [ARM] pxa: rename colibri.c to colibri-pxa270.c 2009-03-23 09:57:54 +08:00
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.c [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c 2009-09-10 18:49:39 +08:00
corgi_lcd.c [ARM] pxa: separate definitions from pxa-regs.h and remove it finally 2009-03-09 21:22:40 +08:00
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 [ARM] pxa: separate definitions from pxa-regs.h and remove it finally 2009-03-09 21:22:40 +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 [ARM] pxa: introduce pxa{25x,27x,300,320,930}.h for board usage 2009-03-09 21:22:36 +08:00
csb701.c [ARM] pxa/csb701: do not register devices on non-csb726 boads 2009-04-04 10:26:35 +08:00
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 [ARM] pxa: introduce pxa{25x,27x,300,320,930}.h for board usage 2009-03-09 21:22:36 +08:00
e350.c [ARM] pxa: introduce pxa{25x,27x,300,320,930}.h for board usage 2009-03-09 21:22:36 +08:00
e400.c [ARM] pxa: introduce pxa{25x,27x,300,320,930}.h for board usage 2009-03-09 21:22:36 +08:00
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 [ARM] pxa: register AC97 controller devices 2009-04-04 21:54:40 +08:00
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 [ARM] pxa: move GPIO register definitions into <mach/gpio.h> 2009-03-09 21:22:37 +08:00
generic.h [ARM] pxa: add missing declaration of pxa26x_init_irq() 2009-04-13 12:10:36 +08:00
gumstix.c [ARM] pxa: factor pxamci gpio handling 2009-09-10 18:49:30 +08:00
h5000.c Merge branch 'origin' into devel 2009-03-28 20:29:51 +00:00
himalaya.c [ARM] pxa: remove unnecessary #include of pxa-regs.h and hardware.h 2009-03-09 21:22:38 +08:00
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 [ARM] pxa: introduce pxa{25x,27x,300,320,930}.h for board usage 2009-03-09 21:22:36 +08:00
leds-lubbock.c [ARM] pxa: introduce pxa{25x,27x,300,320,930}.h for board usage 2009-03-09 21:22:36 +08:00
leds-mainstone.c [ARM] pxa: introduce pxa{25x,27x,300,320,930}.h for board usage 2009-03-09 21:22:36 +08:00
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 [ARM] pxa: move GPIO register definitions into <mach/gpio.h> 2009-03-09 21:22:37 +08:00
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 [ARM] pxa: enable GPIO receivers after configuring pins 2009-05-18 21:52:09 +08:00
mfp-pxa3xx.c [ARM] pxa: move common MFP handling code into plat-pxa 2009-03-23 10:11:34 +08:00
mioa701.c [ARM] pxa/mioa701: convert mioa701 to the new platform-device soc-camera interface 2009-09-10 18:49:32 +08:00
mioa701_bootresume.S
mp900.c [ARM] pxa: introduce pxa{25x,27x,300,320,930}.h for board usage 2009-03-09 21:22:36 +08:00
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 [ARM] pxa: introduce pxa{25x,27x,300,320,930}.h for board usage 2009-03-09 21:22:36 +08:00
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 [ARM] pxa: move IRQ handling of GPIO 0 and 1 outside of gpio.c 2009-03-09 21:22:37 +08:00
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 [ARM] pxa: allow gpio_reset drive high during normal work 2009-05-18 21:52:09 +08:00
saar.c [ARM] pxa: move mach/i2c.h to plat/i2c.h 2009-06-05 10:32:01 +08:00
sharpsl.h [ARM] pxa/sharpsl_pm: merge pxa-specific code into generic one 2009-06-11 22:20:42 +08:00
sharpsl_pm.c [ARM] pxa/sharpsl_pm: zaurus c3000 aka spitz: fix resume 2009-09-07 23:14:59 +08:00
sleep.S [ARM] pxa: separate definitions from pxa-regs.h and remove it finally 2009-03-09 21:22:40 +08:00
smemc.c
spitz.c [ARM] pxa/spitz: add gpio button support (fixes regression) 2009-10-17 22:55:44 +08:00
spitz_pm.c [ARM] pxa/sharpsl_pm: merge pxa-specific code into generic one 2009-06-11 22:20:42 +08:00
ssp.c [ARM] pxa: remove unnecessary #include of pxa-regs.h and hardware.h 2009-03-09 21:22:38 +08:00
standby.S [ARM] pxa: separate definitions from pxa-regs.h and remove it finally 2009-03-09 21:22:40 +08:00
stargate2.c [ARM] pxa: Stargate 2 board support 2009-06-05 10:46:17 +08:00
tavorevb.c [ARM] pxa: introduce pxa{25x,27x,300,320,930}.h for board usage 2009-03-09 21:22:36 +08:00
time.c clocksource: pass clocksource to read() callback 2009-04-21 13:41:47 -07:00
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.c [ARM] pxa: factor pxamci gpio handling 2009-09-10 18:49:30 +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