Merge with /home/tmlind/src/kernel/linux-2.6
[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 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 choice
123         prompt "System timer"
124         default OMAP_MPU_TIMER
125
126 config OMAP_MPU_TIMER
127         bool "Use mpu timer"
128         help
129           Select this option if you want to use the OMAP mpu timer. This
130           timer provides more intra-tick resolution than the 32KHz timer,
131           but consumes more power.
132
133 config OMAP_32K_TIMER
134         bool "Use 32KHz timer"
135         depends on ARCH_OMAP16XX || ARCH_OMAP24XX
136         help
137           Select this option if you want to enable the OMAP 32KHz timer.
138           This timer saves power compared to the OMAP_MPU_TIMER, and has
139           support for no tick during idle. The 32KHz timer provides less
140           intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is
141           currently only available for OMAP16XX and 24XX.
142
143 endchoice
144
145 config OMAP_32K_TIMER_HZ
146        int "Kernel internal timer frequency for 32KHz timer"
147        range 32 1024
148        depends on OMAP_32K_TIMER
149        default "128"
150        help
151           Kernel internal timer frequency should be a divisor of 32768,
152           such as 64 or 128.
153
154 config OMAP_DM_TIMER
155         bool "Use dual-mode timer"
156         depends on ARCH_OMAP16XX || ARCH_OMAP24XX
157         help
158          Select this option if you want to use OMAP Dual-Mode timers.
159
160 choice
161         prompt "Low-level debug console UART"
162         depends on ARCH_OMAP
163         default OMAP_LL_DEBUG_UART1
164
165 config OMAP_LL_DEBUG_UART1
166         bool "UART1"
167
168 config OMAP_LL_DEBUG_UART2
169         bool "UART2"
170
171 config OMAP_LL_DEBUG_UART3
172         bool "UART3"
173
174 endchoice
175
176 config OMAP_SERIAL_WAKE
177         bool "Enable wake-up events for serial ports"
178         depends on OMAP_MUX
179         default y
180         help
181           Select this option if you want to have your system wake up
182           to data on the serial RX line. This allows you to wake the
183           system from serial console.
184
185 source "arch/arm/plat-omap/dsp/Kconfig"
186
187 endmenu
188
189 endif