2021-12-07 07:50:19

by Rafał Miłecki

[permalink] [raw]
Subject: [PATCH] dt-bindings: mfd: brcm,cru: fix pin controller nodename

From: Rafał Miłecki <[email protected]>

Replace "pin-controller@" with "pinctrl@" to match new pinctrl binding
requirement. This will fix:
Documentation/devicetree/bindings/mfd/brcm,cru.example.dt.yaml: cru-bus@1800c100: 'pinctrl@1c0' does not match any of the regexes: '^clock-controller@[a-f0-9]+$', '^phy@[a-f0-9]+$', '^pin-controller@[a-f0-9]+$', '^syscon@[a-f0-9]+$', '^thermal@[a-f0-9]+$', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/mfd/brcm,cru.yaml

Reported-by: Rob Herring <[email protected]>
Signed-off-by: Rafał Miłecki <[email protected]>
---
Documentation/devicetree/bindings/mfd/brcm,cru.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/mfd/brcm,cru.yaml b/Documentation/devicetree/bindings/mfd/brcm,cru.yaml
index be4a2df71c25..b85819fbb07c 100644
--- a/Documentation/devicetree/bindings/mfd/brcm,cru.yaml
+++ b/Documentation/devicetree/bindings/mfd/brcm,cru.yaml
@@ -39,7 +39,7 @@ patternProperties:
'^phy@[a-f0-9]+$':
$ref: ../phy/bcm-ns-usb2-phy.yaml

- '^pin-controller@[a-f0-9]+$':
+ '^pinctrl@[a-f0-9]+$':
$ref: ../pinctrl/brcm,ns-pinmux.yaml

'^syscon@[a-f0-9]+$':
@@ -94,7 +94,7 @@ examples:
reg = <0x180 0x4>;
};

- pin-controller@1c0 {
+ pinctrl@1c0 {
compatible = "brcm,bcm4708-pinmux";
reg = <0x1c0 0x24>;
reg-names = "cru_gpio_control";
--
2.31.1



2021-12-13 23:14:51

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: mfd: brcm,cru: fix pin controller nodename

On Tue, 07 Dec 2021 08:50:10 +0100, Rafał Miłecki wrote:
> From: Rafał Miłecki <[email protected]>
>
> Replace "pin-controller@" with "pinctrl@" to match new pinctrl binding
> requirement. This will fix:
> Documentation/devicetree/bindings/mfd/brcm,cru.example.dt.yaml: cru-bus@1800c100: 'pinctrl@1c0' does not match any of the regexes: '^clock-controller@[a-f0-9]+$', '^phy@[a-f0-9]+$', '^pin-controller@[a-f0-9]+$', '^syscon@[a-f0-9]+$', '^thermal@[a-f0-9]+$', 'pinctrl-[0-9]+'
> From schema: Documentation/devicetree/bindings/mfd/brcm,cru.yaml
>
> Reported-by: Rob Herring <[email protected]>
> Signed-off-by: Rafał Miłecki <[email protected]>
> ---
> Documentation/devicetree/bindings/mfd/brcm,cru.yaml | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>

Acked-by: Rob Herring <[email protected]>