diff mbox series

[V3,linux-pinctrl,2/3] dt-bindings: pinctrl: brcm, ns-pinmux: drop unneeded CRU from example

Message ID 20211008205938.29925-2-zajec5@gmail.com (mailing list archive)
State New, archived
Headers show
Series [V3,linux-pinctrl,1/3] Revert "dt-bindings: pinctrl: bcm4708-pinmux: rework binding to use syscon" | expand

Commit Message

Rafał Miłecki Oct. 8, 2021, 8:59 p.m. UTC
From: Rafał Miłecki <rafal@milecki.pl>

There is no need to include CRU in example of this binding. It wasn't
complete / correct anyway. The proper binding can be find in the
mfd/brcm,cru.yaml .

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
V3: Add this patch to fix dtschema/dtc warning/error
---
 .../bindings/pinctrl/brcm,ns-pinmux.yaml      | 24 +++++++------------
 1 file changed, 8 insertions(+), 16 deletions(-)

Comments

Rob Herring (Arm) Oct. 11, 2021, 11:28 p.m. UTC | #1
On Fri, Oct 08, 2021 at 10:59:37PM +0200, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
> 
> There is no need to include CRU in example of this binding. It wasn't
> complete / correct anyway. The proper binding can be find in the
> mfd/brcm,cru.yaml .
> 
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> ---
> V3: Add this patch to fix dtschema/dtc warning/error
> ---
>  .../bindings/pinctrl/brcm,ns-pinmux.yaml      | 24 +++++++------------
>  1 file changed, 8 insertions(+), 16 deletions(-)

Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/pinctrl/brcm,ns-pinmux.yaml b/Documentation/devicetree/bindings/pinctrl/brcm,ns-pinmux.yaml
index 78600a8fe403..fc39e3e9f71c 100644
--- a/Documentation/devicetree/bindings/pinctrl/brcm,ns-pinmux.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/brcm,ns-pinmux.yaml
@@ -77,21 +77,13 @@  additionalProperties: false
 
 examples:
   - |
-    cru@1800c100 {
-        compatible = "simple-bus";
-        reg = <0x1800c100 0x1a4>;
-        ranges;
-        #address-cells = <1>;
-        #size-cells = <1>;
-
-        pin-controller@1c0 {
-            compatible = "brcm,bcm4708-pinmux";
-            reg = <0x1c0 0x24>;
-            reg-names = "cru_gpio_control";
-
-            spi-pins {
-                function = "spi";
-                groups = "spi_grp";
-            };
+    pin-controller@1800c1c0 {
+        compatible = "brcm,bcm4708-pinmux";
+        reg = <0x1800c1c0 0x24>;
+        reg-names = "cru_gpio_control";
+
+        spi-pins {
+            function = "spi";
+            groups = "spi_grp";
         };
     };