aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-omap/Kconfig')
-rw-r--r--arch/arm/plat-omap/Kconfig116
1 files changed, 53 insertions, 63 deletions
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index 64b3f52bd9b2..6da796ef82bd 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -7,24 +7,35 @@ config ARCH_OMAP_OTG
7 7
8choice 8choice
9 prompt "OMAP System Type" 9 prompt "OMAP System Type"
10 default ARCH_OMAP1 10 default ARCH_OMAP2PLUS
11 11
12config ARCH_OMAP1 12config ARCH_OMAP1
13 bool "TI OMAP1" 13 bool "TI OMAP1"
14 select COMMON_CLKDEV 14 select COMMON_CLKDEV
15 help
16 "Systems based on omap7xx, omap15xx or omap16xx"
17
18config ARCH_OMAP2PLUS
19 bool "TI OMAP2/3/4"
20 select COMMON_CLKDEV
21 help
22 "Systems based on omap24xx, omap34xx or omap44xx"
15 23
16config ARCH_OMAP2 24config ARCH_OMAP2
17 bool "TI OMAP2" 25 bool "TI OMAP2"
26 depends on ARCH_OMAP2PLUS
18 select CPU_V6 27 select CPU_V6
19 select COMMON_CLKDEV
20 28
21config ARCH_OMAP3 29config ARCH_OMAP3
22 bool "TI OMAP3" 30 bool "TI OMAP3"
31 depends on ARCH_OMAP2PLUS
23 select CPU_V7 32 select CPU_V7
24 select COMMON_CLKDEV 33 select USB_ARCH_HAS_EHCI
34 select ARM_L1_CACHE_SHIFT_6
25 35
26config ARCH_OMAP4 36config ARCH_OMAP4
27 bool "TI OMAP4" 37 bool "TI OMAP4"
38 depends on ARCH_OMAP2PLUS
28 select CPU_V7 39 select CPU_V7
29 select ARM_GIC 40 select ARM_GIC
30 41
@@ -42,28 +53,6 @@ config OMAP_DEBUG_LEDS
42 depends on OMAP_DEBUG_DEVICES 53 depends on OMAP_DEBUG_DEVICES
43 default y if LEDS || LEDS_OMAP_DEBUG 54 default y if LEDS || LEDS_OMAP_DEBUG
44 55
45config OMAP_DEBUG_POWERDOMAIN
46 bool "Emit debug messages from powerdomain layer"
47 depends on ARCH_OMAP2 || ARCH_OMAP3
48 help
49 Say Y here if you want to compile in powerdomain layer
50 debugging messages for OMAP2/3. These messages can
51 provide more detail as to why some powerdomain calls
52 may be failing, and will also emit a descriptive message
53 for every powerdomain register write. However, the
54 extra detail costs some memory.
55
56config OMAP_DEBUG_CLOCKDOMAIN
57 bool "Emit debug messages from clockdomain layer"
58 depends on ARCH_OMAP2 || ARCH_OMAP3
59 help
60 Say Y here if you want to compile in clockdomain layer
61 debugging messages for OMAP2/3. These messages can
62 provide more detail as to why some clockdomain calls
63 may be failing, and will also emit a descriptive message
64 for every clockdomain register write. However, the
65 extra detail costs some memory.
66
67config OMAP_RESET_CLOCKS 56config OMAP_RESET_CLOCKS
68 bool "Reset unused clocks during boot" 57 bool "Reset unused clocks during boot"
69 depends on ARCH_OMAP 58 depends on ARCH_OMAP
@@ -78,28 +67,28 @@ config OMAP_RESET_CLOCKS
78 67
79config OMAP_MUX 68config OMAP_MUX
80 bool "OMAP multiplexing support" 69 bool "OMAP multiplexing support"
81 depends on ARCH_OMAP 70 depends on ARCH_OMAP
82 default y 71 default y
83 help 72 help
84 Pin multiplexing support for OMAP boards. If your bootloader 73 Pin multiplexing support for OMAP boards. If your bootloader
85 sets the multiplexing correctly, say N. Otherwise, or if unsure, 74 sets the multiplexing correctly, say N. Otherwise, or if unsure,
86 say Y. 75 say Y.
87 76
88config OMAP_MUX_DEBUG 77config OMAP_MUX_DEBUG
89 bool "Multiplexing debug output" 78 bool "Multiplexing debug output"
90 depends on OMAP_MUX 79 depends on OMAP_MUX
91 help 80 help
92 Makes the multiplexing functions print out a lot of debug info. 81 Makes the multiplexing functions print out a lot of debug info.
93 This is useful if you want to find out the correct values of the 82 This is useful if you want to find out the correct values of the
94 multiplexing registers. 83 multiplexing registers.
95 84
96config OMAP_MUX_WARNINGS 85config OMAP_MUX_WARNINGS
97 bool "Warn about pins the bootloader didn't set up" 86 bool "Warn about pins the bootloader didn't set up"
98 depends on OMAP_MUX 87 depends on OMAP_MUX
99 default y 88 default y
100 help 89 help
101 Choose Y here to warn whenever driver initialization logic needs 90 Choose Y here to warn whenever driver initialization logic needs
102 to change the pin multiplexing setup. When there are no warnings 91 to change the pin multiplexing setup. When there are no warnings
103 printed, it's safe to deselect OMAP_MUX for your product. 92 printed, it's safe to deselect OMAP_MUX for your product.
104 93
105config OMAP_MCBSP 94config OMAP_MCBSP
@@ -125,7 +114,7 @@ config OMAP_IOMMU_DEBUG
125 tristate 114 tristate
126 115
127choice 116choice
128 prompt "System timer" 117 prompt "System timer"
129 default OMAP_MPU_TIMER 118 default OMAP_MPU_TIMER
130 119
131config OMAP_MPU_TIMER 120config OMAP_MPU_TIMER
@@ -137,7 +126,7 @@ config OMAP_MPU_TIMER
137 126
138config OMAP_32K_TIMER 127config OMAP_32K_TIMER
139 bool "Use 32KHz timer" 128 bool "Use 32KHz timer"
140 depends on ARCH_OMAP16XX || ARCH_OMAP24XX || ARCH_OMAP34XX || ARCH_OMAP4 129 depends on ARCH_OMAP16XX || ARCH_OMAP2PLUS
141 help 130 help
142 Select this option if you want to enable the OMAP 32KHz timer. 131 Select this option if you want to enable the OMAP 32KHz timer.
143 This timer saves power compared to the OMAP_MPU_TIMER, and has 132 This timer saves power compared to the OMAP_MPU_TIMER, and has
@@ -147,37 +136,38 @@ config OMAP_32K_TIMER
147 136
148endchoice 137endchoice
149 138
139config OMAP3_L2_AUX_SECURE_SAVE_RESTORE
140 bool "OMAP3 HS/EMU save and restore for L2 AUX control register"
141 depends on ARCH_OMAP3 && PM
142 default n
143 help
144 Without this option, L2 Auxiliary control register contents are
145 lost during off-mode entry on HS/EMU devices. This feature
146 requires support from PPA / boot-loader in HS/EMU devices, which
147 currently does not exist by default.
148
149config OMAP3_L2_AUX_SECURE_SERVICE_SET_ID
150 int "Service ID for the support routine to set L2 AUX control"
151 depends on OMAP3_L2_AUX_SECURE_SAVE_RESTORE
152 default 43
153 help
154 PPA routine service ID for setting L2 auxiliary control register.
155
150config OMAP_32K_TIMER_HZ 156config OMAP_32K_TIMER_HZ
151 int "Kernel internal timer frequency for 32KHz timer" 157 int "Kernel internal timer frequency for 32KHz timer"
152 range 32 1024 158 range 32 1024
153 depends on OMAP_32K_TIMER 159 depends on OMAP_32K_TIMER
154 default "128" 160 default "128"
155 help 161 help
156 Kernel internal timer frequency should be a divisor of 32768, 162 Kernel internal timer frequency should be a divisor of 32768,
157 such as 64 or 128. 163 such as 64 or 128.
158 164
159config OMAP_DM_TIMER 165config OMAP_DM_TIMER
160 bool "Use dual-mode timer" 166 bool "Use dual-mode timer"
161 depends on ARCH_OMAP16XX || ARCH_OMAP24XX || ARCH_OMAP34XX || ARCH_OMAP4 167 depends on ARCH_OMAP16XX || ARCH_OMAP2PLUS
162 help 168 help
163 Select this option if you want to use OMAP Dual-Mode timers. 169 Select this option if you want to use OMAP Dual-Mode timers.
164 170
165choice
166 prompt "Low-level debug console UART"
167 depends on ARCH_OMAP
168 default OMAP_LL_DEBUG_UART1
169
170config OMAP_LL_DEBUG_UART1
171 bool "UART1"
172
173config OMAP_LL_DEBUG_UART2
174 bool "UART2"
175
176config OMAP_LL_DEBUG_UART3
177 bool "UART3"
178
179endchoice
180
181config OMAP_SERIAL_WAKE 171config OMAP_SERIAL_WAKE
182 bool "Enable wake-up events for serial ports" 172 bool "Enable wake-up events for serial ports"
183 depends on ARCH_OMAP1 && OMAP_MUX 173 depends on ARCH_OMAP1 && OMAP_MUX