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