ARM: dts: ti: Fix pca954x i2c-mux node names
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 2 Dec 2022 16:49:16 +0000 (17:49 +0100)
committerTony Lindgren <tony@atomide.com>
Thu, 19 Jan 2023 08:17:54 +0000 (10:17 +0200)
"make dtbs_check":

    arch/arm/boot/dts/am3874-iceboard.dtb: pca9548@70: $nodename:0: 'pca9548@70' does not match '^(i2c-?)?mux'
    From schema: Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml
    arch/arm/boot/dts/am3874-iceboard.dtb: pca9548@70: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'i2c@0', 'i2c@1', 'i2c@2', 'i2c@3', 'i2c@4', 'i2c@5', 'i2c@6', 'i2c@7' 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>
Message-Id: <bc964109db8a5f29124580165e925bd3bfe36661.1669999298.git.geert+renesas@glider.be>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am3874-iceboard.dts

index d039af87936761a316c1d81080113219d81f12be..791478e81c5ad5b30239a1dc6905dbee10744c9d 100644 (file)
         * "i2c-mux-idle-disconnect" is important.
         */
 
-       pca9548@70 {
+       i2c-mux@70 {
                compatible = "nxp,pca9548";
                reg = <0x70>;
                #address-cells = <1>;
 };
 
 &i2c2 {
-       pca9548@71 {
+       i2c-mux@71 {
                compatible = "nxp,pca9548";
                reg = <0x71>;
                #address-cells = <1>;