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