]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/arm/plat-omap/Kconfig
69639c48963474c96f9bb37a11d4e23e6306944e
[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         select GENERIC_CLOCKEVENTS
15
16 config ARCH_OMAP2
17         bool "TI OMAP2"
18
19 endchoice
20
21 comment "OMAP Feature Selections"
22
23 config OMAP_DEBUG_DEVICES
24         bool
25         help
26           For debug cards on TI reference boards.
27
28 config OMAP_DEBUG_LEDS
29         bool
30         depends on OMAP_DEBUG_DEVICES
31         default y if LEDS || LEDS_OMAP_DEBUG
32
33 config OMAP_RESET_CLOCKS
34         bool "Reset unused clocks during boot"
35         depends on ARCH_OMAP
36         help
37           Say Y if you want to reset unused clocks during boot.
38           This option saves power, but assumes all drivers are
39           using the clock framework. Broken drivers that do not
40           yet use clock framework may not work with this option.
41           If you are booting from another operating system, you
42           probably do not want this option enabled until your
43           device drivers work properly.
44
45 config OMAP_BOOT_TAG
46         bool "OMAP bootloader information passing"
47         depends on ARCH_OMAP
48         default n
49         help
50           Say Y, if you have a bootloader which passes information
51           about your board and its peripheral configuration.
52
53 config OMAP_BOOT_REASON
54         bool "Support for boot reason"
55         depends on OMAP_BOOT_TAG
56         default n
57         help
58           Say Y, if you want to have a procfs entry for reading the boot
59           reason in user-space.
60
61 config OMAP_COMPONENT_VERSION
62         bool "Support for component version display"
63         depends on OMAP_BOOT_TAG && PROC_FS
64         default n
65         help
66           Say Y, if you want to have a procfs entry for reading component
67           versions (supplied by the bootloader) in user-space.
68
69 config OMAP_GPIO_SWITCH
70         bool "GPIO switch support"
71         default n
72         help
73           Say Y, if you want to have support for reporting of GPIO
74           switches (e.g. cover switches) via sysfs. Your bootloader has
75           to provide information about the switches to the kernel via the
76           ATAG_BOARD mechanism if they're not defined by the board config.
77
78 config OMAP_MUX
79         bool "OMAP multiplexing support"
80         depends on ARCH_OMAP
81         default y
82         help
83           Pin multiplexing support for OMAP boards. If your bootloader
84           sets the multiplexing correctly, say N. Otherwise, or if unsure,
85           say Y.
86
87 config OMAP_MUX_DEBUG
88         bool "Multiplexing debug output"
89         depends on OMAP_MUX
90         help
91           Makes the multiplexing functions print out a lot of debug info.
92           This is useful if you want to find out the correct values of the
93           multiplexing registers.
94
95 config OMAP_MUX_WARNINGS
96         bool "Warn about pins the bootloader didn't set up"
97         depends on OMAP_MUX
98         default y
99         help
100           Choose Y here to warn whenever driver initialization logic needs
101           to change the pin multiplexing setup.  When there are no warnings
102           printed, it's safe to deselect OMAP_MUX for your product.
103
104 config OMAP_STI
105         bool "STI/XTI support"
106         depends on ARCH_OMAP16XX || ARCH_OMAP24XX
107         default n
108
109 config OMAP_STI_CONSOLE
110         bool "STI console support"
111         depends on OMAP_STI
112         help
113           This enables a console driver by way of STI/XTI.
114
115 config OMAP_MCBSP
116         bool "McBSP support"
117         depends on ARCH_OMAP
118         default y
119         help
120           Say Y here if you want support for the OMAP Multichannel
121           Buffered Serial Port.
122
123 config OMAP_MMU_FWK
124         tristate "MMU framework support"
125         depends on ARCH_OMAP
126         default n
127         help
128           Say Y here if you want to use OMAP MMU framework support for
129           DSP, IVA1.0 and Camera in OMAP1/2.
130
131 config OMAP_MBOX_FWK
132         tristate "Mailbox framework support"
133         depends on ARCH_OMAP
134         default n
135         help
136           Say Y here if you want to use OMAP Mailbox framework support for
137           DSP and IVA1.0 in OMAP1/2.
138
139 choice
140         prompt "System timer"
141         default OMAP_MPU_TIMER
142
143 config OMAP_MPU_TIMER
144         bool "Use mpu timer"
145         help
146           Select this option if you want to use the OMAP mpu timer. This
147           timer provides more intra-tick resolution than the 32KHz timer,
148           but consumes more power.
149
150 config OMAP_32K_TIMER
151         bool "Use 32KHz timer"
152         depends on ARCH_OMAP16XX || ARCH_OMAP24XX
153         select GENERIC_TIME
154         select GENERIC_CLOCKEVENTS
155         help
156           Select this option if you want to enable the OMAP 32KHz timer.
157           This timer saves power compared to the OMAP_MPU_TIMER, and has
158           support for no tick during idle. The 32KHz timer provides less
159           intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is
160           currently only available for OMAP16XX and 24XX.
161
162 endchoice
163
164 config OMAP_32K_TIMER_HZ
165        int "Kernel internal timer frequency for 32KHz timer"
166        range 32 1024
167        depends on OMAP_32K_TIMER
168        default "128"
169        help
170           Kernel internal timer frequency should be a divisor of 32768,
171           such as 64 or 128.
172
173 config OMAP_DM_TIMER
174         bool "Use dual-mode timer"
175         depends on ARCH_OMAP16XX || ARCH_OMAP24XX
176         help
177          Select this option if you want to use OMAP Dual-Mode timers.
178
179 choice
180         prompt "Low-level debug console UART"
181         depends on ARCH_OMAP
182         default OMAP_LL_DEBUG_UART1
183
184 config OMAP_LL_DEBUG_UART1
185         bool "UART1"
186
187 config OMAP_LL_DEBUG_UART2
188         bool "UART2"
189
190 config OMAP_LL_DEBUG_UART3
191         bool "UART3"
192
193 endchoice
194
195 config OMAP_SERIAL_WAKE
196         bool "Enable wake-up events for serial ports"
197         depends on OMAP_MUX
198         default y
199         help
200           Select this option if you want to have your system wake up
201           to data on the serial RX line. This allows you to wake the
202           system from serial console.
203
204 source "arch/arm/plat-omap/dsp/Kconfig"
205
206 endmenu
207
208 endif