Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[pandora-kernel.git] / arch / arm / mach-davinci / Kconfig
1 if ARCH_DAVINCI
2
3 config AINTC
4         bool
5
6 config CP_INTC
7         bool
8
9 config ARCH_DAVINCI_DMx
10         select CPU_ARM926T
11         bool
12
13 menu "TI DaVinci Implementations"
14
15 comment "DaVinci Core Type"
16
17 config ARCH_DAVINCI_DM644x
18         bool "DaVinci 644x based system"
19         select AINTC
20         select ARCH_DAVINCI_DMx
21
22 config ARCH_DAVINCI_DM355
23         bool "DaVinci 355 based system"
24         select AINTC
25         select ARCH_DAVINCI_DMx
26
27 config ARCH_DAVINCI_DM646x
28         bool "DaVinci 646x based system"
29         select AINTC
30         select ARCH_DAVINCI_DMx
31
32 config ARCH_DAVINCI_DA830
33         bool "DA830/OMAP-L137/AM17x based system"
34         select CP_INTC
35         select ARCH_DAVINCI_DA8XX
36         select CPU_DCACHE_WRITETHROUGH # needed on silicon revs 1.0, 1.1
37
38 config ARCH_DAVINCI_DA850
39         bool "DA850/OMAP-L138/AM18x based system"
40         select CP_INTC
41         select ARCH_DAVINCI_DA8XX
42         select ARCH_HAS_CPUFREQ
43
44 config ARCH_DAVINCI_DA8XX
45         select CPU_ARM926T
46         bool
47
48 config ARCH_DAVINCI_DM365
49         bool "DaVinci 365 based system"
50         select AINTC
51         select ARCH_DAVINCI_DMx
52
53 config ARCH_DAVINCI_TNETV107X
54         select CPU_V6
55         select CP_INTC
56         bool "TNETV107X based system"
57
58 comment "DaVinci Board Type"
59
60 config MACH_DAVINCI_EVM
61         bool "TI DM644x EVM"
62         default ARCH_DAVINCI_DM644x
63         depends on ARCH_DAVINCI_DM644x
64         select MISC_DEVICES
65         select EEPROM_AT24
66         help
67           Configure this option to specify the whether the board used
68           for development is a DM644x EVM
69
70 config MACH_SFFSDR
71         bool "Lyrtech SFFSDR"
72         depends on ARCH_DAVINCI_DM644x
73         select MISC_DEVICES
74         select EEPROM_AT24
75         help
76           Say Y here to select the Lyrtech Small Form Factor
77           Software Defined Radio (SFFSDR) board.
78
79 config MACH_NEUROS_OSD2
80         bool "Neuros OSD2 Open Television Set Top Box"
81         depends on ARCH_DAVINCI_DM644x
82         help
83           Configure this option to specify the whether the board used
84           for development is a Neuros OSD2 Open Set Top Box.
85
86 config MACH_DAVINCI_DM355_EVM
87         bool "TI DM355 EVM"
88         default ARCH_DAVINCI_DM355
89         depends on ARCH_DAVINCI_DM355
90         help
91           Configure this option to specify the whether the board used
92           for development is a DM355 EVM
93
94 config MACH_DM355_LEOPARD
95         bool "DM355 Leopard board"
96         depends on ARCH_DAVINCI_DM355
97         help
98           Configure this option to specify the whether the board used
99           for development is a DM355 Leopard board.
100
101 config MACH_DAVINCI_DM6467_EVM
102         bool "TI DM6467 EVM"
103         default ARCH_DAVINCI_DM646x
104         depends on ARCH_DAVINCI_DM646x
105         select MACH_DAVINCI_DM6467TEVM
106         select MISC_DEVICES
107         select EEPROM_AT24
108         help
109           Configure this option to specify the whether the board used
110           for development is a DM6467 EVM
111
112 config MACH_DAVINCI_DM6467TEVM
113         bool
114
115 config MACH_DAVINCI_DM365_EVM
116         bool "TI DM365 EVM"
117         default ARCH_DAVINCI_DM365
118         depends on ARCH_DAVINCI_DM365
119         select MISC_DEVICES
120         select EEPROM_AT24
121         help
122           Configure this option to specify whether the board used
123           for development is a DM365 EVM
124
125 config MACH_DAVINCI_DA830_EVM
126         bool "TI DA830/OMAP-L137/AM17x Reference Platform"
127         default ARCH_DAVINCI_DA830
128         depends on ARCH_DAVINCI_DA830
129         select GPIO_PCF857X
130         select MISC_DEVICES
131         select EEPROM_AT24
132         help
133           Say Y here to select the TI DA830/OMAP-L137/AM17x Evaluation Module.
134
135 choice
136         prompt "Select DA830/OMAP-L137/AM17x UI board peripheral"
137         depends on MACH_DAVINCI_DA830_EVM
138         help
139           The presence of UI card on the DA830/OMAP-L137/AM17x EVM is
140           detected automatically based on successful probe of the I2C
141           based GPIO expander on that board. This option selected in this
142           menu has an effect only in case of a successful UI card detection.
143
144 config DA830_UI_LCD
145         bool "LCD"
146         help
147           Say Y here to use the LCD as a framebuffer or simple character
148           display.
149
150 config DA830_UI_NAND
151         bool "NAND flash"
152         help
153           Say Y here to use the NAND flash. Do not forget to setup
154           the switch correctly.
155 endchoice
156
157 config MACH_DAVINCI_DA850_EVM
158         bool "TI DA850/OMAP-L138/AM18x Reference Platform"
159         default ARCH_DAVINCI_DA850
160         depends on ARCH_DAVINCI_DA850
161         help
162           Say Y here to select the TI DA850/OMAP-L138/AM18x Evaluation Module.
163
164 choice
165         prompt "Select peripherals connected to expander on UI board"
166         depends on MACH_DAVINCI_DA850_EVM
167         help
168           The presence of User Interface (UI) card on the DA850/OMAP-L138/AM18x
169           EVM is detected automatically based on successful probe of the I2C
170           based GPIO expander on that card. This option selected in this
171           menu has an effect only in case of a successful UI card detection.
172
173 config DA850_UI_NONE
174         bool "No peripheral is enabled"
175         help
176           Say Y if you do not want to enable any of the peripherals connected
177           to TCA6416 expander on DA850/OMAP-L138/AM18x EVM UI card
178
179 config DA850_UI_RMII
180         bool "RMII Ethernet PHY"
181         help
182           Say Y if you want to use the RMII PHY on the DA850/OMAP-L138/AM18x
183           EVM. This PHY is found on the UI daughter card that is supplied with
184           the EVM.
185           NOTE: Please take care while choosing this option, MII PHY will
186           not be functional if RMII mode is selected.
187
188 endchoice
189
190 config GPIO_PCA953X
191         default MACH_DAVINCI_DA850_EVM
192
193 config KEYBOARD_GPIO_POLLED
194         default MACH_DAVINCI_DA850_EVM
195
196 config MACH_TNETV107X
197         bool "TI TNETV107X Reference Platform"
198         default ARCH_DAVINCI_TNETV107X
199         depends on ARCH_DAVINCI_TNETV107X
200         help
201           Say Y here to select the TI TNETV107X Evaluation Module.
202
203 config MACH_MITYOMAPL138
204         bool "Critical Link MityDSP-L138/MityARM-1808 SoM"
205         depends on ARCH_DAVINCI_DA850
206         select MISC_DEVICES
207         select EEPROM_AT24
208         help
209           Say Y here to select the Critical Link MityDSP-L138/MityARM-1808
210           System on Module.  Information on this SoM may be found at
211           http://www.mitydsp.com
212
213 config MACH_OMAPL138_HAWKBOARD
214         bool "TI AM1808 / OMAPL-138 Hawkboard platform"
215         depends on ARCH_DAVINCI_DA850
216         help
217           Say Y here to select the TI AM1808 / OMAPL-138 Hawkboard platform .
218           Information of this board may be found at
219           http://www.hawkboard.org/
220
221 config DAVINCI_MUX
222         bool "DAVINCI multiplexing support"
223         depends on ARCH_DAVINCI
224         default y
225         help
226           Pin multiplexing support for DAVINCI boards. If your bootloader
227           sets the multiplexing correctly, say N. Otherwise, or if unsure,
228           say Y.
229
230 config DAVINCI_MUX_DEBUG
231         bool "Multiplexing debug output"
232         depends on DAVINCI_MUX
233         help
234           Makes the multiplexing functions print out a lot of debug info.
235           This is useful if you want to find out the correct values of the
236           multiplexing registers.
237
238 config DAVINCI_MUX_WARNINGS
239         bool "Warn about pins the bootloader didn't set up"
240         depends on DAVINCI_MUX
241         help
242           Choose Y here to warn whenever driver initialization logic needs
243           to change the pin multiplexing setup. When there are no warnings
244           printed, it's safe to deselect DAVINCI_MUX for your product.
245
246 config DAVINCI_RESET_CLOCKS
247         bool "Reset unused clocks during boot"
248         depends on ARCH_DAVINCI
249         help
250           Say Y if you want to reset unused clocks during boot.
251           This option saves power, but assumes all drivers are
252           using the clock framework. Broken drivers that do not
253           yet use clock framework may not work with this option.
254           If you are booting from another operating system, you
255           probably do not want this option enabled until your
256           device drivers work properly.
257
258 endmenu
259
260 endif