Merge current mainline tree into linux-omap tree
[pandora-kernel.git] / arch / arm / plat-omap / Kconfig
1 if ARCH_OMAP
2
3 menu "TI OMAP Implementations"
4
5 config ARCH_OMAP_OTG
6         bool
7
8 choice
9         prompt "OMAP System Type"
10         default ARCH_OMAP1
11
12 config ARCH_OMAP1
13         bool "TI OMAP1"
14
15 config ARCH_OMAP2
16         bool "TI OMAP2"
17
18 config ARCH_OMAP3
19         bool "TI OMAP3"
20
21 endchoice
22
23 comment "OMAP Feature Selections"
24
25 config OMAP_DEBUG_DEVICES
26         bool
27         help
28           For debug cards on TI reference boards.
29
30 config OMAP_DEBUG_LEDS
31         bool
32         depends on OMAP_DEBUG_DEVICES
33         default y if LEDS || LEDS_OMAP_DEBUG
34
35 config OMAP_DEBUG_POWERDOMAIN
36         bool "Emit debug messages from powerdomain layer"
37         depends on ARCH_OMAP2 || ARCH_OMAP3
38         default n
39         help
40           Say Y here if you want to compile in powerdomain layer
41           debugging messages for OMAP2/3.   These messages can
42           provide more detail as to why some powerdomain calls
43           may be failing, and will also emit a descriptive message
44           for every powerdomain register write.  However, the
45           extra detail costs some memory.
46
47 config OMAP_DEBUG_CLOCKDOMAIN
48         bool "Emit debug messages from clockdomain layer"
49         depends on ARCH_OMAP2 || ARCH_OMAP3
50         default n
51         help
52           Say Y here if you want to compile in clockdomain layer
53           debugging messages for OMAP2/3.   These messages can
54           provide more detail as to why some clockdomain calls
55           may be failing, and will also emit a descriptive message
56           for every clockdomain register write.  However, the
57           extra detail costs some memory.
58
59 config OMAP_SMARTREFLEX
60         bool "SmartReflex support"
61         depends on ARCH_OMAP34XX && TWL4030_CORE
62         help
63           Say Y if you want to enable SmartReflex.
64
65           SmartReflex can perform continuous dynamic voltage
66           scaling around the nominal operating point voltage
67           according to silicon characteristics and operating
68           conditions. Enabling SmartReflex reduces power
69           consumption.
70
71           Please note, that by default SmartReflex is only
72           initialized. To enable the automatic voltage
73           compensation for VDD1 and VDD2, user must write 1 to
74           /sys/power/sr_vddX_autocomp, where X is 1 or 2.
75
76 config OMAP_SMARTREFLEX_TESTING
77         bool "Smartreflex testing support"
78         depends on OMAP_SMARTREFLEX
79         default n
80         help
81           Say Y if you want to enable SmartReflex testing with SW hardcoded
82           NVALUES intead of E-fuse NVALUES set in factory silicon testing.
83
84           In some devices the E-fuse values have not been set, even though
85           SmartReflex modules are included. Using these hardcoded values set
86           in software, one can test the SmartReflex features without E-fuse.
87
88           WARNING: Enabling this option may cause your device to hang!
89
90 config OMAP_RESET_CLOCKS
91         bool "Reset unused clocks during boot"
92         depends on ARCH_OMAP
93         help
94           Say Y if you want to reset unused clocks during boot.
95           This option saves power, but assumes all drivers are
96           using the clock framework. Broken drivers that do not
97           yet use clock framework may not work with this option.
98           If you are booting from another operating system, you
99           probably do not want this option enabled until your
100           device drivers work properly.
101
102 config OMAP_BOOT_TAG
103         bool "OMAP bootloader information passing"
104         depends on ARCH_OMAP
105         default n
106         help
107           Say Y, if you have a bootloader which passes information
108           about your board and its peripheral configuration.
109
110 config OMAP_BOOT_REASON
111         bool "Support for boot reason"
112         depends on OMAP_BOOT_TAG
113         default n
114         help
115           Say Y, if you want to have a procfs entry for reading the boot
116           reason in user-space.
117
118 config OMAP_COMPONENT_VERSION
119         bool "Support for component version display"
120         depends on OMAP_BOOT_TAG && PROC_FS
121         default n
122         help
123           Say Y, if you want to have a procfs entry for reading component
124           versions (supplied by the bootloader) in user-space.
125
126 config OMAP_GPIO_SWITCH
127         bool "GPIO switch support"
128         default n
129         help
130           Say Y, if you want to have support for reporting of GPIO
131           switches (e.g. cover switches) via sysfs. Your bootloader has
132           to provide information about the switches to the kernel via the
133           ATAG_BOARD mechanism if they're not defined by the board config.
134
135 config OMAP_MUX
136         bool "OMAP multiplexing support"
137         depends on ARCH_OMAP
138         default y
139         help
140           Pin multiplexing support for OMAP boards. If your bootloader
141           sets the multiplexing correctly, say N. Otherwise, or if unsure,
142           say Y.
143
144 config OMAP_MUX_DEBUG
145         bool "Multiplexing debug output"
146         depends on OMAP_MUX
147         help
148           Makes the multiplexing functions print out a lot of debug info.
149           This is useful if you want to find out the correct values of the
150           multiplexing registers.
151
152 config OMAP_MUX_WARNINGS
153         bool "Warn about pins the bootloader didn't set up"
154         depends on OMAP_MUX
155         default y
156         help
157           Choose Y here to warn whenever driver initialization logic needs
158           to change the pin multiplexing setup.  When there are no warnings
159           printed, it's safe to deselect OMAP_MUX for your product.
160
161 config OMAP_MCBSP
162         bool "McBSP support"
163         depends on ARCH_OMAP
164         default y
165         help
166           Say Y here if you want support for the OMAP Multichannel
167           Buffered Serial Port.
168
169 config OMAP_MMU_FWK
170         bool "MMU framework support"
171         depends on ARCH_OMAP
172         default n
173         help
174           Say Y here if you want to use OMAP MMU framework support for
175           DSP, IVA1.0 and Camera in OMAP1/2.
176
177 config OMAP_MBOX_FWK
178         tristate "Mailbox framework support"
179         depends on ARCH_OMAP
180         default n
181         help
182           Say Y here if you want to use OMAP Mailbox framework support for
183           DSP and IVA1.0 in OMAP1/2.
184
185 choice
186         prompt "System timer"
187         default OMAP_MPU_TIMER
188
189 config OMAP_MPU_TIMER
190         bool "Use mpu timer"
191         help
192           Select this option if you want to use the OMAP mpu timer. This
193           timer provides more intra-tick resolution than the 32KHz timer,
194           but consumes more power.
195
196 config OMAP_32K_TIMER
197         bool "Use 32KHz timer"
198         depends on ARCH_OMAP16XX || ARCH_OMAP24XX || ARCH_OMAP34XX
199         help
200           Select this option if you want to enable the OMAP 32KHz timer.
201           This timer saves power compared to the OMAP_MPU_TIMER, and has
202           support for no tick during idle. The 32KHz timer provides less
203           intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is
204           currently only available for OMAP16XX, 24XX and 34XX.
205
206 endchoice
207
208 config OMAP_32K_TIMER_HZ
209        int "Kernel internal timer frequency for 32KHz timer"
210        range 32 1024
211        depends on OMAP_32K_TIMER
212        default "128"
213        help
214           Kernel internal timer frequency should be a divisor of 32768,
215           such as 64 or 128.
216
217 config OMAP_DM_TIMER
218         bool "Use dual-mode timer"
219         depends on ARCH_OMAP16XX || ARCH_OMAP24XX || ARCH_OMAP34XX
220         help
221          Select this option if you want to use OMAP Dual-Mode timers.
222
223 choice
224         prompt "Low-level debug console UART"
225         depends on ARCH_OMAP
226         default OMAP_LL_DEBUG_UART1
227
228 config OMAP_LL_DEBUG_UART1
229         bool "UART1"
230
231 config OMAP_LL_DEBUG_UART2
232         bool "UART2"
233
234 config OMAP_LL_DEBUG_UART3
235         bool "UART3"
236
237 endchoice
238
239 config OMAP_SERIAL_WAKE
240         bool "Enable wake-up events for serial ports"
241         depends on OMAP_MUX
242         default y
243         help
244           Select this option if you want to have your system wake up
245           to data on the serial RX line. This allows you to wake the
246           system from serial console.
247
248 endmenu
249
250 endif