[PATCH v4 0/5] Microchip mpfs/pic64gx pinctrl

Conor Dooley posted 5 patches 1 month, 3 weeks ago
.../microchip,mpfs-pinctrl-iomux0.yaml        |  89 +++++
.../microchip,pic64gx-pinctrl-gpio2.yaml      |  74 ++++
.../microchip,mpfs-mss-top-sysreg.yaml        |  13 +-
MAINTAINERS                                   |   4 +
drivers/pinctrl/Kconfig                       |  16 +
drivers/pinctrl/Makefile                      |   2 +
drivers/pinctrl/pinctrl-mpfs-iomux0.c         | 278 ++++++++++++++
drivers/pinctrl/pinctrl-pic64gx-gpio2.c       | 356 ++++++++++++++++++
8 files changed, 831 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/pinctrl/microchip,mpfs-pinctrl-iomux0.yaml
create mode 100644 Documentation/devicetree/bindings/pinctrl/microchip,pic64gx-pinctrl-gpio2.yaml
create mode 100644 drivers/pinctrl/pinctrl-mpfs-iomux0.c
create mode 100644 drivers/pinctrl/pinctrl-pic64gx-gpio2.c
[PATCH v4 0/5] Microchip mpfs/pic64gx pinctrl
Posted by Conor Dooley 1 month, 3 weeks ago
From: Conor Dooley <conor.dooley@microchip.com>

Hey Linus,

Here's a ~v3~v4, with the COMPILE_TEST added, and a select that the lkp bot
told me that I was missing when I pushed it out for testing.

There's a tag below for you to pull that has the syscon binding that
gets edited in this series, since that's not in mainline yet.

Cheers,
Conor.

Changes in v4:
- add a ref to the typedef source for function and groups in each binding

Changes in v3:
- Add COMPILE_TEST to drivers
- Drop a TODO
- Add select for GENERIC_PINCONF

The binding dep mentioned above is available here:

  https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/ tags/mpfs-pinctrl-binding-base

for you to fetch changes up to feaa716adc514fb5fbcb60b3e1620ac5dcf8505a:

  dt-bindings: soc: microchip: document the simple-mfd syscon on PolarFire SoC (2025-10-21 14:29:34 +0100)

----------------------------------------------------------------
mpfs pinctrl binding base

The pinctrl binding patch for iomux0 mpfs adds a ref to itself to the
syscon/mfd mss-top-sysreg binding, and therefore needs that file to
exist.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>

----------------------------------------------------------------

CC: Linus Walleij <linus.walleij@linaro.org>
CC: Rob Herring <robh@kernel.org>
CC: Krzysztof Kozlowski <krzk+dt@kernel.org>
CC: linux-kernel@vger.kernel.org
CC: linux-gpio@vger.kernel.org
CC: devicetree@vger.kernel.org
CC: Valentina.FernandezAlanis@microchip.com

Conor Dooley (5):
  dt-bindings: pinctrl: document pic64gx "gpio2" pinmux
  pinctrl: add pic64gx "gpio2" pinmux driver
  dt-bindings: pinctrl: document polarfire soc iomux0 pinmux
  pinctrl: add polarfire soc iomux0 pinmux driver
  MAINTAINERS: add Microchip RISC-V pinctrl drivers/bindings to entry

 .../microchip,mpfs-pinctrl-iomux0.yaml        |  89 +++++
 .../microchip,pic64gx-pinctrl-gpio2.yaml      |  74 ++++
 .../microchip,mpfs-mss-top-sysreg.yaml        |  13 +-
 MAINTAINERS                                   |   4 +
 drivers/pinctrl/Kconfig                       |  16 +
 drivers/pinctrl/Makefile                      |   2 +
 drivers/pinctrl/pinctrl-mpfs-iomux0.c         | 278 ++++++++++++++
 drivers/pinctrl/pinctrl-pic64gx-gpio2.c       | 356 ++++++++++++++++++
 8 files changed, 831 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/microchip,mpfs-pinctrl-iomux0.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/microchip,pic64gx-pinctrl-gpio2.yaml
 create mode 100644 drivers/pinctrl/pinctrl-mpfs-iomux0.c
 create mode 100644 drivers/pinctrl/pinctrl-pic64gx-gpio2.c

-- 
2.51.0
Re: [PATCH v4 0/5] Microchip mpfs/pic64gx pinctrl
Posted by Linus Walleij 1 month, 3 weeks ago
On Thu, Oct 23, 2025 at 7:15 PM Conor Dooley <conor@kernel.org> wrote:

> There's a tag below for you to pull that has the syscon binding that
> gets edited in this series, since that's not in mainline yet.

Pulled this in and applied v4.

This is obviously in good shape and any remaining snags
can certainly be fixed in-tree.

Good job!

Yours,
Linus Walleij