ARM: dts: nuvoton: Fix pca954x i2c-mux node names
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 17 Jul 2023 13:32:13 +0000 (15:32 +0200)
committerArnd Bergmann <arnd@arndb.de>
Sat, 12 Aug 2023 12:11:09 +0000 (14:11 +0200)
"make dtbs_check":

    arch/arm/boot/dts/nuvoton-npcm730-gbs.dtb: i2c-switch@71: $nodename:0: 'i2c-switch@71' does not match '^(i2c-?)?mux'
    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>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/nuvoton/nuvoton-npcm730-gbs.dts
arch/arm/boot/dts/nuvoton/nuvoton-npcm730-gsj.dts
arch/arm/boot/dts/nuvoton/nuvoton-npcm730-kudo.dts
arch/arm/boot/dts/nuvoton/nuvoton-npcm750-runbmc-olympus.dts

index 9e9eba8bad5e424a6b4c1cbaadef1379fa7d92fd..9f64c85e1c20649478127a2214970a6497e14b2e 100644 (file)
        clock-frequency = <100000>;
        status = "okay";
 
-       i2c-switch@71 {
+       i2c-mux@71 {
                compatible = "nxp,pca9546";
                #address-cells = <1>;
                #size-cells = <0>;
                reg = <0x50>;
        };
 
-       i2c-switch@71 {
+       i2c-mux@71 {
                compatible = "nxp,pca9546";
                #address-cells = <1>;
                #size-cells = <0>;
        clock-frequency = <100000>;
        status = "okay";
 
-       i2c-switch@73 {
+       i2c-mux@73 {
                compatible = "nxp,pca9545";
                #address-cells = <1>;
                #size-cells = <0>;
        clock-frequency = <100000>;
        status = "okay";
 
-       i2c-switch@72 {
+       i2c-mux@72 {
                compatible = "nxp,pca9545";
                #address-cells = <1>;
                #size-cells = <0>;
        clock-frequency = <100000>;
        status = "okay";
 
-       i2c-switch@71 {
+       i2c-mux@71 {
                compatible = "nxp,pca9546";
                #address-cells = <1>;
                #size-cells = <0>;
        clock-frequency = <100000>;
        status = "okay";
 
-       i2c-switch@71 {
+       i2c-mux@71 {
                compatible = "nxp,pca9545";
                #address-cells = <1>;
                #size-cells = <0>;
        clock-frequency = <100000>;
        status = "okay";
 
-       i2c-switch@76 {
+       i2c-mux@76 {
                compatible = "nxp,pca9545";
                #address-cells = <1>;
                #size-cells = <0>;
        clock-frequency = <100000>;
        status = "okay";
 
-       i2c-switch@70 {
+       i2c-mux@70 {
                compatible = "nxp,pca9545";
                #address-cells = <1>;
                #size-cells = <0>;
index 2a394cc15284c55dbb679992ac77c1ae7956414b..9b1cc7f4adf0909d1e832794a13abdd4128ee702 100644 (file)
 &i2c15 {
        status = "okay";
 
-       i2c-switch@75 {
+       i2c-mux@75 {
                compatible = "nxp,pca9548";
                #address-cells = <1>;
                #size-cells = <0>;
index f7b38bee039bcab52ee2f550696455c5931f3672..58329adbd9186fd7dc902b80e4f5b1979d6548e8 100644 (file)
 
 &i2c1 {
        status = "okay";
-       i2c-switch@75 {
+       i2c-mux@75 {
                compatible = "nxp,pca9548";
                #address-cells = <1>;
                #size-cells = <0>;
                        };
                };
        };
-       i2c-switch@77 {
+       i2c-mux@77 {
                compatible = "nxp,pca9548";
                #address-cells = <1>;
                #size-cells = <0>;
 
 &i2c4 {
        status = "okay";
-       i2c-switch@77 {
+       i2c-mux@77 {
                compatible = "nxp,pca9548";
                #address-cells = <1>;
                #size-cells = <0>;
 
 &i2c13 {
        status = "okay";
-       i2c-switch@77 {
+       i2c-mux@77 {
                compatible = "nxp,pca9548";
                #address-cells = <1>;
                #size-cells = <0>;
index 87359ab05db3ebaba1ea552fdce9369bca9afede..209fa3400317bf19c5b2ea47a694e50ba601faa9 100644 (file)
 &i2c1 {
        status = "okay";
 
-       i2c-switch@70 {
+       i2c-mux@70 {
                compatible = "nxp,pca9548";
                #address-cells = <1>;
                #size-cells = <0>;
                };
        };
 
-       i2c-switch@71 {
+       i2c-mux@71 {
                compatible = "nxp,pca9546";
                reg = <0x71>;
                #address-cells = <1>;