powerpc/dts/fsl: Fix pca954x i2c-mux node names
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 2 Dec 2022 16:49:26 +0000 (17:49 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 6 Dec 2022 12:15:53 +0000 (23:15 +1100)
"make dtbs_check":

    arch/powerpc/boot/dts/fsl/t1040rdb-rev-a.dtb: pca9546@77: $nodename:0: 'pca9546@77' does not match '^(i2c-?)?mux'
           From schema: Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml
    arch/powerpc/boot/dts/fsl/t1024qds.dtb: pca9547@77: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'i2c@0', 'i2c@2', 'i2c@3' were unexpected)
           From schema: Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml
    ...

Fix this by renaming pca954x nodes to "i2c-mux", to match the I2C bus
multiplexer/switch DT bindings and the Generic Names Recommendation in
the Devicetree Specification.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/6c5d86c49ac170e9d56ab121ea0602f3873849ca.1669999298.git.geert+renesas@glider.be
arch/powerpc/boot/dts/fsl/t1024qds.dts
arch/powerpc/boot/dts/fsl/t1024rdb.dts
arch/powerpc/boot/dts/fsl/t104xqds.dtsi
arch/powerpc/boot/dts/fsl/t104xrdb.dtsi
arch/powerpc/boot/dts/fsl/t208xqds.dtsi
arch/powerpc/boot/dts/fsl/t208xrdb.dtsi

index d6858b7cd93fb5d56b056a9aa3e320277d673d51..9ea7942f914e14ee8258cb84306a9f485054a608 100644 (file)
                };
 
                i2c@118000 {
-                       pca9547@77 {
+                       i2c-mux@77 {
                                compatible = "nxp,pca9547";
                                reg = <0x77>;
                                #address-cells = <1>;
index dbcd31cc35dcd2bb4522d562b8474a215fad9710..270aaf631f2ab0fa969316142e09bf05cb06075b 100644 (file)
                };
 
                i2c@118100 {
-                       pca9546@77 {
+                       i2c-mux@77 {
                                compatible = "nxp,pca9546";
                                reg = <0x77>;
                                #address-cells = <1>;
index 615479732252404f43438e786d21f5e274173eb2..1c329f076f64f2dc47ec9498dd8ce645baa08848 100644 (file)
                };
 
                i2c@118000 {
-                       pca9547@77 {
+                       i2c-mux@77 {
                                compatible = "nxp,pca9547";
                                reg = <0x77>;
                        };
index bfe1ed5be337492ee6146dc1b36ac4f746fb812a..fc7bec5dcb90fc2ddecd93ded4ec3ea90275103c 100644 (file)
                };
 
                i2c@118100 {
-                       pca9546@77 {
+                       i2c-mux@77 {
                                compatible = "nxp,pca9546";
                                reg = <0x77>;
                                #address-cells = <1>;
index db4139999b28ebf48ceb5b46a8e177430e974bae..962c99941645b965b060f797892731f2b88aebca 100644 (file)
                };
 
                i2c@118000 {
-                       pca9547@77 {
+                       i2c-mux@77 {
                                compatible = "nxp,pca9547";
                                reg = <0x77>;
                                #address-cells = <1>;
index ff87e67c70da4a292e353b57b824c5319ba3f5f1..ecc3e8c7394cad20ec5b3b9e93f7b171101867f9 100644 (file)
                };
 
                i2c@118100 {
-                       pca9546@77 {
+                       i2c-mux@77 {
                                compatible = "nxp,pca9546";
                                reg = <0x77>;
                        };