forked from Minki/linux
067455aa53
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>
448 lines
8.4 KiB
Plaintext
448 lines
8.4 KiB
Plaintext
if ARCH_PXA
|
|
|
|
menu "Intel PXA2xx/PXA3xx Implementations"
|
|
|
|
if PXA3xx
|
|
|
|
menu "Supported PXA3xx Processor Variants"
|
|
|
|
config CPU_PXA300
|
|
bool "PXA300 (codename Monahans-L)"
|
|
|
|
config CPU_PXA310
|
|
bool "PXA310 (codename Monahans-LV)"
|
|
select CPU_PXA300
|
|
|
|
config CPU_PXA320
|
|
bool "PXA320 (codename Monahans-P)"
|
|
|
|
config CPU_PXA930
|
|
bool "PXA930 (codename Tavor-P)"
|
|
|
|
endmenu
|
|
|
|
endif
|
|
|
|
config ARCH_GUMSTIX
|
|
bool "Gumstix XScale boards"
|
|
help
|
|
Say Y here if you intend to run this kernel on a
|
|
Gumstix Full Function Minature Computer.
|
|
|
|
config MACH_GUMSTIX_F
|
|
bool "Basix, Connex, ws-200ax, ws-400ax systems"
|
|
depends on ARCH_GUMSTIX
|
|
select PXA25x
|
|
|
|
config ARCH_LUBBOCK
|
|
bool "Intel DBPXA250 Development Platform"
|
|
select PXA25x
|
|
select SA1111
|
|
select PXA_HAVE_BOARD_IRQS
|
|
|
|
config MACH_LOGICPD_PXA270
|
|
bool "LogicPD PXA270 Card Engine Development Platform"
|
|
select PXA27x
|
|
select HAVE_PWM
|
|
select PXA_HAVE_BOARD_IRQS
|
|
|
|
config MACH_MAINSTONE
|
|
bool "Intel HCDDBBVA0 Development Platform"
|
|
select PXA27x
|
|
select HAVE_PWM
|
|
select PXA_HAVE_BOARD_IRQS
|
|
|
|
config MACH_MP900C
|
|
bool "Nec Mobilepro 900/c"
|
|
select PXA25x
|
|
|
|
config ARCH_PXA_IDP
|
|
bool "Accelent Xscale IDP"
|
|
select PXA25x
|
|
|
|
config PXA_SHARPSL
|
|
bool "SHARP Zaurus SL-5600, SL-C7xx and SL-Cxx00 Models"
|
|
select SHARP_SCOOP
|
|
select SHARP_PARAM
|
|
help
|
|
Say Y here if you intend to run this kernel on a
|
|
Sharp Zaurus SL-5600 (Poodle), SL-C700 (Corgi),
|
|
SL-C750 (Shepherd), SL-C760 (Husky), SL-C1000 (Akita),
|
|
SL-C3000 (Spitz), SL-C3100 (Borzoi) or SL-C6000x (Tosa)
|
|
handheld computer.
|
|
|
|
config CORGI_SSP_DEPRECATED
|
|
bool
|
|
select PXA_SSP
|
|
help
|
|
This option will include corgi_ssp.c and corgi_lcd.c
|
|
that corgi_ts.c and other legacy drivers (corgi_bl.c
|
|
and sharpsl_pm.c) may depend on.
|
|
|
|
config MACH_POODLE
|
|
bool "Enable Sharp SL-5600 (Poodle) Support"
|
|
depends on PXA_SHARPSL
|
|
select PXA25x
|
|
select SHARP_LOCOMO
|
|
select PXA_SSP
|
|
|
|
config MACH_CORGI
|
|
bool "Enable Sharp SL-C700 (Corgi) Support"
|
|
depends on PXA_SHARPSL
|
|
select PXA25x
|
|
select PXA_SHARP_C7xx
|
|
|
|
config MACH_SHEPHERD
|
|
bool "Enable Sharp SL-C750 (Shepherd) Support"
|
|
depends on PXA_SHARPSL
|
|
select PXA25x
|
|
select PXA_SHARP_C7xx
|
|
|
|
config MACH_HUSKY
|
|
bool "Enable Sharp SL-C760 (Husky) Support"
|
|
depends on PXA_SHARPSL
|
|
select PXA25x
|
|
select PXA_SHARP_C7xx
|
|
|
|
config MACH_AKITA
|
|
bool "Enable Sharp SL-1000 (Akita) Support"
|
|
depends on PXA_SHARPSL
|
|
select PXA27x
|
|
select PXA_SHARP_Cxx00
|
|
select MACH_SPITZ
|
|
select I2C
|
|
select I2C_PXA
|
|
|
|
config MACH_SPITZ
|
|
bool "Enable Sharp Zaurus SL-3000 (Spitz) Support"
|
|
depends on PXA_SHARPSL
|
|
select PXA27x
|
|
select PXA_SHARP_Cxx00
|
|
|
|
config MACH_BORZOI
|
|
bool "Enable Sharp Zaurus SL-3100 (Borzoi) Support"
|
|
depends on PXA_SHARPSL
|
|
select PXA27x
|
|
select PXA_SHARP_Cxx00
|
|
|
|
config MACH_TOSA
|
|
bool "Enable Sharp SL-6000x (Tosa) Support"
|
|
depends on PXA_SHARPSL
|
|
select PXA25x
|
|
select PXA_HAVE_BOARD_IRQS
|
|
|
|
config ARCH_VIPER
|
|
bool "Arcom/Eurotech VIPER SBC"
|
|
select PXA25x
|
|
select ISA
|
|
select I2C_GPIO
|
|
select HAVE_PWM
|
|
select PXA_HAVE_BOARD_IRQS
|
|
select PXA_HAVE_ISA_IRQS
|
|
|
|
config ARCH_PXA_ESERIES
|
|
bool "PXA based Toshiba e-series PDAs"
|
|
select PXA25x
|
|
select PXA_HAVE_BOARD_IRQS
|
|
|
|
config MACH_E330
|
|
bool "Toshiba e330"
|
|
default y
|
|
depends on ARCH_PXA_ESERIES
|
|
help
|
|
Say Y here if you intend to run this kernel on a Toshiba
|
|
e330 family PDA.
|
|
|
|
config MACH_E350
|
|
bool "Toshiba e350"
|
|
default y
|
|
depends on ARCH_PXA_ESERIES
|
|
help
|
|
Say Y here if you intend to run this kernel on a Toshiba
|
|
e350 family PDA.
|
|
|
|
config MACH_E740
|
|
bool "Toshiba e740"
|
|
default y
|
|
depends on ARCH_PXA_ESERIES
|
|
select FB_W100
|
|
help
|
|
Say Y here if you intend to run this kernel on a Toshiba
|
|
e740 family PDA.
|
|
|
|
config MACH_E750
|
|
bool "Toshiba e750"
|
|
default y
|
|
depends on ARCH_PXA_ESERIES
|
|
select FB_W100
|
|
help
|
|
Say Y here if you intend to run this kernel on a Toshiba
|
|
e750 family PDA.
|
|
|
|
config MACH_E400
|
|
bool "Toshiba e400"
|
|
default y
|
|
depends on ARCH_PXA_ESERIES
|
|
help
|
|
Say Y here if you intend to run this kernel on a Toshiba
|
|
e400 family PDA.
|
|
|
|
config MACH_E800
|
|
bool "Toshiba e800"
|
|
default y
|
|
depends on ARCH_PXA_ESERIES
|
|
select FB_W100
|
|
help
|
|
Say Y here if you intend to run this kernel on a Toshiba
|
|
e800 family PDA.
|
|
|
|
config TRIZEPS_PXA
|
|
bool "PXA based Keith und Koep Trizeps DIMM-Modules"
|
|
|
|
config MACH_TRIZEPS4
|
|
bool "Keith und Koep Trizeps4 DIMM-Module"
|
|
depends on TRIZEPS_PXA
|
|
select TRIZEPS_PCMCIA
|
|
select PXA27x
|
|
|
|
config MACH_TRIZEPS4WL
|
|
bool "Keith und Koep Trizeps4-WL DIMM-Module"
|
|
depends on TRIZEPS_PXA
|
|
select TRIZEPS_PCMCIA
|
|
select PXA27x
|
|
select PXA_SSP
|
|
|
|
choice
|
|
prompt "Select base board for Trizeps module"
|
|
depends on TRIZEPS_PXA
|
|
|
|
config MACH_TRIZEPS_CONXS
|
|
bool "ConXS Eval Board"
|
|
|
|
config MACH_TRIZEPS_UCONXS
|
|
bool "uConXS Eval Board"
|
|
|
|
config MACH_TRIZEPS_ANY
|
|
bool "another Board"
|
|
|
|
endchoice
|
|
|
|
config TRIZEPS_PCMCIA
|
|
bool
|
|
help
|
|
Enable PCMCIA support for Trizeps modules
|
|
|
|
config MACH_EM_X270
|
|
bool "CompuLab EM-x270 platform"
|
|
select PXA27x
|
|
|
|
config MACH_COLIBRI
|
|
bool "Toradex Colibri PX27x"
|
|
select PXA27x
|
|
|
|
config MACH_ZYLONITE
|
|
bool "PXA3xx Development Platform (aka Zylonite)"
|
|
select PXA3xx
|
|
select PXA_SSP
|
|
select HAVE_PWM
|
|
|
|
config MACH_LITTLETON
|
|
bool "PXA3xx Form Factor Platform (aka Littleton)"
|
|
select PXA3xx
|
|
select PXA_SSP
|
|
|
|
config MACH_TAVOREVB
|
|
bool "PXA930 Evaluation Board (aka TavorEVB)"
|
|
select PXA3xx
|
|
select PXA930
|
|
|
|
config MACH_SAAR
|
|
bool "PXA930 Handheld Platform (aka SAAR)"
|
|
select PXA3xx
|
|
select PXA930
|
|
|
|
config MACH_ARMCORE
|
|
bool "CompuLab CM-X255/CM-X270 modules"
|
|
select PXA27x
|
|
select IWMMXT
|
|
select PXA25x
|
|
select PXA_SSP
|
|
|
|
config MACH_CM_X300
|
|
bool "CompuLab CM-X300 modules"
|
|
select PXA3xx
|
|
select CPU_PXA300
|
|
|
|
config MACH_MAGICIAN
|
|
bool "Enable HTC Magician Support"
|
|
select PXA27x
|
|
select IWMMXT
|
|
select PXA_HAVE_BOARD_IRQS
|
|
|
|
config MACH_MIOA701
|
|
bool "Mitac Mio A701 Support"
|
|
select PXA27x
|
|
select IWMMXT
|
|
select LEDS_GPIO
|
|
select HAVE_PWM
|
|
select GPIO_SYSFS
|
|
help
|
|
Say Y here if you intend to run this kernel on a
|
|
MIO A701. Currently there is only basic support
|
|
for this PDA.
|
|
|
|
config MACH_PCM027
|
|
bool "Phytec phyCORE-PXA270 CPU module (PCM-027)"
|
|
select PXA27x
|
|
select IWMMXT
|
|
select PXA_SSP
|
|
select PXA_HAVE_BOARD_IRQS
|
|
|
|
config ARCH_PXA_PALM
|
|
bool "PXA based Palm PDAs"
|
|
select HAVE_PWM
|
|
|
|
config MACH_PALMTX
|
|
bool "Palm T|X"
|
|
default y
|
|
depends on ARCH_PXA_PALM
|
|
select PXA27x
|
|
select IWMMXT
|
|
help
|
|
Say Y here if you intend to run this kernel on a Palm T|X
|
|
handheld computer.
|
|
|
|
config MACH_PALMZ72
|
|
bool "Palm Zire 72"
|
|
default y
|
|
depends on ARCH_PXA_PALM
|
|
select PXA27x
|
|
select IWMMXT
|
|
help
|
|
Say Y here if you intend to run this kernel on Palm Zire 72
|
|
handheld computer.
|
|
|
|
config MACH_PCM990_BASEBOARD
|
|
bool "PHYTEC PCM-990 development board"
|
|
select HAVE_PWM
|
|
depends on MACH_PCM027
|
|
|
|
choice
|
|
prompt "display on pcm990"
|
|
depends on MACH_PCM990_BASEBOARD
|
|
|
|
config PCM990_DISPLAY_SHARP
|
|
bool "sharp lq084v1dg21 stn display"
|
|
|
|
config PCM990_DISPLAY_NEC
|
|
bool "nec nl6448bc20_18d tft display"
|
|
|
|
config PCM990_DISPLAY_NONE
|
|
bool "no display"
|
|
|
|
endchoice
|
|
|
|
config MACH_AM200EPD
|
|
depends on MACH_GUMSTIX_F
|
|
bool "Enable AM200EPD board support"
|
|
|
|
config PXA_EZX
|
|
bool "Motorola EZX Platform"
|
|
select PXA27x
|
|
select IWMMXT
|
|
select HAVE_PWM
|
|
|
|
config MACH_EZX_A780
|
|
bool "Motorola EZX A780"
|
|
default y
|
|
depends on PXA_EZX
|
|
|
|
config MACH_EZX_E680
|
|
bool "Motorola EZX E680"
|
|
default y
|
|
depends on PXA_EZX
|
|
|
|
config MACH_EZX_A1200
|
|
bool "Motorola EZX A1200"
|
|
default y
|
|
depends on PXA_EZX
|
|
|
|
config MACH_EZX_A910
|
|
bool "Motorola EZX A910"
|
|
default y
|
|
depends on PXA_EZX
|
|
|
|
config MACH_EZX_E6
|
|
bool "Motorola EZX E6"
|
|
default y
|
|
depends on PXA_EZX
|
|
|
|
config MACH_EZX_E2
|
|
bool "Motorola EZX E2"
|
|
default y
|
|
depends on PXA_EZX
|
|
|
|
endmenu
|
|
|
|
config PXA25x
|
|
bool
|
|
help
|
|
Select code specific to PXA21x/25x/26x variants
|
|
|
|
config PXA27x
|
|
bool
|
|
help
|
|
Select code specific to PXA27x variants
|
|
|
|
config CPU_PXA26x
|
|
bool
|
|
select PXA25x
|
|
help
|
|
Select code specific to PXA26x (codename Dalhart)
|
|
|
|
config PXA3xx
|
|
bool
|
|
help
|
|
Select code specific to PXA3xx variants
|
|
|
|
config PXA_SHARP_C7xx
|
|
bool
|
|
select PXA_SSP
|
|
select SHARPSL_PM
|
|
help
|
|
Enable support for all Sharp C7xx models
|
|
|
|
config PXA_SHARP_Cxx00
|
|
bool
|
|
select PXA_SSP
|
|
select SHARPSL_PM
|
|
help
|
|
Enable common support for Sharp Cxx00 models
|
|
|
|
config PXA_SSP
|
|
tristate
|
|
help
|
|
Enable support for PXA2xx SSP ports
|
|
|
|
config PXA_PWM
|
|
tristate
|
|
default BACKLIGHT_PWM
|
|
help
|
|
Enable support for PXA2xx/PXA3xx PWM controllers
|
|
|
|
config TOSA_BT
|
|
tristate "Control the state of built-in bluetooth chip on Sharp SL-6000"
|
|
depends on MACH_TOSA
|
|
select RFKILL
|
|
help
|
|
This is a simple driver that is able to control
|
|
the state of built in bluetooth chip on tosa.
|
|
|
|
config PXA_HAVE_BOARD_IRQS
|
|
bool
|
|
|
|
config PXA_HAVE_ISA_IRQS
|
|
bool
|
|
|
|
endif
|