OpenCloudOS-Kernel/arch/arm/mach-pxa
Eric Miao 067455aa53 [ARM] pxa: add support for additional GPIOs on PXA26x
Original patch from Marek Vasut, the problems with PXA26x are:

1. there are additional 4 GPIOs 86,87,88,89 have their direction bits
   inverted in GPDR2, as well as their alternate function bits being
   '1' for their GPIO functionality in GAFRx

2. there is no easy way to decide if the processor is a pxa26x or a
   pxa250/pxa255 at run-time, so the assumption here is the pxa26x
   will be treated as one of the pxa25x variants, and board code
   should have a better knowledge of the processor it is featured

Introduce pxa26x_init_irq() for the second purpose, and treat the
additional GPIOs > 85 on PXA25x specially.

Kconfig option CONFIG_CPU_PXA26x is introduced to optimize the code
a bit when PXA26x support isn't needed. Board config options have
to select this to enable the support for PXA26x.

__gpio_is_inverted() will be optimized way when CONFIG_CPU_PXA26x
isn't selected.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
2008-12-02 14:42:37 +08:00
..
include/mach [ARM] pxa: add support for additional GPIOs on PXA26x 2008-12-02 14:42:37 +08:00
Kconfig [ARM] pxa: add support for additional GPIOs on PXA26x 2008-12-02 14:42:37 +08:00
Makefile [ARM] pxa: fix the corgi_ssp.c dependency issue in {corgi,spitz}_defconfig 2008-10-21 11:36:19 +08:00
Makefile.boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
am200epd.c [ARM] 5200/1: am200epd: use fb notifiers and gpio api 2008-08-26 17:01:14 +01:00
clock.c [ARM] clocklib: Allow dynamic alias creation 2008-08-12 12:54:30 +01:00
clock.h [ARM] clocklib: Allow dynamic alias creation 2008-08-12 12:54:30 +01:00
cm-x2xx-pci.c [ARM] 5282/1: pxa: add CM-X255 support 2008-10-07 12:05:07 +01:00
cm-x2xx-pci.h [ARM] 5280/1: pxa: prepare cm-x2xx.c and cm-x2xx-pci.[ch] for addition of CM-X255 2008-10-07 12:05:05 +01:00
cm-x2xx.c [ARM] 5282/1: pxa: add CM-X255 support 2008-10-07 12:05:07 +01:00
cm-x255.c [ARM] 5284/1: pxa: cm-x255: add NOR and NAND flash support 2008-10-07 12:08:14 +01:00
cm-x270.c [ARM] 5306/1: pxa: fix build error on CM-X270 2008-10-15 12:34:48 +01:00
cm-x300.c [ARM] ohci-pxa27x: introduce flags to avoid direct access to OHCI registers 2008-10-07 19:12:57 +01:00
colibri.c [ARM] pxa/colibri: convert to use new MFP API 2008-09-26 23:43:21 +01:00
corgi.c Merge branch 'pxa-all' into devel 2008-10-09 21:33:02 +01:00
corgi_lcd.c [ARM] pxa: fix the corgi_ssp.c dependency issue in {corgi,spitz}_defconfig 2008-10-21 11:36:19 +08:00
corgi_pm.c [ARM] corgi_lcd: fix simultaneous compilation with corgi_bl 2008-10-29 11:45:37 +08:00
corgi_ssp.c Revert "[ARM] pxa/corgi: remove now unused corgi_ssp.c and corgi_lcd.c" 2008-10-21 09:42:29 +08:00
cpufreq-pxa2xx.c cpufreq: remove policy->governor setting in drivers initialization 2008-10-15 16:42:47 -07:00
cpufreq-pxa3xx.c cpufreq: remove policy->governor setting in drivers initialization 2008-10-15 16:42:47 -07:00
devices.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
devices.h [ARM] 5201/1: PXA3xx: Add support for power i2c bus 2008-09-09 16:32:51 +01:00
dma.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
e330.c [ARM] eseries: move UDC defs to machine files 2008-08-19 13:44:07 +01:00
e350.c [ARM] eseries: move UDC defs to machine files 2008-08-19 13:44:07 +01:00
e400.c [ARM] eseries: move UDC defs to machine files 2008-08-19 13:44:07 +01:00
e740.c [ARM] eseries: move UDC defs to machine files 2008-08-19 13:44:07 +01:00
e750.c [ARM] eseries: move UDC defs to machine files 2008-08-19 13:44:07 +01:00
e800.c [ARM] eseries: move UDC defs to machine files 2008-08-19 13:44:07 +01:00
em-x270.c [ARM] ohci-pxa27x: introduce flags to avoid direct access to OHCI registers 2008-10-07 19:12:57 +01:00
eseries.c [ARM] eseries: move UDC defs to machine files 2008-08-19 13:44:07 +01:00
eseries.h [ARM] eseries: move UDC defs to machine files 2008-08-19 13:44:07 +01:00
ezx.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
generic.c [ARM] ohci-pxa27x: use ioremap() and offset for register access 2008-10-07 19:12:58 +01:00
generic.h [ARM] pxa: better MFP low power state support for pxa25x/pxa27x 2008-09-26 23:43:20 +01:00
gpio.c [ARM] pxa: add support for additional GPIOs on PXA26x 2008-12-02 14:42:37 +08:00
gumstix.c [ARM] 5197/1: gumstix: conversion to MFP support and add bluetooth support 2008-08-26 17:01:27 +01:00
idp.c [ARM] pxa/idp: remove the unnecessary idp_init_irq() 2008-09-26 23:43:21 +01:00
irq.c [ARM] 5233/1: Allow PXA to have ISA IRQs numbered 0-15 2008-09-01 17:13:26 +01:00
leds-idp.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds-lubbock.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds-mainstone.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds.c [ARM] 5251/1: remove old LED support for Trizeps4 SOM 2008-10-01 22:34:34 +01:00
leds.h fix file specification in comments 2006-10-03 23:01:26 +02:00
littleton.c [ARM] pxa/littleton: add support for SPI-based TDO24M LCD panel driver 2008-09-23 22:04:38 +01:00
lpd270.c [ARM] 5298/1: Drop desc_handle_irq() 2008-10-09 15:00:36 +01:00
lubbock.c [ARM] 5298/1: Drop desc_handle_irq() 2008-10-09 15:00:36 +01:00
magician.c [ARM] ohci-pxa27x: introduce flags to avoid direct access to OHCI registers 2008-10-07 19:12:57 +01:00
mainstone.c [ARM] 5298/1: Drop desc_handle_irq() 2008-10-09 15:00:36 +01:00
mfp-pxa2xx.c [ARM] pxa: add support for additional GPIOs on PXA26x 2008-12-02 14:42:37 +08:00
mfp-pxa3xx.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mioa701.c [ARM] 5202/1: pxa: Added Mitac Mio A701 smartphone support. 2008-08-26 17:01:37 +01:00
mioa701_bootresume.S [ARM] 5202/1: pxa: Added Mitac Mio A701 smartphone support. 2008-08-26 17:01:37 +01:00
mp900.c [ARM] 5277/1: Add basic support for MobilePro 900/c 2008-10-02 22:56:05 +01:00
palmtx.c [ARM] 5248/1: wm97xx generic battery driver 2008-10-02 22:48:34 +01:00
palmz72.c [ARM] 5239/1: Palm Zire 72 power management support 2008-10-09 15:12:07 +01:00
pcm027.c [ARM] pxa/pcm027: convert to use new MFP API 2008-09-26 23:43:22 +01:00
pcm990-baseboard.c [ARM] 5298/1: Drop desc_handle_irq() 2008-10-09 15:00:36 +01:00
pm.c [ARM] pxa: Allow platforms to override PSPR setting 2008-09-09 16:32:52 +01:00
poodle.c [ARM] pxa: fix typo in pxa25x MFP definitions 2008-09-26 23:43:20 +01:00
pwm.c [ARM] 5303/1: period_cycles should be greater than 1 2008-10-17 13:44:47 +01:00
pxa2xx.c Merge branch 'for-rmk' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6 2008-08-07 11:06:47 +01:00
pxa3xx.c [ARM] 5201/1: PXA3xx: Add support for power i2c bus 2008-09-09 16:32:51 +01:00
pxa25x.c [ARM] pxa: add support for additional GPIOs on PXA26x 2008-12-02 14:42:37 +08:00
pxa27x.c [ARM] pxa: use 'pxa_last_gpio' instead of 'gpio_nr' in mfp-pxa2xx.c 2008-12-02 14:42:36 +08:00
pxa300.c [ARM] 5212/1: pxa: fix build error when CPU_PXA310 is not defined 2008-08-20 23:17:13 +01:00
pxa320.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
pxa930.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
reset.c [ARM] 5330/1: mach-pxa: Fixup reset for systems using reboot=cold or other strings 2008-11-17 14:05:41 +00:00
saar.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
sharpsl.h [ARM] 4737/1: Refactor corgi_lcd to improve readability + bugfix 2008-01-28 13:13:25 +00:00
sharpsl_pm.c [ARM] pxa: fix the corgi_ssp.c dependency issue in {corgi,spitz}_defconfig 2008-10-21 11:36:19 +08:00
sleep.S [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
smemc.c [ARM] pxa: introduce sysdev for pxa3xx static memory controller 2008-02-04 13:17:33 +00:00
spitz.c [ARM] pxa: fix incorrect PCMCIA PSKTSEL pin configuration for spitz 2008-11-16 16:03:13 +08:00
spitz_pm.c [ARM] corgi_lcd: fix simultaneous compilation with corgi_bl 2008-10-29 11:45:37 +08:00
ssp.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
standby.S [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
tavorevb.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
time.c Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2008-10-11 10:09:45 -07:00
tosa-bt.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
tosa.c tosa: add support for bl/lcd driver 2008-10-21 00:19:49 +01:00
trizeps4.c [ARM] remove extra brace in arch/arm/mach-pxa/trizeps4.c 2008-10-18 14:24:08 +01:00
viper.c [ARM] 5308/1: Fix Viper ISA IRQ handling 2008-10-15 13:01:36 +01:00
zylonite.c [ARM] pxa/zylonite: add support for USB OHCI 2008-10-07 19:12:59 +01:00
zylonite_pxa300.c [ARM] pxa/zylonite: add support for USB OHCI 2008-10-07 19:12:59 +01:00
zylonite_pxa320.c [ARM] pxa/zylonite: add support for USB OHCI 2008-10-07 19:12:59 +01:00