mbox series

[v2,0/2] pinctrl: ocelot: add support for lan969x SoC

Message ID 20240917-lan969x-pinctrl-v2-0-ea02cbc56831@microchip.com
Headers show
Series pinctrl: ocelot: add support for lan969x SoC | expand

Message

Daniel Machon Sept. 17, 2024, 12:45 p.m. UTC
This series adds support for lan969x SoC pinctrl by reusing the existing
Ocelot pinctrl driver.

There are 66 General Purpose I/O pins that are individually configurable
to multiple interfaces. The matrix of available GPIO alternate functions
is detailed in the pinmuxing table of patch #2.

Patch #1 adds compatible strings for lan969x in the dt-bindings.
Patch #2 adds support for lan969x SoC pinctrl.

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
---
Changes in v2:
- dt-bindings: add only microchip,lan9691-pinctrl to conditional enum.
- Link to v1: https://lore.kernel.org/r/20240914-lan969x-pinctrl-v1-0-1b3a4d454b0d@microchip.com

---
Daniel Machon (2):
      dt-bindings: ocelot: document lan969x-pinctrl
      pinctrl: ocelot: add support for lan969x SoC pinctrl

 .../bindings/pinctrl/mscc,ocelot-pinctrl.yaml      |  27 ++-
 drivers/pinctrl/pinctrl-ocelot.c                   | 203 +++++++++++++++++++++
 2 files changed, 222 insertions(+), 8 deletions(-)
---
base-commit: 3cfb5aa10cb78571e214e48a3a6e42c11d5288a1
change-id: 20240912-lan969x-pinctrl-4c955c0eb706

Best regards,

Comments

Linus Walleij Oct. 1, 2024, 11:58 a.m. UTC | #1
On Tue, Sep 17, 2024 at 2:46 PM Daniel Machon
<daniel.machon@microchip.com> wrote:

> This series adds support for lan969x SoC pinctrl by reusing the existing
> Ocelot pinctrl driver.
>
> There are 66 General Purpose I/O pins that are individually configurable
> to multiple interfaces. The matrix of available GPIO alternate functions
> is detailed in the pinmuxing table of patch #2.
>
> Patch #1 adds compatible strings for lan969x in the dt-bindings.
> Patch #2 adds support for lan969x SoC pinctrl.
>
> Signed-off-by: Daniel Machon <daniel.machon@microchip.com>

Bindings ACKed and no reaction from other maintainers for two
weeks, so patches applied!

Yours,
Linus Walleij