diff options
author | Benn Pörscke <benn.porscke@stericsson.com> | 2011-10-07 15:31:57 +0200 |
---|---|---|
committer | Benn Pörscke <benn.porscke@stericsson.com> | 2011-10-07 15:31:57 +0200 |
commit | 47a4dbf83a75014d6b3467be18997894f1c617db (patch) | |
tree | 7f5d116db48205309fbc4ae0954f20ab8a651e46 /arch/arm/mach-ux500/Kconfig | |
parent | ea8a52f9f4bcc3420c38ae07f8378a2f18443970 (diff) |
Squashandroid-20111012
Change-Id: If0ae9fa8067740ab2ede33703c79ec134f204a5e
Diffstat (limited to 'arch/arm/mach-ux500/Kconfig')
-rw-r--r-- | arch/arm/mach-ux500/Kconfig | 269 |
1 files changed, 252 insertions, 17 deletions
diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux500/Kconfig index 6625e5bbf4d..d753fff92b1 100644 --- a/arch/arm/mach-ux500/Kconfig +++ b/arch/arm/mach-ux500/Kconfig @@ -1,42 +1,277 @@ if ARCH_U8500 -config UX500_SOC_COMMON +# Old bootloaders pass the Nomadik machine type, and the MACH_ option named +# after the machine type must be present and selected for machine_is_*() to +# work +config MACH_NOMADIK bool - default y - select ARM_GIC - select HAS_MTU - select NOMADIK_GPIO -config UX500_SOC_DB8500 +config MACH_HREFV60 bool +config MACH_SNOWBALL + bool + +choice + prompt "Ux500 platform" + default UX500_SOC_DB8500 + +config UX500_SOC_DB8500 + select CPU_V7 + select ARM_GIC + select SMP + select ARM_ERRATA_753970 + select SYS_SOC + bool "U8500" + config UX500_SOC_DB5500 + select CPU_V7 + select ARM_GIC + bool "U5500" + +endchoice + +config UX500_SVP bool +if UX500_SOC_DB8500 + +menu "U8500 Machines" + +config MACH_SVP8500V1 + bool "U8500 Simulator v1 (SVP8500v1)" + select UX500_SVP + help + Support Simulation for u8500 platform (v1) + +config MACH_SVP8500V2 + bool "U8500 Simulator v2 (SVP8500v2)" + select UX500_SVP + help + Supports Simulation for u8500 platform (v2) + +config MACH_U8500 + bool "U8500 MOP500/HREF/custom HW" + select MACH_NOMADIK + select MACH_HREFV60 + help + Supports the generic U8500 board type used for MOP500/HREF and some + custom boards. Boards using the generic type cannot be built + together; select the specific board in the "U8500 HW" option. + +config MACH_SNOWBALL + bool "U8500 Snowball" + select MACH_U8500 + select MACH_NOMADIK + help + Supports the Snowball board + +# If you are porting onto a new board, you really should be using a new machine +# type and adding an entry into this list, not the "U8500 HW" list below. + +endmenu + +if MACH_U8500 + choice - prompt "Ux500 target platform" + prompt "U8500 HW" default MACH_U8500_MOP config MACH_U8500_MOP - bool "U8500 Development platform" - select UX500_SOC_DB8500 + bool "MOP500/HREF" + help + Supports MOP500/HREF development boards. + +config MACH_U8500_SNOWBALL + bool "u8500 snowball" + help + Support for the u8500 snowball board. + +config MACH_U8500_PDP + bool "PDP" + help + Supports PDP target board + +endchoice + +endif + +endif + +if UX500_SOC_DB5500 + +menu "U5500 Machines" + +config MACH_SVP5500 + bool "U5500 Simulator (SVP5500)" + select UX500_SVP + help + Support for the U5500 Simulator + +config MACH_B5500 + bool "U5500 Big Board (B5500)" + help + Support for the U5500 Big Board +endmenu + +endif + +choice + prompt "Ux500 UIB Keylayout" + default KEYLAYOUT_LAYOUT1 + +config KEYLAYOUT_LAYOUT1 + bool "UIB Keylayout 1; for generic users" help - Include support for mop500 development platform - based on U8500 architecture. The platform is based - on early drop silicon version of 8500. + Supported keylayout for some numerics, power/call buttons, + volume control etc -config MACH_U5500 - bool "U5500 Development platform" - select UX500_SOC_DB5500 +config KEYLAYOUT_LAYOUT2 + bool "UIB Keylayout 2; for connectivity users" help - Include support for the U5500 development platform. + Supports keylayout numerics 0-9, left/right/up/down/back/ + enter keys and special character "."(dot) + endchoice +choice + prompt "Ux500 sched_clock timer" + default UX500_MTU_TIMER + +config U8500_PRCMU_TIMER + bool "PRCMU Timer sched_clock" + depends on (UX500_SOC_DB8500 && !HAS_MTU) + help + Add support for an always on sched_clock, required for + proper cpuidle and suspend. + +config UX500_MTU_TIMER + bool "Multi Timer Unit sched_clock" + help + Add sched_clock support for the Multi Timer Unit. + Since mtu isn't always on cpuidle will not + work with this clock. + +endchoice + +config U8500_PRCMU + bool "U8500 PRCMU support" + depends on UX500_SOC_DB8500 + default n + help + Add support for PRCMU for U8500 + +config U5500_PRCMU + bool "U5500 PRCMU support" + depends on UX500_SOC_DB5500 + default y + help + Add support for PRCMU for U5500 + +config UX500_PRCMU_QOS_POWER + bool "UX500 PRCMU power QoS support" + depends on (U5500_PRCMU || U8500_PRCMU) + default y + help + Add support for PRCMU power Quality of Service + +config UX500_PRCMU_DEBUG + bool "PRCMU debug" + depends on ((U5500_PRCMU || U8500_PRCMU) && DEBUG_FS) + default n + help + Add support for PRCMU debug + +config U8500_REGULATOR_DEBUG + bool "Regulator debug support" + depends on REGULATOR_VIRTUAL_CONSUMER + default n + help + Add support for U8500 regulator debug + +config U5500_PWM + bool "PWM support" + default y + depends on UX500_SOC_DB5500 + help + Add support for PWM for U5500 + +config MOP500_SDI + bool + default y + depends on ((MACH_U8500_MOP || \ + MACH_U8500_PDP || \ + MACH_U8500_SNOWBALL) && MMC_ARMMMCI) + +config ARCH_HAS_CPU_IDLE_WAIT + def_bool y + config UX500_DEBUG_UART int "Ux500 UART to use for low-level debug" - default 2 + default 2 if UX500_SOC_DB8500 + default 0 if UX500_SOC_DB5500 help Choose the UART on which kernel low-level debug messages should be output. + +config SENSORS1P_MOP + tristate "HAL and Proximity sensors support" + depends on REGULATOR && (GPIO_STMPE2401 || GPIO_TC35892) + default y + help + Add support for Osram's SFH7741 Proximity Sensor and Samsumg + HED54XXU11 HAL Switch + +config U5500_MODEM_IRQ + bool "Modem IRQ support" + depends on UX500_SOC_DB5500 + default y + help + Add support for handling IRQ:s from modem side + +config MOP500_NUIB + bool "MOP500 NUIB" + depends on MACH_U8500_MOP + default y + help + Add support for the platform data of synaptics rmi4 driver + +config TEE_UX500 + bool "Trusted Execution Environment (TEE) ux500 hardware support" + depends on TEE_SUPPORT + default y + help + Adds TEE hardware support for ux500 platforms. + +config TEE_SVP + bool "Trusted Execution Environment (TEE) ux500 SVP support" + depends on TEE_SUPPORT && UX500_SVP + default y + help + Adds TEE support for SVP in ux500 platforms. + +config DB8500_MLOADER + bool "Modem firmware upload/download support" + depends on UX500_SOC_DB8500 + select DBX500_MLOADER + default n + help + Adds Modem firmware upload/download support to DB8500. + +config UX500_DEBUG_HWREG + bool "Debug hardware registers from userspace" + depends on (DEBUG_FS && UX500_SOC_DB8500) + help + Adds various debug files to access registers. + This should never ever be used for anything else than debugging. + +config UX500_DEBUG_NO_LAUTERBACH + bool "Disable clocks needed for Lauterbach debugging" + help + Disable clocks needed for Lauterbach debugging at boot. + If yes, you will reduce the power consumption. + +source "arch/arm/mach-ux500/Kconfig-arch" +source "arch/arm/mach-ux500/pm/Kconfig" endif |