Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-2.6
[sfrench/cifs-2.6.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 COMMON_CLKDEV
15
16 config ARCH_OMAP2
17         bool "TI OMAP2"
18         select CPU_V6
19         select COMMON_CLKDEV
20
21 config ARCH_OMAP3
22         bool "TI OMAP3"
23         select CPU_V7
24         select COMMON_CLKDEV
25
26 config ARCH_OMAP4
27         bool "TI OMAP4"
28         select CPU_V7
29         select ARM_GIC
30         select COMMON_CLKDEV
31
32 endchoice
33
34 comment "OMAP Feature Selections"
35
36 config OMAP_DEBUG_DEVICES
37         bool
38         help
39           For debug cards on TI reference boards.
40
41 config OMAP_DEBUG_LEDS
42         bool
43         depends on OMAP_DEBUG_DEVICES
44         default y if LEDS || LEDS_OMAP_DEBUG
45
46 config OMAP_RESET_CLOCKS
47         bool "Reset unused clocks during boot"
48         depends on ARCH_OMAP
49         help
50           Say Y if you want to reset unused clocks during boot.
51           This option saves power, but assumes all drivers are
52           using the clock framework. Broken drivers that do not
53           yet use clock framework may not work with this option.
54           If you are booting from another operating system, you
55           probably do not want this option enabled until your
56           device drivers work properly.
57
58 config OMAP_MUX
59         bool "OMAP multiplexing support"
60         depends on ARCH_OMAP
61         default y
62         help
63           Pin multiplexing support for OMAP boards. If your bootloader
64           sets the multiplexing correctly, say N. Otherwise, or if unsure,
65           say Y.
66
67 config OMAP_MUX_DEBUG
68         bool "Multiplexing debug output"
69         depends on OMAP_MUX
70         help
71           Makes the multiplexing functions print out a lot of debug info.
72           This is useful if you want to find out the correct values of the
73           multiplexing registers.
74
75 config OMAP_MUX_WARNINGS
76         bool "Warn about pins the bootloader didn't set up"
77         depends on OMAP_MUX
78         default y
79         help
80           Choose Y here to warn whenever driver initialization logic needs
81           to change the pin multiplexing setup.  When there are no warnings
82           printed, it's safe to deselect OMAP_MUX for your product.
83
84 config OMAP_MCBSP
85         bool "McBSP support"
86         depends on ARCH_OMAP
87         default y
88         help
89           Say Y here if you want support for the OMAP Multichannel
90           Buffered Serial Port.
91
92 config OMAP_MBOX_FWK
93         tristate "Mailbox framework support"
94         depends on ARCH_OMAP
95         help
96           Say Y here if you want to use OMAP Mailbox framework support for
97           DSP, IVA1.0 and IVA2 in OMAP1/2/3.
98
99 config OMAP_IOMMU
100         tristate
101
102 config OMAP_IOMMU_DEBUG
103         depends on OMAP_IOMMU
104         tristate
105
106 choice
107         prompt "System timer"
108         default OMAP_MPU_TIMER
109
110 config OMAP_MPU_TIMER
111         bool "Use mpu timer"
112         help
113           Select this option if you want to use the OMAP mpu timer. This
114           timer provides more intra-tick resolution than the 32KHz timer,
115           but consumes more power.
116
117 config OMAP_32K_TIMER
118         bool "Use 32KHz timer"
119         depends on ARCH_OMAP16XX || ARCH_OMAP24XX || ARCH_OMAP34XX || ARCH_OMAP4
120         help
121           Select this option if you want to enable the OMAP 32KHz timer.
122           This timer saves power compared to the OMAP_MPU_TIMER, and has
123           support for no tick during idle. The 32KHz timer provides less
124           intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is
125           currently only available for OMAP16XX, 24XX, 34XX and OMAP4.
126
127 endchoice
128
129 config OMAP_32K_TIMER_HZ
130         int "Kernel internal timer frequency for 32KHz timer"
131         range 32 1024
132         depends on OMAP_32K_TIMER
133         default "128"
134         help
135           Kernel internal timer frequency should be a divisor of 32768,
136           such as 64 or 128.
137
138 config OMAP_DM_TIMER
139         bool "Use dual-mode timer"
140         depends on ARCH_OMAP16XX || ARCH_OMAP24XX || ARCH_OMAP34XX || ARCH_OMAP4
141         help
142          Select this option if you want to use OMAP Dual-Mode timers.
143
144 choice
145         prompt "Low-level debug console UART"
146         depends on ARCH_OMAP
147         default OMAP_LL_DEBUG_NONE
148
149 config OMAP_LL_DEBUG_UART1
150         bool "UART1"
151
152 config OMAP_LL_DEBUG_UART2
153         bool "UART2"
154
155 config OMAP_LL_DEBUG_UART3
156         bool "UART3"
157
158 config OMAP_LL_DEBUG_NONE
159         bool "None"
160
161 endchoice
162
163 config OMAP_SERIAL_WAKE
164         bool "Enable wake-up events for serial ports"
165         depends on ARCH_OMAP1 && OMAP_MUX
166         default y
167         help
168           Select this option if you want to have your system wake up
169           to data on the serial RX line. This allows you to wake the
170           system from serial console.
171
172 choice
173         prompt "OMAP PM layer selection"
174         depends on ARCH_OMAP
175         default OMAP_PM_NOOP
176
177 config OMAP_PM_NONE
178         bool "No PM layer"
179
180 config OMAP_PM_NOOP
181         bool "No-op/debug PM layer"
182
183 endchoice
184
185 endmenu
186
187 endif