Merge branches 'gemini' and 'misc' into devel
[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 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 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 comment "DaVinci Board Type"
54
55 config MACH_DAVINCI_EVM
56         bool "TI DM644x EVM"
57         default ARCH_DAVINCI_DM644x
58         depends on ARCH_DAVINCI_DM644x
59         help
60           Configure this option to specify the whether the board used
61           for development is a DM644x EVM
62
63 config MACH_SFFSDR
64         bool "Lyrtech SFFSDR"
65         depends on ARCH_DAVINCI_DM644x
66         help
67           Say Y here to select the Lyrtech Small Form Factor
68           Software Defined Radio (SFFSDR) board.
69
70 config MACH_NEUROS_OSD2
71         bool "Neuros OSD2 Open Television Set Top Box"
72         depends on ARCH_DAVINCI_DM644x
73         help
74           Configure this option to specify the whether the board used
75           for development is a Neuros OSD2 Open Set Top Box.
76
77 config MACH_DAVINCI_DM355_EVM
78         bool "TI DM355 EVM"
79         default ARCH_DAVINCI_DM355
80         depends on ARCH_DAVINCI_DM355
81         help
82           Configure this option to specify the whether the board used
83           for development is a DM355 EVM
84
85 config MACH_DM355_LEOPARD
86         bool "DM355 Leopard board"
87         depends on ARCH_DAVINCI_DM355
88         help
89           Configure this option to specify the whether the board used
90           for development is a DM355 Leopard board.
91
92 config MACH_DAVINCI_DM6467_EVM
93         bool "TI DM6467 EVM"
94         default ARCH_DAVINCI_DM646x
95         depends on ARCH_DAVINCI_DM646x
96         select MACH_DAVINCI_DM6467TEVM
97         help
98           Configure this option to specify the whether the board used
99           for development is a DM6467 EVM
100
101 config MACH_DAVINCI_DM6467TEVM
102         bool
103
104 config MACH_DAVINCI_DM365_EVM
105         bool "TI DM365 EVM"
106         default ARCH_DAVINCI_DM365
107         depends on ARCH_DAVINCI_DM365
108         help
109           Configure this option to specify whether the board used
110           for development is a DM365 EVM
111
112 config MACH_DAVINCI_DA830_EVM
113         bool "TI DA830/OMAP-L137 Reference Platform"
114         default ARCH_DAVINCI_DA830
115         depends on ARCH_DAVINCI_DA830
116         select GPIO_PCF857X
117         help
118           Say Y here to select the TI DA830/OMAP-L137 Evaluation Module.
119
120 choice
121         prompt "Select DA830/OMAP-L137 UI board peripheral"
122         depends on MACH_DAVINCI_DA830_EVM
123         help
124           The presence of UI card on the DA830/OMAP-L137 EVM is detected
125           automatically based on successful probe of the I2C based GPIO
126           expander on that board. This option selected in this menu has
127           an effect only in case of a successful UI card detection.
128
129 config DA830_UI_LCD
130         bool "LCD"
131         help
132           Say Y here to use the LCD as a framebuffer or simple character
133           display.
134
135 config DA830_UI_NAND
136         bool "NAND flash"
137         help
138           Say Y here to use the NAND flash.  Do not forget to setup
139           the switch correctly.
140 endchoice
141
142 config MACH_DAVINCI_DA850_EVM
143         bool "TI DA850/OMAP-L138 Reference Platform"
144         default ARCH_DAVINCI_DA850
145         depends on ARCH_DAVINCI_DA850
146         select GPIO_PCA953X
147         help
148           Say Y here to select the TI DA850/OMAP-L138 Evaluation Module.
149
150 choice
151         prompt "Select peripherals connected to expander on UI board"
152         depends on MACH_DAVINCI_DA850_EVM
153         help
154           The presence of User Interface (UI) card on the DA850/OMAP-L138
155           EVM is detected automatically based on successful probe of the I2C
156           based GPIO expander on that card. This option selected in this
157           menu has an effect only in case of a successful UI card detection.
158
159 config DA850_UI_NONE
160         bool "No peripheral is enabled"
161         help
162           Say Y if you do not want to enable any of the peripherals connected
163           to TCA6416 expander on DA850/OMAP-L138 EVM UI card
164
165 config DA850_UI_RMII
166         bool "RMII Ethernet PHY"
167         help
168           Say Y if you want to use the RMII PHY on the DA850/OMAP-L138 EVM.
169           This PHY is found on the UI daughter card that is supplied with
170           the EVM.
171           NOTE: Please take care while choosing this option, MII PHY will
172           not be functional if RMII mode is selected.
173
174 endchoice
175
176 config DAVINCI_MUX
177         bool "DAVINCI multiplexing support"
178         depends on ARCH_DAVINCI
179         default y
180         help
181           Pin multiplexing support for DAVINCI boards. If your bootloader
182           sets the multiplexing correctly, say N. Otherwise, or if unsure,
183           say Y.
184
185 config DAVINCI_MUX_DEBUG
186         bool "Multiplexing debug output"
187         depends on DAVINCI_MUX
188         help
189           Makes the multiplexing functions print out a lot of debug info.
190           This is useful if you want to find out the correct values of the
191           multiplexing registers.
192
193 config DAVINCI_MUX_WARNINGS
194         bool "Warn about pins the bootloader didn't set up"
195         depends on DAVINCI_MUX
196         help
197           Choose Y here to warn whenever driver initialization logic needs
198           to change the pin multiplexing setup.  When there are no warnings
199           printed, it's safe to deselect DAVINCI_MUX for your product.
200
201 config DAVINCI_RESET_CLOCKS
202         bool "Reset unused clocks during boot"
203         depends on ARCH_DAVINCI
204         help
205           Say Y if you want to reset unused clocks during boot.
206           This option saves power, but assumes all drivers are
207           using the clock framework. Broken drivers that do not
208           yet use clock framework may not work with this option.
209           If you are booting from another operating system, you
210           probably do not want this option enabled until your
211           device drivers work properly.
212
213 endmenu
214
215 endif