Re: [PATCH REBASE] dt-bindings: pinctrl: use pinctrl.yaml

From: Rafał Miłecki
Date: Tue Dec 07 2021 - 03:47:46 EST


On 06.12.2021 23:50, Rob Herring wrote:
On Thu, Dec 2, 2021 at 12:32 AM Rafał Miłecki <zajec5@xxxxxxxxx> wrote:

From: Rafał Miłecki <rafal@xxxxxxxxxx>

Also fix some examples to avoid warnings like:
brcm,ns-pinmux.example.dt.yaml: pin-controller@1800c1c0: $nodename:0: 'pin-controller@1800c1c0' does not match '^pinctrl|pinmux@[0-9a-f]+$'

I think you missed some. linux-next now has these warnings:

Oops, sorry, I think I didn't test MFD bindings *after* modifying
pinctrl bindings.


/builds/robherring/linux-dt/Documentation/devicetree/bindings/mfd/cirrus,madera.example.dt.yaml:
codec@1a: $nodename:0: 'codec@1a' does not match
'^(pinctrl|pinmux)(@[0-9a-f]+)?$'
From schema: /builds/robherring/linux-dt/Documentation/devicetree/bindings/mfd/cirrus,madera.yaml

I'm not sure how to deal with this one. If you take a look at
cirrus,madera.yaml it seems to be some complex MFD that is a sound
device with pin controller and regulator.

I'm not sure: is using pinctrl@ node for that hardware is a correct
choice?