2008-09-09 08:13:33 -06:00
|
|
|
if ARCH_MSM
|
2007-11-26 05:12:13 -07:00
|
|
|
|
2010-03-16 17:29:44 -06:00
|
|
|
choice
|
|
|
|
prompt "Qualcomm MSM SoC Type"
|
|
|
|
default ARCH_MSM7X00A
|
|
|
|
|
|
|
|
config ARCH_MSM7X00A
|
|
|
|
bool "MSM7x00A / MSM7x01A"
|
2010-10-12 12:52:14 -06:00
|
|
|
select MACH_TROUT if !MACH_HALIBUT
|
2010-03-16 17:29:44 -06:00
|
|
|
select ARCH_MSM_ARM11
|
2010-04-22 15:16:46 -06:00
|
|
|
select MSM_SMD
|
2010-03-16 17:29:44 -06:00
|
|
|
select MSM_SMD_PKG3
|
|
|
|
select CPU_V6
|
2010-04-21 17:20:27 -06:00
|
|
|
select MSM_PROC_COMM
|
2010-08-18 12:00:25 -06:00
|
|
|
select HAS_MSM_DEBUG_UART_PHYS
|
2010-03-16 17:29:44 -06:00
|
|
|
|
2010-05-06 13:44:57 -06:00
|
|
|
config ARCH_MSM7X30
|
|
|
|
bool "MSM7x30"
|
2010-10-12 12:52:14 -06:00
|
|
|
select MACH_MSM7X30_SURF # if !
|
2010-05-06 13:44:57 -06:00
|
|
|
select ARCH_MSM_SCORPION
|
|
|
|
select MSM_SMD
|
|
|
|
select MSM_VIC
|
|
|
|
select CPU_V7
|
2010-09-01 17:26:12 -06:00
|
|
|
select MSM_GPIOMUX
|
2010-04-21 17:20:27 -06:00
|
|
|
select MSM_PROC_COMM
|
2010-08-18 12:00:25 -06:00
|
|
|
select HAS_MSM_DEBUG_UART_PHYS
|
2010-05-06 13:44:57 -06:00
|
|
|
|
2010-05-06 14:54:17 -06:00
|
|
|
config ARCH_QSD8X50
|
|
|
|
bool "QSD8X50"
|
2010-10-12 12:52:14 -06:00
|
|
|
select MACH_QSD8X50_SURF if !MACH_QSD8X50A_ST1_5
|
2010-05-06 14:54:17 -06:00
|
|
|
select ARCH_MSM_SCORPION
|
|
|
|
select MSM_SMD
|
|
|
|
select MSM_VIC
|
|
|
|
select CPU_V7
|
2010-09-01 17:26:12 -06:00
|
|
|
select MSM_GPIOMUX
|
2010-04-21 17:20:27 -06:00
|
|
|
select MSM_PROC_COMM
|
2010-08-18 12:00:25 -06:00
|
|
|
select HAS_MSM_DEBUG_UART_PHYS
|
|
|
|
|
2010-08-12 14:02:56 -06:00
|
|
|
config ARCH_MSM8X60
|
|
|
|
bool "MSM8X60"
|
2010-10-12 12:52:14 -06:00
|
|
|
select MACH_MSM8X60_SURF if (!MACH_MSM8X60_RUMI3 && !MACH_MSM8X60_SIM \
|
|
|
|
&& !MACH_MSM8X60_FFA)
|
2010-11-30 14:06:36 -07:00
|
|
|
select ARCH_MSM_SCORPIONMP
|
2010-08-12 14:02:56 -06:00
|
|
|
select ARM_GIC
|
|
|
|
select CPU_V7
|
|
|
|
select MSM_V2_TLMM
|
|
|
|
select MSM_GPIOMUX
|
2010-08-27 11:01:23 -06:00
|
|
|
select MSM_SCM if SMP
|
2010-08-12 14:02:56 -06:00
|
|
|
|
2010-12-01 20:31:16 -07:00
|
|
|
config ARCH_MSM8960
|
|
|
|
bool "MSM8960"
|
|
|
|
select ARCH_MSM_SCORPIONMP
|
2010-12-13 19:12:19 -07:00
|
|
|
select MACH_MSM8960_SIM if (!MACH_MSM8960_RUMI3)
|
2010-12-01 20:31:16 -07:00
|
|
|
select ARM_GIC
|
|
|
|
select CPU_V7
|
|
|
|
select MSM_V2_TLMM
|
|
|
|
select MSM_GPIOMUX
|
|
|
|
select MSM_SCM if SMP
|
|
|
|
|
2010-03-16 17:29:44 -06:00
|
|
|
endchoice
|
|
|
|
|
2010-05-06 14:54:17 -06:00
|
|
|
config MSM_SOC_REV_A
|
|
|
|
bool
|
2010-11-22 13:35:41 -07:00
|
|
|
config ARCH_MSM_SCORPIONMP
|
|
|
|
bool
|
2010-05-06 14:54:17 -06:00
|
|
|
|
|
|
|
config ARCH_MSM_ARM11
|
|
|
|
bool
|
|
|
|
config ARCH_MSM_SCORPION
|
2010-03-16 17:29:44 -06:00
|
|
|
bool
|
|
|
|
|
2010-08-18 12:00:25 -06:00
|
|
|
config HAS_MSM_DEBUG_UART_PHYS
|
|
|
|
bool
|
|
|
|
|
2010-04-30 23:06:50 -06:00
|
|
|
config MSM_VIC
|
|
|
|
bool
|
2010-03-16 17:29:44 -06:00
|
|
|
|
2010-05-06 14:54:17 -06:00
|
|
|
menu "Qualcomm MSM Board Type"
|
|
|
|
|
|
|
|
config MACH_HALIBUT
|
2008-09-09 08:13:33 -06:00
|
|
|
depends on ARCH_MSM
|
2010-05-06 14:54:17 -06:00
|
|
|
depends on ARCH_MSM7X00A
|
|
|
|
bool "Halibut Board (QCT SURF7201A)"
|
|
|
|
help
|
|
|
|
Support for the Qualcomm SURF7201A eval board.
|
|
|
|
|
|
|
|
config MACH_TROUT
|
|
|
|
depends on ARCH_MSM
|
|
|
|
depends on ARCH_MSM7X00A
|
|
|
|
bool "HTC Dream (aka trout)"
|
|
|
|
help
|
|
|
|
Support for the HTC Dream, T-Mobile G1, Android ADP1 devices.
|
|
|
|
|
2010-05-06 13:44:57 -06:00
|
|
|
config MACH_MSM7X30_SURF
|
|
|
|
depends on ARCH_MSM7X30
|
|
|
|
bool "MSM7x30 SURF"
|
|
|
|
help
|
|
|
|
Support for the Qualcomm MSM7x30 SURF eval board.
|
|
|
|
|
2010-05-06 14:54:17 -06:00
|
|
|
config MACH_QSD8X50_SURF
|
|
|
|
depends on ARCH_QSD8X50
|
|
|
|
bool "QSD8x50 SURF"
|
|
|
|
help
|
|
|
|
Support for the Qualcomm QSD8x50 SURF eval board.
|
|
|
|
|
|
|
|
config MACH_QSD8X50A_ST1_5
|
|
|
|
depends on ARCH_QSD8X50
|
|
|
|
select MSM_SOC_REV_A
|
|
|
|
bool "QSD8x50A ST1.5"
|
|
|
|
help
|
|
|
|
Support for the Qualcomm ST1.5.
|
|
|
|
|
2010-01-07 13:43:24 -07:00
|
|
|
config MACH_MSM8X60_RUMI3
|
|
|
|
depends on ARCH_MSM8X60
|
|
|
|
bool "MSM8x60 RUMI3"
|
|
|
|
help
|
|
|
|
Support for the Qualcomm MSM8x60 RUMI3 emulator.
|
|
|
|
|
2010-03-19 18:00:08 -06:00
|
|
|
config MACH_MSM8X60_SURF
|
|
|
|
depends on ARCH_MSM8X60
|
|
|
|
bool "MSM8x60 SURF"
|
|
|
|
help
|
|
|
|
Support for the Qualcomm MSM8x60 SURF eval board.
|
|
|
|
|
2010-01-07 13:51:10 -07:00
|
|
|
config MACH_MSM8X60_SIM
|
|
|
|
depends on ARCH_MSM8X60
|
|
|
|
bool "MSM8x60 Simulator"
|
|
|
|
help
|
|
|
|
Support for the Qualcomm MSM8x60 simulator.
|
|
|
|
|
2010-04-04 23:29:02 -06:00
|
|
|
config MACH_MSM8X60_FFA
|
|
|
|
depends on ARCH_MSM8X60
|
|
|
|
bool "MSM8x60 FFA"
|
|
|
|
help
|
|
|
|
Support for the Qualcomm MSM8x60 FFA eval board.
|
|
|
|
|
2010-12-01 20:31:16 -07:00
|
|
|
config MACH_MSM8960_SIM
|
|
|
|
depends on ARCH_MSM8960
|
|
|
|
bool "MSM8960 Simulator"
|
|
|
|
help
|
|
|
|
Support for the Qualcomm MSM8960 simulator.
|
|
|
|
|
2010-12-13 19:12:19 -07:00
|
|
|
config MACH_MSM8960_RUMI3
|
|
|
|
depends on ARCH_MSM8960
|
|
|
|
bool "MSM8960 RUMI3"
|
|
|
|
help
|
|
|
|
Support for the Qualcomm MSM8960 RUMI3 emulator.
|
|
|
|
|
2010-05-06 14:54:17 -06:00
|
|
|
endmenu
|
2007-11-26 05:12:13 -07:00
|
|
|
|
2011-02-11 13:28:16 -07:00
|
|
|
config MSM_IOMMU
|
|
|
|
bool "MSM IOMMU Support"
|
2011-02-11 13:28:18 -07:00
|
|
|
depends on ARCH_MSM8X60 || ARCH_MSM8960
|
2011-02-11 13:28:16 -07:00
|
|
|
select IOMMU_API
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Support for the IOMMUs found on certain Qualcomm SOCs.
|
|
|
|
These IOMMUs allow virtualization of the address space used by most
|
|
|
|
cores within the multimedia subsystem.
|
|
|
|
|
|
|
|
If unsure, say N here.
|
|
|
|
|
2010-11-15 18:46:10 -07:00
|
|
|
config IOMMU_PGTABLES_L2
|
|
|
|
def_bool y
|
2011-02-28 17:04:56 -07:00
|
|
|
depends on MSM_IOMMU && MMU && SMP && CPU_DCACHE_DISABLE=n
|
2010-11-15 18:46:10 -07:00
|
|
|
|
2009-11-02 03:48:29 -07:00
|
|
|
config MSM_DEBUG_UART
|
|
|
|
int
|
|
|
|
default 1 if MSM_DEBUG_UART1
|
|
|
|
default 2 if MSM_DEBUG_UART2
|
|
|
|
default 3 if MSM_DEBUG_UART3
|
|
|
|
|
2010-08-18 12:00:25 -06:00
|
|
|
if HAS_MSM_DEBUG_UART_PHYS
|
2009-11-02 03:48:29 -07:00
|
|
|
choice
|
|
|
|
prompt "Debug UART"
|
|
|
|
|
|
|
|
default MSM_DEBUG_UART_NONE
|
|
|
|
|
|
|
|
config MSM_DEBUG_UART_NONE
|
|
|
|
bool "None"
|
|
|
|
|
|
|
|
config MSM_DEBUG_UART1
|
|
|
|
bool "UART1"
|
|
|
|
|
|
|
|
config MSM_DEBUG_UART2
|
|
|
|
bool "UART2"
|
|
|
|
|
|
|
|
config MSM_DEBUG_UART3
|
|
|
|
bool "UART3"
|
|
|
|
endchoice
|
2010-08-18 12:00:25 -06:00
|
|
|
endif
|
2009-11-02 03:48:29 -07:00
|
|
|
|
2010-03-16 17:29:44 -06:00
|
|
|
config MSM_SMD_PKG3
|
|
|
|
bool
|
|
|
|
|
2010-04-21 17:20:27 -06:00
|
|
|
config MSM_PROC_COMM
|
|
|
|
bool
|
|
|
|
|
2008-09-29 17:00:48 -06:00
|
|
|
config MSM_SMD
|
2010-04-22 15:16:46 -06:00
|
|
|
bool
|
2008-09-29 17:00:48 -06:00
|
|
|
|
2010-09-01 17:26:12 -06:00
|
|
|
config MSM_GPIOMUX
|
|
|
|
bool
|
|
|
|
|
msm: add gpiomux api for gpio multiplex & configuration.
Add the 'gpiomux' api, which addresses the following shortcomings
of existing tlmm api:
- gpio power-collapse, which is managed by a peripheral processor on
other targets, must be managed by the application processor on the 8x60.
- The enable/disable flag of the legacy gpio_tlmm_config api
is not applicable on the 8x60, and causes confusion.
- The gpio 'direction' bits are meaningless for all func_sel
configurations except for generic-gpio mode (func_sel 0), in which
case the gpio_direction_* functions should be used. Having these
bits in the tlmm api leads to confusion and misuse of the gpiolib
api, and they have been removed in gpiomux.
- The functional api of the legacy system ran contrary to the typical
use-case, which is a single massive configuration at boot. Rather
than forcing hundreds of 'config' function calls, the new api
allows data to be configured with a single table.
gpiomux_get and gpiomux_put are meant to be called automatically
when gpio_request and gpio_free are called, giving automatic
gpiomux/tlmm control to those drivers/lines with simple
power profiles - in the simplest cases, an entry in the gpiomux table
and the correct usage of gpiolib is all that is required to get proper
gpio power control.
Signed-off-by: Gregory Bean <gbean@codeaurora.org>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
2010-08-28 11:05:44 -06:00
|
|
|
config MSM_V2_TLMM
|
|
|
|
bool
|
2010-11-12 20:29:57 -07:00
|
|
|
|
|
|
|
config IOMMU_API
|
|
|
|
bool
|
2010-08-27 11:01:23 -06:00
|
|
|
|
|
|
|
config MSM_SCM
|
|
|
|
bool
|
2007-11-26 05:12:13 -07:00
|
|
|
endif
|