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