1# SPDX-License-Identifier: GPL-2.0-only 2menu "IRQ chip support" 3 4config IRQCHIP 5 def_bool y 6 depends on (OF_IRQ || ACPI_GENERIC_GSI) 7 8config ARM_GIC 9 bool 10 depends on OF 11 select IRQ_DOMAIN_HIERARCHY 12 select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP 13 14config ARM_GIC_PM 15 bool 16 depends on PM 17 select ARM_GIC 18 19config ARM_GIC_MAX_NR 20 int 21 depends on ARM_GIC 22 default 2 if ARCH_REALVIEW 23 default 1 24 25config ARM_GIC_V2M 26 bool 27 depends on PCI 28 select ARM_GIC 29 select IRQ_MSI_LIB 30 select PCI_MSI 31 32config GIC_NON_BANKED 33 bool 34 35config ARM_GIC_V3 36 bool 37 select IRQ_DOMAIN_HIERARCHY 38 select PARTITION_PERCPU 39 select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP 40 select HAVE_ARM_SMCCC_DISCOVERY 41 42config ARM_GIC_V3_ITS 43 bool 44 select GENERIC_MSI_IRQ 45 select IRQ_MSI_LIB 46 default ARM_GIC_V3 47 48config ARM_GIC_V3_ITS_PCI 49 bool 50 depends on ARM_GIC_V3_ITS 51 depends on PCI 52 depends on PCI_MSI 53 default ARM_GIC_V3_ITS 54 55config ARM_GIC_V3_ITS_FSL_MC 56 bool 57 depends on ARM_GIC_V3_ITS 58 depends on FSL_MC_BUS 59 default ARM_GIC_V3_ITS 60 61config ARM_NVIC 62 bool 63 select IRQ_DOMAIN_HIERARCHY 64 select GENERIC_IRQ_CHIP 65 66config ARM_VIC 67 bool 68 select IRQ_DOMAIN 69 70config ARM_VIC_NR 71 int 72 default 4 if ARCH_S5PV210 73 default 2 74 depends on ARM_VIC 75 help 76 The maximum number of VICs available in the system, for 77 power management. 78 79config IRQ_MSI_LIB 80 bool 81 82config ARMADA_370_XP_IRQ 83 bool 84 select GENERIC_IRQ_CHIP 85 select PCI_MSI if PCI 86 select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP 87 88config ALPINE_MSI 89 bool 90 depends on PCI 91 select PCI_MSI 92 select GENERIC_IRQ_CHIP 93 94config AL_FIC 95 bool "Amazon's Annapurna Labs Fabric Interrupt Controller" 96 depends on OF 97 depends on HAS_IOMEM 98 select GENERIC_IRQ_CHIP 99 select IRQ_DOMAIN 100 help 101 Support Amazon's Annapurna Labs Fabric Interrupt Controller. 102 103config ATMEL_AIC_IRQ 104 bool 105 select GENERIC_IRQ_CHIP 106 select IRQ_DOMAIN 107 select SPARSE_IRQ 108 109config ATMEL_AIC5_IRQ 110 bool 111 select GENERIC_IRQ_CHIP 112 select IRQ_DOMAIN 113 select SPARSE_IRQ 114 115config I8259 116 bool 117 select IRQ_DOMAIN 118 119config BCM6345_L1_IRQ 120 bool 121 select GENERIC_IRQ_CHIP 122 select IRQ_DOMAIN 123 select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP 124 125config BCM7038_L1_IRQ 126 tristate "Broadcom STB 7038-style L1/L2 interrupt controller driver" 127 depends on ARCH_BRCMSTB || BMIPS_GENERIC 128 default ARCH_BRCMSTB || BMIPS_GENERIC 129 select GENERIC_IRQ_CHIP 130 select IRQ_DOMAIN 131 select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP 132 133config BCM7120_L2_IRQ 134 tristate "Broadcom STB 7120-style L2 interrupt controller driver" 135 depends on ARCH_BRCMSTB || BMIPS_GENERIC 136 default ARCH_BRCMSTB || BMIPS_GENERIC 137 select GENERIC_IRQ_CHIP 138 select IRQ_DOMAIN 139 140config BRCMSTB_L2_IRQ 141 tristate "Broadcom STB generic L2 interrupt controller driver" 142 depends on ARCH_BCM2835 || ARCH_BRCMSTB || BMIPS_GENERIC 143 default ARCH_BCM2835 || ARCH_BRCMSTB || BMIPS_GENERIC 144 select GENERIC_IRQ_CHIP 145 select IRQ_DOMAIN 146 147config DAVINCI_CP_INTC 148 bool 149 select GENERIC_IRQ_CHIP 150 select IRQ_DOMAIN 151 152config DW_APB_ICTL 153 bool 154 select GENERIC_IRQ_CHIP 155 select IRQ_DOMAIN_HIERARCHY 156 157config FARADAY_FTINTC010 158 bool 159 select IRQ_DOMAIN 160 select SPARSE_IRQ 161 162config HISILICON_IRQ_MBIGEN 163 bool 164 select ARM_GIC_V3 165 select ARM_GIC_V3_ITS 166 167config IMGPDC_IRQ 168 bool 169 select GENERIC_IRQ_CHIP 170 select IRQ_DOMAIN 171 172config IXP4XX_IRQ 173 bool 174 select IRQ_DOMAIN 175 select SPARSE_IRQ 176 177config MADERA_IRQ 178 tristate 179 180config IRQ_MIPS_CPU 181 bool 182 select GENERIC_IRQ_CHIP 183 select GENERIC_IRQ_IPI if SMP && SYS_SUPPORTS_MULTITHREADING 184 select IRQ_DOMAIN 185 select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP 186 187config CLPS711X_IRQCHIP 188 bool 189 depends on ARCH_CLPS711X 190 select IRQ_DOMAIN 191 select SPARSE_IRQ 192 default y 193 194config OMPIC 195 bool 196 197config OR1K_PIC 198 bool 199 select IRQ_DOMAIN 200 201config OMAP_IRQCHIP 202 bool 203 select GENERIC_IRQ_CHIP 204 select IRQ_DOMAIN 205 206config ORION_IRQCHIP 207 bool 208 select IRQ_DOMAIN 209 210config PIC32_EVIC 211 bool 212 select GENERIC_IRQ_CHIP 213 select IRQ_DOMAIN 214 215config JCORE_AIC 216 bool "J-Core integrated AIC" if COMPILE_TEST 217 depends on OF 218 select IRQ_DOMAIN 219 help 220 Support for the J-Core integrated AIC. 221 222config RDA_INTC 223 bool 224 select IRQ_DOMAIN 225 226config RENESAS_INTC_IRQPIN 227 bool "Renesas INTC External IRQ Pin Support" if COMPILE_TEST 228 select IRQ_DOMAIN 229 help 230 Enable support for the Renesas Interrupt Controller for external 231 interrupt pins, as found on SH/R-Mobile and R-Car Gen1 SoCs. 232 233config RENESAS_IRQC 234 bool "Renesas R-Mobile APE6, R-Car Gen{2,3} and RZ/G{1,2} IRQC support" if COMPILE_TEST 235 select GENERIC_IRQ_CHIP 236 select IRQ_DOMAIN 237 help 238 Enable support for the Renesas Interrupt Controller for external 239 devices, as found on R-Mobile APE6, R-Car Gen{2,3} and RZ/G{1,2} SoCs. 240 241config RENESAS_RZA1_IRQC 242 bool "Renesas RZ/A1 IRQC support" if COMPILE_TEST 243 select IRQ_DOMAIN_HIERARCHY 244 help 245 Enable support for the Renesas RZ/A1 Interrupt Controller, to use up 246 to 8 external interrupts with configurable sense select. 247 248config RENESAS_RZG2L_IRQC 249 bool "Renesas RZ/G2L (and alike SoC) IRQC support" if COMPILE_TEST 250 select GENERIC_IRQ_CHIP 251 select IRQ_DOMAIN_HIERARCHY 252 help 253 Enable support for the Renesas RZ/G2L (and alike SoC) Interrupt Controller 254 for external devices. 255 256config SL28CPLD_INTC 257 bool "Kontron sl28cpld IRQ controller" 258 depends on MFD_SL28CPLD=y || COMPILE_TEST 259 select REGMAP_IRQ 260 help 261 Interrupt controller driver for the board management controller 262 found on the Kontron sl28 CPLD. 263 264config ST_IRQCHIP 265 bool 266 select REGMAP 267 select MFD_SYSCON 268 help 269 Enables SysCfg Controlled IRQs on STi based platforms. 270 271config SUN4I_INTC 272 bool 273 274config SUN6I_R_INTC 275 bool 276 select IRQ_DOMAIN_HIERARCHY 277 select IRQ_FASTEOI_HIERARCHY_HANDLERS 278 279config SUNXI_NMI_INTC 280 bool 281 select GENERIC_IRQ_CHIP 282 283config TB10X_IRQC 284 bool 285 select IRQ_DOMAIN 286 select GENERIC_IRQ_CHIP 287 288config TS4800_IRQ 289 tristate "TS-4800 IRQ controller" 290 select IRQ_DOMAIN 291 depends on HAS_IOMEM 292 depends on SOC_IMX51 || COMPILE_TEST 293 help 294 Support for the TS-4800 FPGA IRQ controller 295 296config VERSATILE_FPGA_IRQ 297 bool 298 select IRQ_DOMAIN 299 300config VERSATILE_FPGA_IRQ_NR 301 int 302 default 4 303 depends on VERSATILE_FPGA_IRQ 304 305config XTENSA_MX 306 bool 307 select IRQ_DOMAIN 308 select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP 309 310config XILINX_INTC 311 bool "Xilinx Interrupt Controller IP" 312 depends on OF_ADDRESS 313 select IRQ_DOMAIN 314 help 315 Support for the Xilinx Interrupt Controller IP core. 316 This is used as a primary controller with MicroBlaze and can also 317 be used as a secondary chained controller on other platforms. 318 319config IRQ_CROSSBAR 320 bool 321 help 322 Support for a CROSSBAR ip that precedes the main interrupt controller. 323 The primary irqchip invokes the crossbar's callback which inturn allocates 324 a free irq and configures the IP. Thus the peripheral interrupts are 325 routed to one of the free irqchip interrupt lines. 326 327config KEYSTONE_IRQ 328 tristate "Keystone 2 IRQ controller IP" 329 depends on ARCH_KEYSTONE 330 help 331 Support for Texas Instruments Keystone 2 IRQ controller IP which 332 is part of the Keystone 2 IPC mechanism 333 334config MIPS_GIC 335 bool 336 select GENERIC_IRQ_IPI if SMP 337 select IRQ_DOMAIN_HIERARCHY 338 select MIPS_CM 339 340config INGENIC_IRQ 341 bool 342 depends on MACH_INGENIC 343 default y 344 345config INGENIC_TCU_IRQ 346 bool "Ingenic JZ47xx TCU interrupt controller" 347 default MACH_INGENIC 348 depends on MIPS || COMPILE_TEST 349 select MFD_SYSCON 350 select GENERIC_IRQ_CHIP 351 help 352 Support for interrupts in the Timer/Counter Unit (TCU) of the Ingenic 353 JZ47xx SoCs. 354 355 If unsure, say N. 356 357config IMX_GPCV2 358 bool 359 select IRQ_DOMAIN 360 help 361 Enables the wakeup IRQs for IMX platforms with GPCv2 block 362 363config IRQ_MXS 364 def_bool y if MACH_ASM9260 || ARCH_MXS 365 select IRQ_DOMAIN 366 select STMP_DEVICE 367 368config MSCC_OCELOT_IRQ 369 bool 370 select IRQ_DOMAIN 371 select GENERIC_IRQ_CHIP 372 373config MVEBU_GICP 374 bool 375 376config MVEBU_ICU 377 bool 378 379config MVEBU_ODMI 380 bool 381 select GENERIC_MSI_IRQ 382 383config MVEBU_PIC 384 bool 385 386config MVEBU_SEI 387 bool 388 389config LS_EXTIRQ 390 def_bool y if SOC_LS1021A || ARCH_LAYERSCAPE 391 select MFD_SYSCON 392 393config LS_SCFG_MSI 394 def_bool y if SOC_LS1021A || ARCH_LAYERSCAPE 395 depends on PCI_MSI 396 397config PARTITION_PERCPU 398 bool 399 400config STM32_EXTI 401 bool 402 select IRQ_DOMAIN 403 select GENERIC_IRQ_CHIP 404 405config QCOM_IRQ_COMBINER 406 bool "QCOM IRQ combiner support" 407 depends on ARCH_QCOM && ACPI 408 select IRQ_DOMAIN_HIERARCHY 409 help 410 Say yes here to add support for the IRQ combiner devices embedded 411 in Qualcomm Technologies chips. 412 413config IRQ_UNIPHIER_AIDET 414 bool "UniPhier AIDET support" if COMPILE_TEST 415 depends on ARCH_UNIPHIER || COMPILE_TEST 416 default ARCH_UNIPHIER 417 select IRQ_DOMAIN_HIERARCHY 418 help 419 Support for the UniPhier AIDET (ARM Interrupt Detector). 420 421config MESON_IRQ_GPIO 422 tristate "Meson GPIO Interrupt Multiplexer" 423 depends on ARCH_MESON || COMPILE_TEST 424 default ARCH_MESON 425 select IRQ_DOMAIN_HIERARCHY 426 help 427 Support Meson SoC Family GPIO Interrupt Multiplexer 428 429config GOLDFISH_PIC 430 bool "Goldfish programmable interrupt controller" 431 depends on MIPS && (GOLDFISH || COMPILE_TEST) 432 select GENERIC_IRQ_CHIP 433 select IRQ_DOMAIN 434 help 435 Say yes here to enable Goldfish interrupt controller driver used 436 for Goldfish based virtual platforms. 437 438config QCOM_PDC 439 tristate "QCOM PDC" 440 depends on ARCH_QCOM 441 select IRQ_DOMAIN_HIERARCHY 442 help 443 Power Domain Controller driver to manage and configure wakeup 444 IRQs for Qualcomm Technologies Inc (QTI) mobile chips. 445 446config QCOM_MPM 447 tristate "QCOM MPM" 448 depends on ARCH_QCOM 449 depends on MAILBOX 450 select IRQ_DOMAIN_HIERARCHY 451 help 452 MSM Power Manager driver to manage and configure wakeup 453 IRQs for Qualcomm Technologies Inc (QTI) mobile chips. 454 455config CSKY_MPINTC 456 bool 457 depends on CSKY 458 help 459 Say yes here to enable C-SKY SMP interrupt controller driver used 460 for C-SKY SMP system. 461 In fact it's not mmio map in hardware and it uses ld/st to visit the 462 controller's register inside CPU. 463 464config CSKY_APB_INTC 465 bool "C-SKY APB Interrupt Controller" 466 depends on CSKY 467 help 468 Say yes here to enable C-SKY APB interrupt controller driver used 469 by C-SKY single core SOC system. It uses mmio map apb-bus to visit 470 the controller's register. 471 472config IMX_IRQSTEER 473 bool "i.MX IRQSTEER support" 474 depends on ARCH_MXC || COMPILE_TEST 475 default ARCH_MXC 476 select IRQ_DOMAIN 477 help 478 Support for the i.MX IRQSTEER interrupt multiplexer/remapper. 479 480config IMX_INTMUX 481 bool "i.MX INTMUX support" if COMPILE_TEST 482 default y if ARCH_MXC 483 select IRQ_DOMAIN 484 help 485 Support for the i.MX INTMUX interrupt multiplexer. 486 487config IMX_MU_MSI 488 tristate "i.MX MU used as MSI controller" 489 depends on OF && HAS_IOMEM 490 depends on ARCH_MXC || COMPILE_TEST 491 default m if ARCH_MXC 492 select IRQ_DOMAIN 493 select IRQ_DOMAIN_HIERARCHY 494 select GENERIC_MSI_IRQ 495 select IRQ_MSI_LIB 496 help 497 Provide a driver for the i.MX Messaging Unit block used as a 498 CPU-to-CPU MSI controller. This requires a specially crafted DT 499 to make use of this driver. 500 501 If unsure, say N 502 503config LS1X_IRQ 504 bool "Loongson-1 Interrupt Controller" 505 depends on MACH_LOONGSON32 506 default y 507 select IRQ_DOMAIN 508 select GENERIC_IRQ_CHIP 509 help 510 Support for the Loongson-1 platform Interrupt Controller. 511 512config TI_SCI_INTR_IRQCHIP 513 bool 514 depends on TI_SCI_PROTOCOL 515 select IRQ_DOMAIN_HIERARCHY 516 help 517 This enables the irqchip driver support for K3 Interrupt router 518 over TI System Control Interface available on some new TI's SoCs. 519 If you wish to use interrupt router irq resources managed by the 520 TI System Controller, say Y here. Otherwise, say N. 521 522config TI_SCI_INTA_IRQCHIP 523 bool 524 depends on TI_SCI_PROTOCOL 525 select IRQ_DOMAIN_HIERARCHY 526 select TI_SCI_INTA_MSI_DOMAIN 527 help 528 This enables the irqchip driver support for K3 Interrupt aggregator 529 over TI System Control Interface available on some new TI's SoCs. 530 If you wish to use interrupt aggregator irq resources managed by the 531 TI System Controller, say Y here. Otherwise, say N. 532 533config TI_PRUSS_INTC 534 tristate 535 depends on TI_PRUSS 536 default TI_PRUSS 537 select IRQ_DOMAIN 538 help 539 This enables support for the PRU-ICSS Local Interrupt Controller 540 present within a PRU-ICSS subsystem present on various TI SoCs. 541 The PRUSS INTC enables various interrupts to be routed to multiple 542 different processors within the SoC. 543 544config RISCV_INTC 545 bool 546 depends on RISCV 547 select IRQ_DOMAIN_HIERARCHY 548 549config RISCV_APLIC 550 bool 551 depends on RISCV 552 select IRQ_DOMAIN_HIERARCHY 553 554config RISCV_APLIC_MSI 555 bool 556 depends on RISCV_APLIC 557 select GENERIC_MSI_IRQ 558 default RISCV_APLIC 559 560config RISCV_IMSIC 561 bool 562 depends on RISCV 563 select IRQ_DOMAIN_HIERARCHY 564 select GENERIC_IRQ_MATRIX_ALLOCATOR 565 select GENERIC_MSI_IRQ 566 567config RISCV_IMSIC_PCI 568 bool 569 depends on RISCV_IMSIC 570 depends on PCI 571 depends on PCI_MSI 572 default RISCV_IMSIC 573 574config SIFIVE_PLIC 575 bool 576 depends on RISCV 577 select IRQ_DOMAIN_HIERARCHY 578 select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP 579 580config STARFIVE_JH8100_INTC 581 bool "StarFive JH8100 External Interrupt Controller" 582 depends on ARCH_STARFIVE || COMPILE_TEST 583 default ARCH_STARFIVE 584 select IRQ_DOMAIN_HIERARCHY 585 help 586 This enables support for the INTC chip found in StarFive JH8100 587 SoC. 588 589 If you don't know what to do here, say Y. 590 591config EXYNOS_IRQ_COMBINER 592 bool "Samsung Exynos IRQ combiner support" if COMPILE_TEST 593 depends on (ARCH_EXYNOS && ARM) || COMPILE_TEST 594 help 595 Say yes here to add support for the IRQ combiner devices embedded 596 in Samsung Exynos chips. 597 598config IRQ_LOONGARCH_CPU 599 bool 600 select GENERIC_IRQ_CHIP 601 select IRQ_DOMAIN 602 select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP 603 select LOONGSON_HTVEC 604 select LOONGSON_LIOINTC 605 select LOONGSON_EIOINTC 606 select LOONGSON_PCH_PIC 607 select LOONGSON_PCH_MSI 608 select LOONGSON_PCH_LPC 609 help 610 Support for the LoongArch CPU Interrupt Controller. For details of 611 irq chip hierarchy on LoongArch platforms please read the document 612 Documentation/arch/loongarch/irq-chip-model.rst. 613 614config LOONGSON_LIOINTC 615 bool "Loongson Local I/O Interrupt Controller" 616 depends on MACH_LOONGSON64 617 default y 618 select IRQ_DOMAIN 619 select GENERIC_IRQ_CHIP 620 help 621 Support for the Loongson Local I/O Interrupt Controller. 622 623config LOONGSON_EIOINTC 624 bool "Loongson Extend I/O Interrupt Controller" 625 depends on LOONGARCH 626 depends on MACH_LOONGSON64 627 default MACH_LOONGSON64 628 select IRQ_DOMAIN_HIERARCHY 629 select GENERIC_IRQ_CHIP 630 help 631 Support for the Loongson3 Extend I/O Interrupt Vector Controller. 632 633config LOONGSON_HTPIC 634 bool "Loongson3 HyperTransport PIC Controller" 635 depends on MACH_LOONGSON64 && MIPS 636 default y 637 select IRQ_DOMAIN 638 select GENERIC_IRQ_CHIP 639 help 640 Support for the Loongson-3 HyperTransport PIC Controller. 641 642config LOONGSON_HTVEC 643 bool "Loongson HyperTransport Interrupt Vector Controller" 644 depends on MACH_LOONGSON64 645 default MACH_LOONGSON64 646 select IRQ_DOMAIN_HIERARCHY 647 help 648 Support for the Loongson HyperTransport Interrupt Vector Controller. 649 650config LOONGSON_PCH_PIC 651 bool "Loongson PCH PIC Controller" 652 depends on MACH_LOONGSON64 653 default MACH_LOONGSON64 654 select IRQ_DOMAIN_HIERARCHY 655 select IRQ_FASTEOI_HIERARCHY_HANDLERS 656 help 657 Support for the Loongson PCH PIC Controller. 658 659config LOONGSON_PCH_MSI 660 bool "Loongson PCH MSI Controller" 661 depends on MACH_LOONGSON64 662 depends on PCI 663 default MACH_LOONGSON64 664 select IRQ_DOMAIN_HIERARCHY 665 select PCI_MSI 666 help 667 Support for the Loongson PCH MSI Controller. 668 669config LOONGSON_PCH_LPC 670 bool "Loongson PCH LPC Controller" 671 depends on LOONGARCH 672 depends on MACH_LOONGSON64 673 default MACH_LOONGSON64 674 select IRQ_DOMAIN_HIERARCHY 675 help 676 Support for the Loongson PCH LPC Controller. 677 678config MST_IRQ 679 bool "MStar Interrupt Controller" 680 depends on ARCH_MEDIATEK || ARCH_MSTARV7 || COMPILE_TEST 681 default ARCH_MEDIATEK 682 select IRQ_DOMAIN 683 select IRQ_DOMAIN_HIERARCHY 684 help 685 Support MStar Interrupt Controller. 686 687config WPCM450_AIC 688 bool "Nuvoton WPCM450 Advanced Interrupt Controller" 689 depends on ARCH_WPCM450 690 help 691 Support for the interrupt controller in the Nuvoton WPCM450 BMC SoC. 692 693config IRQ_IDT3243X 694 bool 695 select GENERIC_IRQ_CHIP 696 select IRQ_DOMAIN 697 698config APPLE_AIC 699 bool "Apple Interrupt Controller (AIC)" 700 depends on ARM64 701 depends on ARCH_APPLE || COMPILE_TEST 702 select GENERIC_IRQ_IPI_MUX 703 help 704 Support for the Apple Interrupt Controller found on Apple Silicon SoCs, 705 such as the M1. 706 707config MCHP_EIC 708 bool "Microchip External Interrupt Controller" 709 depends on ARCH_AT91 || COMPILE_TEST 710 select IRQ_DOMAIN 711 select IRQ_DOMAIN_HIERARCHY 712 help 713 Support for Microchip External Interrupt Controller. 714 715config SUNPLUS_SP7021_INTC 716 bool "Sunplus SP7021 interrupt controller" if COMPILE_TEST 717 default SOC_SP7021 718 help 719 Support for the Sunplus SP7021 Interrupt Controller IP core. 720 SP7021 SoC has 2 Chips: C-Chip & P-Chip. This is used as a 721 chained controller, routing all interrupt source in P-Chip to 722 the primary controller on C-Chip. 723 724endmenu 725