[PATCH v3 0/6] pinctrl: ocelot: convert to YAML format

Michael Walle
2022-03-19T20:47:00Z

Convert the pinctrl ocelot binding to the new YAML format. Pin
configuration nodes should have a "-pins" postfix. But unfortunately,
there are many device trees which don't follow this. First rename
all these nodes and then convert the binding to the YAML format so
that the validation will pass.

Because there were no maintainers before and there is none in
MAINTAINERS I added Alexandre Belloni and Lars Povlsen, juding by
the commits - to the binding as maintainers. Please tell me if you
disagree.

changes since v2:
- drop Fixes tag (and any "fix" or similar)
- one patch per SoC
- document difference between original txt and yaml binging in the
commit message

changes since v1:
- drop "Device Tree Binding" from the title of the binding
- describe reg properties and provide minItems and set it differently
depending on the compatible string
- skip interrupt description
- move required section after patternProperties

Michael Walle (6):
MIPS: mscc: jaguar2: rename pinctrl nodes
MIPS: mscc: ocelot: rename pinctrl nodes
MIPS: mscc: serval: rename pinctrl nodes
arm64: dts: sparx5: rename pinctrl nodes
ARM: dts: lan966x: rename pinctrl nodes
dt-bindings: pinctrl: convert ocelot-pinctrl to YAML format

.../bindings/pinctrl/mscc,ocelot-pinctrl.txt | 42 -------
.../bindings/pinctrl/mscc,ocelot-pinctrl.yaml | 108 ++++++++++++++++++
arch/arm/boot/dts/lan966x-pcb8291.dts | 2 +-
.../dts/microchip/sparx5_pcb134_board.dtsi | 26 ++---
.../dts/microchip/sparx5_pcb135_board.dtsi | 10 +-
arch/mips/boot/dts/mscc/jaguar2_pcb110.dts | 10 +-
arch/mips/boot/dts/mscc/jaguar2_pcb111.dts | 10 +-
arch/mips/boot/dts/mscc/jaguar2_pcb118.dts | 6 +-
arch/mips/boot/dts/mscc/ocelot.dtsi | 4 +-
arch/mips/boot/dts/mscc/ocelot_pcb120.dts | 6 +-
arch/mips/boot/dts/mscc/serval_common.dtsi | 14 +--
11 files changed, 152 insertions(+), 86 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/pinctrl/mscc,ocelot-pinctrl.txt
create mode 100644 Documentation/devicetree/bindings/pinctrl/mscc,ocelot-pinctrl.yaml

--
2.30.2