aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2014-01-09 03:09:16 -0500
committerOlof Johansson <olof@lixom.net>2014-01-09 03:09:16 -0500
commite37fce7346dcc4ab1a3f6be675c901efc3af6964 (patch)
tree9fa125259d370e52bee6f684e4932e526997eb05 /arch/arm/mach-msm
parent51f37801b44fb5beb7f651e6f74e0dd90fd159c9 (diff)
parent4f2041174d62d21ec46db48809a29d6517f6d006 (diff)
Merge branch 'qcom/soc2' into next/soc
* qcom/soc2: ARM: msm: Move MSM's DT based hardware to multi-platform support ARM: msm: Only build timer.c if required ARM: msm: Only build clock.c on proc_comm based platforms Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-msm')
-rw-r--r--arch/arm/mach-msm/Kconfig85
-rw-r--r--arch/arm/mach-msm/Makefile4
2 files changed, 50 insertions, 39 deletions
diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig
index 702553b96137..9625cf378931 100644
--- a/arch/arm/mach-msm/Kconfig
+++ b/arch/arm/mach-msm/Kconfig
@@ -1,12 +1,50 @@
1config ARCH_MSM
2 bool
3
4config ARCH_MSM_DT
5 bool "Qualcomm MSM DT Support" if ARCH_MULTI_V7
6 select ARCH_MSM
7 select ARCH_REQUIRE_GPIOLIB
8 select CLKSRC_OF
9 select GENERIC_CLOCKEVENTS
10 help
11 Support for Qualcomm's devicetree based MSM systems.
12
1if ARCH_MSM 13if ARCH_MSM
2 14
3comment "Qualcomm MSM SoC Type" 15menu "Qualcomm MSM SoC Selection"
4 depends on ARCH_MSM_DT 16 depends on ARCH_MSM_DT
5 17
18config ARCH_MSM8X60
19 bool "Enable support for MSM8X60"
20 select ARM_GIC
21 select CPU_V7
22 select HAVE_SMP
23 select MSM_SCM if SMP
24 select MSM_TIMER
25
26config ARCH_MSM8960
27 bool "Enable support for MSM8960"
28 select ARM_GIC
29 select CPU_V7
30 select HAVE_SMP
31 select MSM_SCM if SMP
32 select MSM_TIMER
33
34config ARCH_MSM8974
35 bool "Enable support for MSM8974"
36 select ARM_GIC
37 select CPU_V7
38 select HAVE_ARM_ARCH_TIMER
39 select HAVE_SMP
40 select MSM_SCM if SMP
41
42endmenu
43
6choice 44choice
7 prompt "Qualcomm MSM SoC Type" 45 prompt "Qualcomm MSM SoC Type"
8 default ARCH_MSM7X00A 46 default ARCH_MSM7X00A
9 depends on !ARCH_MSM_DT 47 depends on ARCH_MSM_NODT
10 48
11config ARCH_MSM7X00A 49config ARCH_MSM7X00A
12 bool "MSM7x00A / MSM7x01A" 50 bool "MSM7x00A / MSM7x01A"
@@ -16,6 +54,7 @@ config ARCH_MSM7X00A
16 select MACH_TROUT if !MACH_HALIBUT 54 select MACH_TROUT if !MACH_HALIBUT
17 select MSM_PROC_COMM 55 select MSM_PROC_COMM
18 select MSM_SMD 56 select MSM_SMD
57 select MSM_TIMER
19 select MSM_SMD_PKG3 58 select MSM_SMD_PKG3
20 59
21config ARCH_MSM7X30 60config ARCH_MSM7X30
@@ -27,6 +66,7 @@ config ARCH_MSM7X30
27 select MSM_GPIOMUX 66 select MSM_GPIOMUX
28 select MSM_PROC_COMM 67 select MSM_PROC_COMM
29 select MSM_SMD 68 select MSM_SMD
69 select MSM_TIMER
30 select MSM_VIC 70 select MSM_VIC
31 71
32config ARCH_QSD8X50 72config ARCH_QSD8X50
@@ -38,43 +78,11 @@ config ARCH_QSD8X50
38 select MSM_GPIOMUX 78 select MSM_GPIOMUX
39 select MSM_PROC_COMM 79 select MSM_PROC_COMM
40 select MSM_SMD 80 select MSM_SMD
81 select MSM_TIMER
41 select MSM_VIC 82 select MSM_VIC
42 83
43endchoice 84endchoice
44 85
45config ARCH_MSM8X60
46 bool "MSM8X60"
47 select ARCH_MSM_DT
48 select ARM_GIC
49 select CPU_V7
50 select GPIO_MSM_V2
51 select HAVE_SMP
52 select MSM_SCM if SMP
53
54config ARCH_MSM8960
55 bool "MSM8960"
56 select ARCH_MSM_DT
57 select ARM_GIC
58 select CPU_V7
59 select HAVE_SMP
60 select GPIO_MSM_V2
61 select MSM_SCM if SMP
62
63config ARCH_MSM8974
64 bool "MSM8974"
65 select ARCH_MSM_DT
66 select ARM_GIC
67 select CPU_V7
68 select HAVE_ARM_ARCH_TIMER
69 select HAVE_SMP
70 select MSM_SCM if SMP
71 select USE_OF
72
73config ARCH_MSM_DT
74 bool
75 select SPARSE_IRQ
76 select USE_OF
77
78config MSM_HAS_DEBUG_UART_HS 86config MSM_HAS_DEBUG_UART_HS
79 bool 87 bool
80 88
@@ -91,7 +99,7 @@ config MSM_VIC
91 bool 99 bool
92 100
93menu "Qualcomm MSM Board Type" 101menu "Qualcomm MSM Board Type"
94 depends on !ARCH_MSM_DT 102 depends on ARCH_MSM_NODT
95 103
96config MACH_HALIBUT 104config MACH_HALIBUT
97 depends on ARCH_MSM 105 depends on ARCH_MSM
@@ -139,10 +147,13 @@ config MSM_SMD
139 147
140config MSM_GPIOMUX 148config MSM_GPIOMUX
141 bool 149 bool
142 depends on !ARCH_MSM_DT
143 help 150 help
144 Support for MSM V1 TLMM GPIOMUX architecture. 151 Support for MSM V1 TLMM GPIOMUX architecture.
145 152
146config MSM_SCM 153config MSM_SCM
147 bool 154 bool
155
156config MSM_TIMER
157 bool
158
148endif 159endif
diff --git a/arch/arm/mach-msm/Makefile b/arch/arm/mach-msm/Makefile
index 7ed4c1b2bdd2..8e307a10d3c3 100644
--- a/arch/arm/mach-msm/Makefile
+++ b/arch/arm/mach-msm/Makefile
@@ -1,5 +1,5 @@
1obj-y += timer.o 1obj-$(CONFIG_MSM_TIMER) += timer.o
2obj-y += clock.o 2obj-$(CONFIG_MSM_PROC_COMM) += clock.o
3 3
4obj-$(CONFIG_MSM_VIC) += irq-vic.o 4obj-$(CONFIG_MSM_VIC) += irq-vic.o
5 5