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 d6858b7..9ea7942 100644 (file)
                };
 
                i2c@118000 {
-                       pca9547@77 {
+                       i2c-mux@77 {
                                compatible = "nxp,pca9547";
                                reg = <0x77>;
                                #address-cells = <1>;
index dbcd31c..270aaf6 100644 (file)
                };
 
                i2c@118100 {
-                       pca9546@77 {
+                       i2c-mux@77 {
                                compatible = "nxp,pca9546";
                                reg = <0x77>;
                                #address-cells = <1>;
index 6154797..1c329f0 100644 (file)
                };
 
                i2c@118000 {
-                       pca9547@77 {
+                       i2c-mux@77 {
                                compatible = "nxp,pca9547";
                                reg = <0x77>;
                        };
index bfe1ed5..fc7bec5 100644 (file)
                };
 
                i2c@118100 {
-                       pca9546@77 {
+                       i2c-mux@77 {
                                compatible = "nxp,pca9546";
                                reg = <0x77>;
                                #address-cells = <1>;
index db41399..962c999 100644 (file)
                };
 
                i2c@118000 {
-                       pca9547@77 {
+                       i2c-mux@77 {
                                compatible = "nxp,pca9547";
                                reg = <0x77>;
                                #address-cells = <1>;
index ff87e67..ecc3e8c 100644 (file)
                };
 
                i2c@118100 {
-                       pca9546@77 {
+                       i2c-mux@77 {
                                compatible = "nxp,pca9546";
                                reg = <0x77>;
                        };