Merge remote-tracking branch 'asoc/topic/dapm' into asoc-next
[sfrench/cifs-2.6.git] / arch / blackfin / mach-bf527 / Kconfig
1 # SPDX-License-Identifier: GPL-2.0
2 config BF52x
3         def_bool y
4         depends on (BF522 || BF523 || BF524 || BF525 || BF526 || BF527)
5
6 if (BF52x)
7
8 source "arch/blackfin/mach-bf527/boards/Kconfig"
9
10 menu "BF527 Specific Configuration"
11
12 comment "Alternative Multiplexing Scheme"
13
14 choice
15         prompt "SPORT0"
16         default BF527_SPORT0_PORTG
17         help
18           Select PORT used for SPORT0. See Hardware Reference Manual
19
20 config BF527_SPORT0_PORTF
21         bool "PORT F"
22         help
23           PORT F
24
25 config BF527_SPORT0_PORTG
26         bool "PORT G"
27         help
28           PORT G
29 endchoice
30
31 choice
32         prompt "SPORT0 TSCLK Location"
33         depends on BF527_SPORT0_PORTG
34         default BF527_SPORT0_TSCLK_PG10
35         help
36           Select PIN used for SPORT0_TSCLK. See Hardware Reference Manual
37
38 config BF527_SPORT0_TSCLK_PG10
39         bool "PORT PG10"
40         help
41           PORT PG10
42
43 config BF527_SPORT0_TSCLK_PG14
44         bool "PORT PG14"
45         help
46           PORT PG14
47 endchoice
48
49 choice
50         prompt "UART1"
51         default BF527_UART1_PORTF
52         help
53           Select PORT used for UART1. See Hardware Reference Manual
54
55 config BF527_UART1_PORTF
56         bool "PORT F"
57         help
58           PORT F
59
60 config BF527_UART1_PORTG
61         bool "PORT G"
62         help
63           PORT G
64 endchoice
65
66 choice
67         prompt "NAND (NFC) Data"
68         default BF527_NAND_D_PORTH
69         help
70           Select PORT used for NAND Data Bus. See Hardware Reference Manual
71
72 config BF527_NAND_D_PORTF
73         bool "PORT F"
74         help
75           PORT F
76
77 config BF527_NAND_D_PORTH
78         bool "PORT H"
79         help
80           PORT H
81 endchoice
82
83 comment "Hysteresis/Schmitt Trigger Control"
84 config BFIN_HYSTERESIS_CONTROL
85         bool "Enable Hysteresis Control"
86         help
87           The ADSP-BF52x allows to control input hysteresis for Port F,
88           Port G and Port H and other processor signal inputs.
89           The Schmitt trigger enables can be set only for pin groups.
90           Saying Y will overwrite the default reset or boot loader
91           initialization.
92
93 menu "PORT F"
94         depends on BFIN_HYSTERESIS_CONTROL
95 config GPIO_HYST_PORTF_0_7
96         bool "Enable Hysteresis on PORTF {0...7}"
97 config GPIO_HYST_PORTF_8_9
98         bool "Enable Hysteresis on PORTF {8, 9}"
99 config GPIO_HYST_PORTF_10
100         bool "Enable Hysteresis on PORTF 10"
101 config GPIO_HYST_PORTF_11
102         bool "Enable Hysteresis on PORTF 11"
103 config GPIO_HYST_PORTF_12_13
104         bool "Enable Hysteresis on PORTF {12, 13}"
105 config GPIO_HYST_PORTF_14_15
106         bool "Enable Hysteresis on PORTF {14, 15}"
107 endmenu
108
109 menu "PORT G"
110         depends on BFIN_HYSTERESIS_CONTROL
111 config GPIO_HYST_PORTG_0
112         bool "Enable Hysteresis on PORTG 0"
113 config GPIO_HYST_PORTG_1_4
114         bool "Enable Hysteresis on PORTG {1...4}"
115 config GPIO_HYST_PORTG_5_6
116         bool "Enable Hysteresis on PORTG {5, 6}"
117 config GPIO_HYST_PORTG_7_8
118         bool "Enable Hysteresis on PORTG {7, 8}"
119 config GPIO_HYST_PORTG_9
120         bool "Enable Hysteresis on PORTG 9"
121 config GPIO_HYST_PORTG_10
122         bool "Enable Hysteresis on PORTG 10"
123 config GPIO_HYST_PORTG_11_13
124         bool "Enable Hysteresis on PORTG {11...13}"
125 config GPIO_HYST_PORTG_14_15
126         bool "Enable Hysteresis on PORTG {14, 15}"
127 endmenu
128
129 menu "PORT H"
130         depends on BFIN_HYSTERESIS_CONTROL
131 config GPIO_HYST_PORTH_0_7
132         bool "Enable Hysteresis on PORTH {0...7}"
133 config GPIO_HYST_PORTH_8
134         bool "Enable Hysteresis on PORTH 8"
135 config GPIO_HYST_PORTH_9_15
136         bool "Enable Hysteresis on PORTH {9...15}"
137 endmenu
138
139 menu "None-GPIO"
140         depends on BFIN_HYSTERESIS_CONTROL
141 config NONEGPIO_HYST_TMR0_FS1_PPICLK
142         bool "Enable Hysteresis on {TMR0, PPI_FS1, PPI_CLK}"
143 config NONEGPIO_HYST_NMI_RST_BMODE
144         bool "Enable Hysteresis on {NMI, RESET, BMODE}"
145 config NONEGPIO_HYST_JTAG
146         bool "Enable Hysteresis on JTAG"
147 endmenu
148
149 comment "Interrupt Priority Assignment"
150 menu "Priority"
151
152 config IRQ_PLL_WAKEUP
153         int "IRQ_PLL_WAKEUP"
154         default 7
155 config IRQ_DMA0_ERROR
156         int "IRQ_DMA0_ERROR"
157         default 7
158 config IRQ_DMAR0_BLK
159         int "IRQ_DMAR0_BLK"
160         default 7
161 config IRQ_DMAR1_BLK
162         int "IRQ_DMAR1_BLK"
163         default 7
164 config IRQ_DMAR0_OVR
165         int "IRQ_DMAR0_OVR"
166         default 7
167 config IRQ_DMAR1_OVR
168         int "IRQ_DMAR1_OVR"
169         default 7
170 config IRQ_PPI_ERROR
171         int "IRQ_PPI_ERROR"
172         default 7
173 config IRQ_MAC_ERROR
174         int "IRQ_MAC_ERROR"
175         default 7
176 config IRQ_SPORT0_ERROR
177         int "IRQ_SPORT0_ERROR"
178         default 7
179 config IRQ_SPORT1_ERROR
180         int "IRQ_SPORT1_ERROR"
181         default 7
182 config IRQ_UART0_ERROR
183         int "IRQ_UART0_ERROR"
184         default 7
185 config IRQ_UART1_ERROR
186         int "IRQ_UART1_ERROR"
187         default 7
188 config IRQ_RTC
189         int "IRQ_RTC"
190         default 8
191 config IRQ_PPI
192         int "IRQ_PPI"
193         default 8
194 config IRQ_SPORT0_RX
195         int "IRQ_SPORT0_RX"
196         default 9
197 config IRQ_SPORT0_TX
198         int "IRQ_SPORT0_TX"
199         default 9
200 config IRQ_SPORT1_RX
201         int "IRQ_SPORT1_RX"
202         default 9
203 config IRQ_SPORT1_TX
204         int "IRQ_SPORT1_TX"
205         default 9
206 config IRQ_TWI
207         int "IRQ_TWI"
208         default 10
209 config IRQ_SPI
210         int "IRQ_SPI"
211         default 10
212 config IRQ_UART0_RX
213         int "IRQ_UART0_RX"
214         default 10
215 config IRQ_UART0_TX
216         int "IRQ_UART0_TX"
217         default 10
218 config IRQ_UART1_RX
219         int "IRQ_UART1_RX"
220         default 10
221 config IRQ_UART1_TX
222         int "IRQ_UART1_TX"
223         default 10
224 config IRQ_OPTSEC
225         int "IRQ_OPTSEC"
226         default 11
227 config IRQ_CNT
228         int "IRQ_CNT"
229         default 11
230 config IRQ_MAC_RX
231         int "IRQ_MAC_RX"
232         default 11
233 config IRQ_PORTH_INTA
234         int "IRQ_PORTH_INTA"
235         default 11
236 config IRQ_MAC_TX
237         int "IRQ_MAC_TX/NFC"
238         default 11
239 config IRQ_PORTH_INTB
240         int "IRQ_PORTH_INTB"
241         default 11
242 config IRQ_TIMER0
243         int "IRQ_TIMER0"
244         default 7 if TICKSOURCE_GPTMR0
245         default 8
246 config IRQ_TIMER1
247         int "IRQ_TIMER1"
248         default 12
249 config IRQ_TIMER2
250         int "IRQ_TIMER2"
251         default 12
252 config IRQ_TIMER3
253         int "IRQ_TIMER3"
254         default 12
255 config IRQ_TIMER4
256         int "IRQ_TIMER4"
257         default 12
258 config IRQ_TIMER5
259         int "IRQ_TIMER5"
260         default 12
261 config IRQ_TIMER6
262         int "IRQ_TIMER6"
263         default 12
264 config IRQ_TIMER7
265         int "IRQ_TIMER7"
266         default 12
267 config IRQ_PORTG_INTA
268         int "IRQ_PORTG_INTA"
269         default 12
270 config IRQ_PORTG_INTB
271         int "IRQ_PORTG_INTB"
272         default 12
273 config IRQ_MEM_DMA0
274         int "IRQ_MEM_DMA0"
275         default 13
276 config IRQ_MEM_DMA1
277         int "IRQ_MEM_DMA1"
278         default 13
279 config IRQ_WATCH
280         int "IRQ_WATCH"
281         default 13
282 config IRQ_PORTF_INTA
283         int "IRQ_PORTF_INTA"
284         default 13
285 config IRQ_PORTF_INTB
286         int "IRQ_PORTF_INTB"
287         default 13
288 config IRQ_SPI_ERROR
289         int "IRQ_SPI_ERROR"
290         default 7
291 config IRQ_NFC_ERROR
292         int "IRQ_NFC_ERROR"
293         default 7
294 config IRQ_HDMA_ERROR
295         int "IRQ_HDMA_ERROR"
296         default 7
297 config IRQ_HDMA
298         int "IRQ_HDMA"
299         default 7
300 config IRQ_USB_EINT
301         int "IRQ_USB_EINT"
302         default 10
303 config IRQ_USB_INT0
304         int "IRQ_USB_INT0"
305         default 10
306 config IRQ_USB_INT1
307         int "IRQ_USB_INT1"
308         default 10
309 config IRQ_USB_INT2
310         int "IRQ_USB_INT2"
311         default 10
312 config IRQ_USB_DMA
313         int "IRQ_USB_DMA"
314         default 10
315
316         help
317           Enter the priority numbers between 7-13 ONLY.  Others are Reserved.
318           This applies to all the above.  It is not recommended to assign the
319           highest priority number 7 to UART or any other device.
320
321 endmenu
322
323 endmenu
324
325 endif