]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - drivers/irqchip/Kconfig
Merge tag 'hyperv-fixes-signed-20211007' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-jammy-kernel.git] / drivers / irqchip / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "IRQ chip support"
3
4 config IRQCHIP
5 def_bool y
6 depends on OF_IRQ
7
8 config ARM_GIC
9 bool
10 select IRQ_DOMAIN_HIERARCHY
11 select GENERIC_IRQ_EFFECTIVE_AFF_MASK
12
13 config ARM_GIC_PM
14 bool
15 depends on PM
16 select ARM_GIC
17
18 config ARM_GIC_MAX_NR
19 int
20 depends on ARM_GIC
21 default 2 if ARCH_REALVIEW
22 default 1
23
24 config ARM_GIC_V2M
25 bool
26 depends on PCI
27 select ARM_GIC
28 select PCI_MSI
29
30 config GIC_NON_BANKED
31 bool
32
33 config ARM_GIC_V3
34 bool
35 select IRQ_DOMAIN_HIERARCHY
36 select PARTITION_PERCPU
37 select GENERIC_IRQ_EFFECTIVE_AFF_MASK
38
39 config ARM_GIC_V3_ITS
40 bool
41 select GENERIC_MSI_IRQ_DOMAIN
42 default ARM_GIC_V3
43
44 config ARM_GIC_V3_ITS_PCI
45 bool
46 depends on ARM_GIC_V3_ITS
47 depends on PCI
48 depends on PCI_MSI
49 default ARM_GIC_V3_ITS
50
51 config ARM_GIC_V3_ITS_FSL_MC
52 bool
53 depends on ARM_GIC_V3_ITS
54 depends on FSL_MC_BUS
55 default ARM_GIC_V3_ITS
56
57 config ARM_NVIC
58 bool
59 select IRQ_DOMAIN_HIERARCHY
60 select GENERIC_IRQ_CHIP
61
62 config ARM_VIC
63 bool
64 select IRQ_DOMAIN
65
66 config ARM_VIC_NR
67 int
68 default 4 if ARCH_S5PV210
69 default 2
70 depends on ARM_VIC
71 help
72 The maximum number of VICs available in the system, for
73 power management.
74
75 config ARMADA_370_XP_IRQ
76 bool
77 select GENERIC_IRQ_CHIP
78 select PCI_MSI if PCI
79 select GENERIC_IRQ_EFFECTIVE_AFF_MASK
80
81 config ALPINE_MSI
82 bool
83 depends on PCI
84 select PCI_MSI
85 select GENERIC_IRQ_CHIP
86
87 config AL_FIC
88 bool "Amazon's Annapurna Labs Fabric Interrupt Controller"
89 depends on OF || COMPILE_TEST
90 select GENERIC_IRQ_CHIP
91 select IRQ_DOMAIN
92 help
93 Support Amazon's Annapurna Labs Fabric Interrupt Controller.
94
95 config ATMEL_AIC_IRQ
96 bool
97 select GENERIC_IRQ_CHIP
98 select IRQ_DOMAIN
99 select SPARSE_IRQ
100
101 config ATMEL_AIC5_IRQ
102 bool
103 select GENERIC_IRQ_CHIP
104 select IRQ_DOMAIN
105 select SPARSE_IRQ
106
107 config I8259
108 bool
109 select IRQ_DOMAIN
110
111 config BCM6345_L1_IRQ
112 bool
113 select GENERIC_IRQ_CHIP
114 select IRQ_DOMAIN
115 select GENERIC_IRQ_EFFECTIVE_AFF_MASK
116
117 config BCM7038_L1_IRQ
118 bool
119 select GENERIC_IRQ_CHIP
120 select IRQ_DOMAIN
121 select GENERIC_IRQ_EFFECTIVE_AFF_MASK
122
123 config BCM7120_L2_IRQ
124 bool
125 select GENERIC_IRQ_CHIP
126 select IRQ_DOMAIN
127
128 config BRCMSTB_L2_IRQ
129 bool
130 select GENERIC_IRQ_CHIP
131 select IRQ_DOMAIN
132
133 config DAVINCI_AINTC
134 bool
135 select GENERIC_IRQ_CHIP
136 select IRQ_DOMAIN
137
138 config DAVINCI_CP_INTC
139 bool
140 select GENERIC_IRQ_CHIP
141 select IRQ_DOMAIN
142
143 config DW_APB_ICTL
144 bool
145 select GENERIC_IRQ_CHIP
146 select IRQ_DOMAIN_HIERARCHY
147
148 config FARADAY_FTINTC010
149 bool
150 select IRQ_DOMAIN
151 select SPARSE_IRQ
152
153 config HISILICON_IRQ_MBIGEN
154 bool
155 select ARM_GIC_V3
156 select ARM_GIC_V3_ITS
157
158 config IMGPDC_IRQ
159 bool
160 select GENERIC_IRQ_CHIP
161 select IRQ_DOMAIN
162
163 config IXP4XX_IRQ
164 bool
165 select IRQ_DOMAIN
166 select SPARSE_IRQ
167
168 config MADERA_IRQ
169 tristate
170
171 config IRQ_MIPS_CPU
172 bool
173 select GENERIC_IRQ_CHIP
174 select GENERIC_IRQ_IPI if SYS_SUPPORTS_MULTITHREADING
175 select IRQ_DOMAIN
176 select GENERIC_IRQ_EFFECTIVE_AFF_MASK
177
178 config CLPS711X_IRQCHIP
179 bool
180 depends on ARCH_CLPS711X
181 select IRQ_DOMAIN
182 select SPARSE_IRQ
183 default y
184
185 config OMPIC
186 bool
187
188 config OR1K_PIC
189 bool
190 select IRQ_DOMAIN
191
192 config OMAP_IRQCHIP
193 bool
194 select GENERIC_IRQ_CHIP
195 select IRQ_DOMAIN
196
197 config ORION_IRQCHIP
198 bool
199 select IRQ_DOMAIN
200
201 config PIC32_EVIC
202 bool
203 select GENERIC_IRQ_CHIP
204 select IRQ_DOMAIN
205
206 config JCORE_AIC
207 bool "J-Core integrated AIC" if COMPILE_TEST
208 depends on OF
209 select IRQ_DOMAIN
210 help
211 Support for the J-Core integrated AIC.
212
213 config RDA_INTC
214 bool
215 select IRQ_DOMAIN
216
217 config RENESAS_INTC_IRQPIN
218 bool "Renesas INTC External IRQ Pin Support" if COMPILE_TEST
219 select IRQ_DOMAIN
220 help
221 Enable support for the Renesas Interrupt Controller for external
222 interrupt pins, as found on SH/R-Mobile and R-Car Gen1 SoCs.
223
224 config RENESAS_IRQC
225 bool "Renesas R-Mobile APE6, R-Car Gen{2,3} and RZ/G{1,2} IRQC support" if COMPILE_TEST
226 select GENERIC_IRQ_CHIP
227 select IRQ_DOMAIN
228 help
229 Enable support for the Renesas Interrupt Controller for external
230 devices, as found on R-Mobile APE6, R-Car Gen{2,3} and RZ/G{1,2} SoCs.
231
232 config RENESAS_RZA1_IRQC
233 bool "Renesas RZ/A1 IRQC support" if COMPILE_TEST
234 select IRQ_DOMAIN_HIERARCHY
235 help
236 Enable support for the Renesas RZ/A1 Interrupt Controller, to use up
237 to 8 external interrupts with configurable sense select.
238
239 config SL28CPLD_INTC
240 bool "Kontron sl28cpld IRQ controller"
241 depends on MFD_SL28CPLD=y || COMPILE_TEST
242 select REGMAP_IRQ
243 help
244 Interrupt controller driver for the board management controller
245 found on the Kontron sl28 CPLD.
246
247 config ST_IRQCHIP
248 bool
249 select REGMAP
250 select MFD_SYSCON
251 help
252 Enables SysCfg Controlled IRQs on STi based platforms.
253
254 config TB10X_IRQC
255 bool
256 select IRQ_DOMAIN
257 select GENERIC_IRQ_CHIP
258
259 config TS4800_IRQ
260 tristate "TS-4800 IRQ controller"
261 select IRQ_DOMAIN
262 depends on HAS_IOMEM
263 depends on SOC_IMX51 || COMPILE_TEST
264 help
265 Support for the TS-4800 FPGA IRQ controller
266
267 config VERSATILE_FPGA_IRQ
268 bool
269 select IRQ_DOMAIN
270
271 config VERSATILE_FPGA_IRQ_NR
272 int
273 default 4
274 depends on VERSATILE_FPGA_IRQ
275
276 config XTENSA_MX
277 bool
278 select IRQ_DOMAIN
279 select GENERIC_IRQ_EFFECTIVE_AFF_MASK
280
281 config XILINX_INTC
282 bool "Xilinx Interrupt Controller IP"
283 depends on MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP
284 select IRQ_DOMAIN
285 help
286 Support for the Xilinx Interrupt Controller IP core.
287 This is used as a primary controller with MicroBlaze and can also
288 be used as a secondary chained controller on other platforms.
289
290 config IRQ_CROSSBAR
291 bool
292 help
293 Support for a CROSSBAR ip that precedes the main interrupt controller.
294 The primary irqchip invokes the crossbar's callback which inturn allocates
295 a free irq and configures the IP. Thus the peripheral interrupts are
296 routed to one of the free irqchip interrupt lines.
297
298 config KEYSTONE_IRQ
299 tristate "Keystone 2 IRQ controller IP"
300 depends on ARCH_KEYSTONE
301 help
302 Support for Texas Instruments Keystone 2 IRQ controller IP which
303 is part of the Keystone 2 IPC mechanism
304
305 config MIPS_GIC
306 bool
307 select GENERIC_IRQ_IPI
308 select MIPS_CM
309
310 config INGENIC_IRQ
311 bool
312 depends on MACH_INGENIC
313 default y
314
315 config INGENIC_TCU_IRQ
316 bool "Ingenic JZ47xx TCU interrupt controller"
317 default MACH_INGENIC
318 depends on MIPS || COMPILE_TEST
319 select MFD_SYSCON
320 select GENERIC_IRQ_CHIP
321 help
322 Support for interrupts in the Timer/Counter Unit (TCU) of the Ingenic
323 JZ47xx SoCs.
324
325 If unsure, say N.
326
327 config RENESAS_H8300H_INTC
328 bool
329 select IRQ_DOMAIN
330
331 config RENESAS_H8S_INTC
332 bool "Renesas H8S Interrupt Controller Support" if COMPILE_TEST
333 select IRQ_DOMAIN
334 help
335 Enable support for the Renesas H8/300 Interrupt Controller, as found
336 on Renesas H8S SoCs.
337
338 config IMX_GPCV2
339 bool
340 select IRQ_DOMAIN
341 help
342 Enables the wakeup IRQs for IMX platforms with GPCv2 block
343
344 config IRQ_MXS
345 def_bool y if MACH_ASM9260 || ARCH_MXS
346 select IRQ_DOMAIN
347 select STMP_DEVICE
348
349 config MSCC_OCELOT_IRQ
350 bool
351 select IRQ_DOMAIN
352 select GENERIC_IRQ_CHIP
353
354 config MVEBU_GICP
355 bool
356
357 config MVEBU_ICU
358 bool
359
360 config MVEBU_ODMI
361 bool
362 select GENERIC_MSI_IRQ_DOMAIN
363
364 config MVEBU_PIC
365 bool
366
367 config MVEBU_SEI
368 bool
369
370 config LS_EXTIRQ
371 def_bool y if SOC_LS1021A || ARCH_LAYERSCAPE
372 select MFD_SYSCON
373
374 config LS_SCFG_MSI
375 def_bool y if SOC_LS1021A || ARCH_LAYERSCAPE
376 depends on PCI && PCI_MSI
377
378 config PARTITION_PERCPU
379 bool
380
381 config STM32_EXTI
382 bool
383 select IRQ_DOMAIN
384 select GENERIC_IRQ_CHIP
385
386 config QCOM_IRQ_COMBINER
387 bool "QCOM IRQ combiner support"
388 depends on ARCH_QCOM && ACPI
389 select IRQ_DOMAIN_HIERARCHY
390 help
391 Say yes here to add support for the IRQ combiner devices embedded
392 in Qualcomm Technologies chips.
393
394 config IRQ_UNIPHIER_AIDET
395 bool "UniPhier AIDET support" if COMPILE_TEST
396 depends on ARCH_UNIPHIER || COMPILE_TEST
397 default ARCH_UNIPHIER
398 select IRQ_DOMAIN_HIERARCHY
399 help
400 Support for the UniPhier AIDET (ARM Interrupt Detector).
401
402 config MESON_IRQ_GPIO
403 bool "Meson GPIO Interrupt Multiplexer"
404 depends on ARCH_MESON
405 select IRQ_DOMAIN_HIERARCHY
406 help
407 Support Meson SoC Family GPIO Interrupt Multiplexer
408
409 config GOLDFISH_PIC
410 bool "Goldfish programmable interrupt controller"
411 depends on MIPS && (GOLDFISH || COMPILE_TEST)
412 select GENERIC_IRQ_CHIP
413 select IRQ_DOMAIN
414 help
415 Say yes here to enable Goldfish interrupt controller driver used
416 for Goldfish based virtual platforms.
417
418 config QCOM_PDC
419 tristate "QCOM PDC"
420 depends on ARCH_QCOM
421 select IRQ_DOMAIN_HIERARCHY
422 help
423 Power Domain Controller driver to manage and configure wakeup
424 IRQs for Qualcomm Technologies Inc (QTI) mobile chips.
425
426 config CSKY_MPINTC
427 bool
428 depends on CSKY
429 help
430 Say yes here to enable C-SKY SMP interrupt controller driver used
431 for C-SKY SMP system.
432 In fact it's not mmio map in hardware and it uses ld/st to visit the
433 controller's register inside CPU.
434
435 config CSKY_APB_INTC
436 bool "C-SKY APB Interrupt Controller"
437 depends on CSKY
438 help
439 Say yes here to enable C-SKY APB interrupt controller driver used
440 by C-SKY single core SOC system. It uses mmio map apb-bus to visit
441 the controller's register.
442
443 config IMX_IRQSTEER
444 bool "i.MX IRQSTEER support"
445 depends on ARCH_MXC || COMPILE_TEST
446 default ARCH_MXC
447 select IRQ_DOMAIN
448 help
449 Support for the i.MX IRQSTEER interrupt multiplexer/remapper.
450
451 config IMX_INTMUX
452 bool "i.MX INTMUX support" if COMPILE_TEST
453 default y if ARCH_MXC
454 select IRQ_DOMAIN
455 help
456 Support for the i.MX INTMUX interrupt multiplexer.
457
458 config LS1X_IRQ
459 bool "Loongson-1 Interrupt Controller"
460 depends on MACH_LOONGSON32
461 default y
462 select IRQ_DOMAIN
463 select GENERIC_IRQ_CHIP
464 help
465 Support for the Loongson-1 platform Interrupt Controller.
466
467 config TI_SCI_INTR_IRQCHIP
468 bool
469 depends on TI_SCI_PROTOCOL
470 select IRQ_DOMAIN_HIERARCHY
471 help
472 This enables the irqchip driver support for K3 Interrupt router
473 over TI System Control Interface available on some new TI's SoCs.
474 If you wish to use interrupt router irq resources managed by the
475 TI System Controller, say Y here. Otherwise, say N.
476
477 config TI_SCI_INTA_IRQCHIP
478 bool
479 depends on TI_SCI_PROTOCOL
480 select IRQ_DOMAIN_HIERARCHY
481 select TI_SCI_INTA_MSI_DOMAIN
482 help
483 This enables the irqchip driver support for K3 Interrupt aggregator
484 over TI System Control Interface available on some new TI's SoCs.
485 If you wish to use interrupt aggregator irq resources managed by the
486 TI System Controller, say Y here. Otherwise, say N.
487
488 config TI_PRUSS_INTC
489 tristate
490 depends on TI_PRUSS
491 default TI_PRUSS
492 select IRQ_DOMAIN
493 help
494 This enables support for the PRU-ICSS Local Interrupt Controller
495 present within a PRU-ICSS subsystem present on various TI SoCs.
496 The PRUSS INTC enables various interrupts to be routed to multiple
497 different processors within the SoC.
498
499 config RISCV_INTC
500 bool "RISC-V Local Interrupt Controller"
501 depends on RISCV
502 default y
503 help
504 This enables support for the per-HART local interrupt controller
505 found in standard RISC-V systems. The per-HART local interrupt
506 controller handles timer interrupts, software interrupts, and
507 hardware interrupts. Without a per-HART local interrupt controller,
508 a RISC-V system will be unable to handle any interrupts.
509
510 If you don't know what to do here, say Y.
511
512 config SIFIVE_PLIC
513 bool "SiFive Platform-Level Interrupt Controller"
514 depends on RISCV
515 select IRQ_DOMAIN_HIERARCHY
516 help
517 This enables support for the PLIC chip found in SiFive (and
518 potentially other) RISC-V systems. The PLIC controls devices
519 interrupts and connects them to each core's local interrupt
520 controller. Aside from timer and software interrupts, all other
521 interrupt sources are subordinate to the PLIC.
522
523 If you don't know what to do here, say Y.
524
525 config EXYNOS_IRQ_COMBINER
526 bool "Samsung Exynos IRQ combiner support" if COMPILE_TEST
527 depends on (ARCH_EXYNOS && ARM) || COMPILE_TEST
528 help
529 Say yes here to add support for the IRQ combiner devices embedded
530 in Samsung Exynos chips.
531
532 config LOONGSON_LIOINTC
533 bool "Loongson Local I/O Interrupt Controller"
534 depends on MACH_LOONGSON64
535 default y
536 select IRQ_DOMAIN
537 select GENERIC_IRQ_CHIP
538 help
539 Support for the Loongson Local I/O Interrupt Controller.
540
541 config LOONGSON_HTPIC
542 bool "Loongson3 HyperTransport PIC Controller"
543 depends on MACH_LOONGSON64
544 default y
545 select IRQ_DOMAIN
546 select GENERIC_IRQ_CHIP
547 help
548 Support for the Loongson-3 HyperTransport PIC Controller.
549
550 config LOONGSON_HTVEC
551 bool "Loongson3 HyperTransport Interrupt Vector Controller"
552 depends on MACH_LOONGSON64
553 default MACH_LOONGSON64
554 select IRQ_DOMAIN_HIERARCHY
555 help
556 Support for the Loongson3 HyperTransport Interrupt Vector Controller.
557
558 config LOONGSON_PCH_PIC
559 bool "Loongson PCH PIC Controller"
560 depends on MACH_LOONGSON64 || COMPILE_TEST
561 default MACH_LOONGSON64
562 select IRQ_DOMAIN_HIERARCHY
563 select IRQ_FASTEOI_HIERARCHY_HANDLERS
564 help
565 Support for the Loongson PCH PIC Controller.
566
567 config LOONGSON_PCH_MSI
568 bool "Loongson PCH MSI Controller"
569 depends on MACH_LOONGSON64 || COMPILE_TEST
570 depends on PCI
571 default MACH_LOONGSON64
572 select IRQ_DOMAIN_HIERARCHY
573 select PCI_MSI
574 help
575 Support for the Loongson PCH MSI Controller.
576
577 config MST_IRQ
578 bool "MStar Interrupt Controller"
579 depends on ARCH_MEDIATEK || ARCH_MSTARV7 || COMPILE_TEST
580 default ARCH_MEDIATEK
581 select IRQ_DOMAIN
582 select IRQ_DOMAIN_HIERARCHY
583 help
584 Support MStar Interrupt Controller.
585
586 config WPCM450_AIC
587 bool "Nuvoton WPCM450 Advanced Interrupt Controller"
588 depends on ARCH_WPCM450
589 help
590 Support for the interrupt controller in the Nuvoton WPCM450 BMC SoC.
591
592 config IRQ_IDT3243X
593 bool
594 select GENERIC_IRQ_CHIP
595 select IRQ_DOMAIN
596
597 config APPLE_AIC
598 bool "Apple Interrupt Controller (AIC)"
599 depends on ARM64
600 depends on ARCH_APPLE || COMPILE_TEST
601 help
602 Support for the Apple Interrupt Controller found on Apple Silicon SoCs,
603 such as the M1.
604
605 endmenu