GNU Linux-libre 6.1.24-gnu
[releases.git] / arch / arm / mach-omap1 / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 menuconfig ARCH_OMAP1
3         bool "TI OMAP1"
4         depends on ARCH_MULTI_V4T || ARCH_MULTI_V5
5         depends on CPU_LITTLE_ENDIAN
6         depends on ATAGS
7         select ARCH_OMAP
8         select ARCH_HAS_HOLES_MEMORYMODEL
9         select ARCH_OMAP
10         select CLKSRC_MMIO
11         select FORCE_PCI if PCCARD
12         select GPIOLIB
13         help
14           Support for older TI OMAP1 (omap7xx, omap15xx or omap16xx)
15
16 if ARCH_OMAP1
17
18 menu "TI OMAP1 specific features"
19
20 comment "OMAP Core Type"
21
22 config ARCH_OMAP730
23         depends on ARCH_MULTI_V5
24         bool "OMAP730 Based System"
25         select ARCH_OMAP_OTG
26         select CPU_ARM926T
27         select OMAP_MPU_TIMER
28
29 config ARCH_OMAP850
30         depends on ARCH_MULTI_V5
31         bool "OMAP850 Based System"
32         select ARCH_OMAP_OTG
33         select CPU_ARM926T
34
35 config ARCH_OMAP15XX
36         depends on ARCH_MULTI_V4T
37         default y
38         bool "OMAP15xx Based System"
39         select CPU_ARM925T
40         select OMAP_MPU_TIMER
41
42 config ARCH_OMAP16XX
43         depends on ARCH_MULTI_V5
44         bool "OMAP16xx Based System"
45         select ARCH_OMAP_OTG
46         select CPU_ARM926T
47         select OMAP_DM_TIMER
48
49 config ARCH_OMAP
50         bool
51
52 comment "OMAP Feature Selections"
53
54 config OMAP_MUX
55         bool "OMAP multiplexing support"
56         default y
57         help
58           Pin multiplexing support for OMAP boards. If your bootloader
59           sets the multiplexing correctly, say N. Otherwise, or if unsure,
60           say Y.
61
62 config OMAP_MUX_DEBUG
63         bool "Multiplexing debug output"
64         depends on OMAP_MUX
65         help
66           Makes the multiplexing functions print out a lot of debug info.
67           This is useful if you want to find out the correct values of the
68           multiplexing registers.
69
70 config OMAP_MUX_WARNINGS
71         bool "Warn about pins the bootloader didn't set up"
72         depends on OMAP_MUX
73         default y
74         help
75           Choose Y here to warn whenever driver initialization logic needs
76           to change the pin multiplexing setup.  When there are no warnings
77           printed, it's safe to deselect OMAP_MUX for your product.
78
79 config OMAP_32K_TIMER
80         bool "Use 32KHz timer"
81         depends on ARCH_OMAP16XX
82         default ARCH_OMAP16XX
83         help
84           Select this option if you want to enable the OMAP 32KHz timer.
85           This timer saves power compared to the OMAP_MPU_TIMER, and has
86           support for no tick during idle. The 32KHz timer provides less
87           intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is
88           currently only available for OMAP16XX, 24XX, 34XX, OMAP4/5 and DRA7XX.
89
90           On OMAP2PLUS this value is only used for CONFIG_HZ and
91           CLOCK_TICK_RATE compile time calculation.
92           The actual timer selection is done in the board file
93           through the (DT_)MACHINE_START structure.
94
95 config OMAP_MPU_TIMER
96         bool "Use mpu timer"
97         depends on ARCH_OMAP1
98         help
99           Select this option if you want to use the OMAP mpu timer. This
100           timer provides more intra-tick resolution than the 32KHz timer,
101           but consumes more power.
102
103 config OMAP_SERIAL_WAKE
104         bool "Enable wake-up events for serial ports"
105         depends on ARCH_OMAP1 && OMAP_MUX
106         default y
107         help
108           Select this option if you want to have your system wake up
109           to data on the serial RX line. This allows you to wake the
110           system from serial console.
111
112 config OMAP_RESET_CLOCKS
113         bool "Reset unused clocks during boot"
114         depends on ARCH_OMAP
115         help
116           Say Y if you want to reset unused clocks during boot.
117           This option saves power, but assumes all drivers are
118           using the clock framework. Broken drivers that do not
119           yet use clock framework may not work with this option.
120           If you are booting from another operating system, you
121           probably do not want this option enabled until your
122           device drivers work properly.
123
124 config ARCH_OMAP_OTG
125         bool
126
127 comment "OMAP Board Type"
128
129 config MACH_OMAP_INNOVATOR
130         bool "TI Innovator"
131         depends on ARCH_OMAP15XX || ARCH_OMAP16XX
132         depends on UNUSED_BOARD_FILES
133         help
134           TI OMAP 1510 or 1610 Innovator board support. Say Y here if you
135           have such a board.
136
137 config MACH_OMAP_H2
138         bool "TI H2 Support"
139         depends on ARCH_OMAP16XX
140         depends on UNUSED_BOARD_FILES
141         help
142           TI OMAP 1610/1611B H2 board support. Say Y here if you have such
143           a board.
144
145 config MACH_OMAP_H3
146         bool "TI H3 Support"
147         depends on ARCH_OMAP16XX
148         depends on UNUSED_BOARD_FILES
149         help
150           TI OMAP 1710 H3 board support. Say Y here if you have such
151           a board.
152
153 config MACH_HERALD
154         bool "HTC Herald"
155         depends on ARCH_OMAP850
156         depends on UNUSED_BOARD_FILES
157         help
158           HTC Herald smartphone support (AKA T-Mobile Wing, ...)
159
160 config MACH_OMAP_OSK
161         bool "TI OSK Support"
162         depends on ARCH_OMAP16XX
163         help
164           TI OMAP 5912 OSK (OMAP Starter Kit) board support. Say Y here
165           if you have such a board.
166
167 config OMAP_OSK_MISTRAL
168         bool "Mistral QVGA board Support"
169         depends on MACH_OMAP_OSK
170         depends on UNUSED_BOARD_FILES
171         help
172           The OSK supports an optional add-on board with a Quarter-VGA
173           touchscreen, PDA-ish buttons, a resume button, bicolor LED,
174           and camera connector.  Say Y here if you have this board.
175
176 config MACH_OMAP_PERSEUS2
177         bool "TI Perseus2"
178         depends on ARCH_OMAP730
179         depends on UNUSED_BOARD_FILES
180         help
181           Support for TI OMAP 730 Perseus2 board. Say Y here if you have such
182           a board.
183
184 config MACH_OMAP_FSAMPLE
185         bool "TI F-Sample"
186         depends on ARCH_OMAP730
187         depends on UNUSED_BOARD_FILES
188         help
189           Support for TI OMAP 850 F-Sample board. Say Y here if you have such
190           a board.
191
192 config MACH_OMAP_PALMTE
193         bool "Palm Tungsten E"
194         depends on ARCH_OMAP15XX
195         help
196           Support for the Palm Tungsten E PDA.  To boot the kernel, you'll
197           need a PalmOS compatible bootloader; check out
198           http://palmtelinux.sourceforge.net/ for more information.
199           Say Y here if you have this PDA model, say N otherwise.
200
201 config MACH_OMAP_PALMZ71
202         bool "Palm Zire71"
203         depends on ARCH_OMAP15XX
204         depends on UNUSED_BOARD_FILES
205         help
206          Support for the Palm Zire71 PDA. To boot the kernel,
207          you'll need a PalmOS compatible bootloader; check out
208          http://hackndev.com/palm/z71 for more information.
209          Say Y here if you have such a PDA, say N otherwise.
210
211 config MACH_OMAP_PALMTT
212         bool "Palm Tungsten|T"
213         depends on ARCH_OMAP15XX
214         depends on UNUSED_BOARD_FILES
215         help
216           Support for the Palm Tungsten|T PDA. To boot the kernel, you'll
217           need a PalmOS compatible bootloader (Garux); check out
218           http://garux.sourceforge.net/ for more information.
219           Say Y here if you have this PDA model, say N otherwise.
220
221 config MACH_SX1
222         bool "Siemens SX1"
223         depends on ARCH_OMAP15XX
224         select I2C
225         help
226           Support for the Siemens SX1 phone. To boot the kernel,
227           you'll need a SX1 compatible bootloader; check out
228           http://forum.oslik.ru and
229           https://www.handhelds.org/moin/moin.cgi/SiemensSX1
230           for more information.
231           Say Y here if you have such a phone, say NO otherwise.
232
233 config MACH_NOKIA770
234         bool "Nokia 770"
235         depends on ARCH_OMAP16XX
236         help
237           Support for the Nokia 770 Internet Tablet. Say Y here if you
238           have such a device.
239
240 config MACH_AMS_DELTA
241         bool "Amstrad E3 (Delta)"
242         depends on ARCH_OMAP15XX
243         select FIQ
244         select GPIO_GENERIC_PLATFORM
245         select LEDS_GPIO_REGISTER
246         select REGULATOR
247         select REGULATOR_FIXED_VOLTAGE
248         help
249           Support for the Amstrad E3 (codename Delta) videophone. Say Y here
250           if you have such a device.
251
252 config MACH_OMAP_GENERIC
253         bool "Generic OMAP board"
254         depends on ARCH_OMAP15XX || ARCH_OMAP16XX
255         depends on UNUSED_BOARD_FILES
256         help
257           Support for generic OMAP-1510, 1610 or 1710 board with
258           no FPGA. Can be used as template for porting Linux to
259           custom OMAP boards. Say Y here if you have a custom
260           board.
261
262 endmenu
263
264 endif