2022-03-21 23:01:33

by Michael Walle

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

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


2022-04-05 02:18:04

by Michael Walle

[permalink] [raw]
Subject: Re: [PATCH v3 0/6] pinctrl: ocelot: convert to YAML format

Am 2022-03-19 21:46, schrieb Michael Walle:
> 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.

Linus, can this go through your pinctrl tree because there is this
series which depends on it:
https://lore.kernel.org/linux-gpio/[email protected]/

-michael

2022-04-20 23:19:18

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH v3 0/6] pinctrl: ocelot: convert to YAML format

On Sat, Mar 19, 2022 at 9:46 PM Michael Walle <[email protected]> wrote:

> dt-bindings: pinctrl: convert ocelot-pinctrl to YAML format

This patch applied to the pinctrl tree, please send the rest
through the SoC tree.

Yours,
Linus Walleij