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