Skip to content

PolarFire SoC GPIO interrupt support

Conor Dooley linux-devicetree linux-gpio linux-riscv lkml 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am 20260318-gift-nearest-fd3ef3e4819b@spud

Versions newest first · linked by author and title

  1. v13 Latest5 patches 8 repliesApplied
  2. v124 patches 11 repliesSuperseded
  3. v11 RFC4 patches 6 repliesSuperseded

Changes in v13 from the cover letter

- fix the binding example
- add a new binding patch

Patches in v13 Applied

#Subject and filesSizeRepliesApplied
1/5dt-bindings: gpio: fix microchip,mpfs-gpio interrupt documentationDocumentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml+15 -92 replies
2/5gpio: mpfs: Add interrupt supportdrivers/gpio/Kconfig drivers/gpio/gpio-mpfs.c+120 -30 replies
3/5dt-bindings: soc: microchip: document PolarFire SoC's gpio interrupt muxDocumentation/devicetree/bindings/soc/microchip/microchip,mpfs-irqmux.yaml Documentation/devicetree/bindings/soc/microchip/microchip,mpfs-mss-top-sysreg.yaml+107 -02 replies
4/5soc: microchip: add mpfs gpio interrupt mux driverMAINTAINERS drivers/soc/microchip/Kconfig drivers/soc/microchip/Makefile +1 more+194 -10 replies
5/5riscv: dts: microchip: update mpfs gpio interrupts to better match the SoCarch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts arch/riscv/boot/dts/microchip/mpfs-disco-kit.dts arch/riscv/boot/dts/microchip/mpfs-icicle-kit-common.dtsi +5 more+237 -510 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchBartosz GolaszewskiLinus WalleijHerve CodinaRob Herring (Arm)
1/5R-b A-b
2/5A-b R-b
3/5R-b R-b R-b
4/5R-b R-b R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v13 thread

Cover letter [PATCH v13 0/5] PolarFire SoC GPIO interrupt support

From: Conor Dooley <[email protected]>

Yo,

Here's a v3 with an extra patch updating the gpio binding from fished out from my old branch, fixing the examples and setting the permitted values of gpios for the controllers on polarfire soc and the existing binding patch's example fixed.

Bartosz, you acked the gpio driver patch, are you expecting the whole lot to go together via the soc tree or something?

Cheers,
Conor.

v13:
- fix the binding example
- add a new binding patch

v12:
- Implemented mux driver feedback from Hervé.
- Reworked the gpio interrupt stuff per Linus' feedback, so didn't pick up Hervés tag.
- Modified the binding description to cover the 6 always "direct mode" interrupts on gpio controller 1.

CC Thomas Gleixner <[email protected]>
CC Herve Codina <[email protected]>
CC Conor Dooley <[email protected]>
CC Daire McNamara <[email protected]>
CC Rob Herring <[email protected]>
CC Krzysztof Kozlowski <[email protected]>
CC Paul Walmsley <[email protected]>
CC Palmer Dabbelt <[email protected]>
CC Albert Ou <[email protected]>
CC Alexandre Ghiti <[email protected]>
CC Linus Walleij <[email protected]>
CC Bartosz Golaszewski <[email protected]>

Conor Dooley (5):
dt-bindings: gpio: fix microchip,mpfs-gpio interrupt documentation
gpio: mpfs: Add interrupt support
dt-bindings: soc: microchip: document PolarFire SoC's gpio interrupt
mux
soc: microchip: add mpfs gpio interrupt mux driver
riscv: dts: microchip: update mpfs gpio interrupts to better match the
SoC

 .../bindings/gpio/microchip,mpfs-gpio.yaml    |  24 ++-
 .../soc/microchip/microchip,mpfs-irqmux.yaml  | 103 ++++++++++
 .../microchip,mpfs-mss-top-sysreg.yaml        |   4 +
 MAINTAINERS                                   |   2 +-
 .../boot/dts/microchip/mpfs-beaglev-fire.dts  |  29 +++
 .../boot/dts/microchip/mpfs-disco-kit.dts     |  43 +++--
 .../dts/microchip/mpfs-icicle-kit-common.dtsi |  37 +++-
 .../boot/dts/microchip/mpfs-m100pfsevp.dts    |  41 ++--
 .../boot/dts/microchip/mpfs-polarberry.dts    |  29 +++
 .../riscv/boot/dts/microchip/mpfs-sev-kit.dts |  37 +++-
 .../riscv/boot/dts/microchip/mpfs-tysom-m.dts |  35 +++-
 arch/riscv/boot/dts/microchip/mpfs.dtsi       |  37 +++-
 drivers/gpio/Kconfig                          |   1 +
 drivers/gpio/gpio-mpfs.c                      | 122 +++++++++++-
 drivers/soc/microchip/Kconfig                 |  11 ++
 drivers/soc/microchip/Makefile                |   1 +
 drivers/soc/microchip/mpfs-irqmux.c           | 181 ++++++++++++++++++
 17 files changed, 673 insertions(+), 64 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/soc/microchip/microchip,mpfs-irqmux.yaml
 create mode 100644 drivers/soc/microchip/mpfs-irqmux.c
Signature · 1 line
2.51.0