mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
On PolarFire SoC there are more GPIO interrupts than there are interrupt lines available on the PLIC, and a runtime configurable mux is used to decide which interrupts are assigned direct connections to the PLIC & which are relegated to sharing a line. Add a driver so that Linux can set the mux based on the interrupt mapping in the devicetree. Reviewed-by: Herve Codina <herve.codina@bootlin.com> Reviewed-by: Linus Walleij <linusw@kernel.org> Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
config POLARFIRE_SOC_IRQ_MUX
|
|
bool "Microchip PolarFire SoC's GPIO IRQ Mux"
|
|
depends on ARCH_MICROCHIP
|
|
select REGMAP
|
|
select REGMAP_MMIO
|
|
default y
|
|
help
|
|
Support for the interrupt mux on Polarfire SoC. It sits between
|
|
the GPIO controllers and the PLIC, as only 41 interrupts are shared
|
|
between 3 GPIO controllers with a total of 70 interrupts.
|
|
|
|
config POLARFIRE_SOC_SYS_CTRL
|
|
tristate "Microchip PolarFire SoC (MPFS) system controller support"
|
|
depends on POLARFIRE_SOC_MAILBOX
|
|
depends on MTD
|
|
help
|
|
This driver adds support for the PolarFire SoC (MPFS) system controller.
|
|
|
|
To compile this driver as a module, choose M here. the
|
|
module will be called mpfs_system_controller.
|
|
|
|
If unsure, say N.
|
|
|
|
config POLARFIRE_SOC_SYSCONS
|
|
bool "PolarFire SoC (MPFS) syscon drivers"
|
|
default y
|
|
depends on ARCH_MICROCHIP
|
|
select MFD_CORE
|
|
help
|
|
These drivers add support for the syscons on PolarFire SoC (MPFS).
|
|
Without these drivers core parts of the kernel such as clocks
|
|
and resets will not function correctly.
|
|
|
|
If unsure, and on a PolarFire SoC, say y.
|