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