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