Skip to content

Commit bc92499

Browse files
geertuarndb
authored andcommitted
ARM: dts: nuvoton: Fix pca954x i2c-mux node names
"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>
1 parent 4b46d86 commit bc92499

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

arch/arm/boot/dts/nuvoton/nuvoton-npcm730-gbs.dts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@
525525
clock-frequency = <100000>;
526526
status = "okay";
527527

528-
i2c-switch@71 {
528+
i2c-mux@71 {
529529
compatible = "nxp,pca9546";
530530
#address-cells = <1>;
531531
#size-cells = <0>;
@@ -666,7 +666,7 @@
666666
reg = <0x50>;
667667
};
668668

669-
i2c-switch@71 {
669+
i2c-mux@71 {
670670
compatible = "nxp,pca9546";
671671
#address-cells = <1>;
672672
#size-cells = <0>;
@@ -727,7 +727,7 @@
727727
clock-frequency = <100000>;
728728
status = "okay";
729729

730-
i2c-switch@73 {
730+
i2c-mux@73 {
731731
compatible = "nxp,pca9545";
732732
#address-cells = <1>;
733733
#size-cells = <0>;
@@ -763,7 +763,7 @@
763763
clock-frequency = <100000>;
764764
status = "okay";
765765

766-
i2c-switch@72 {
766+
i2c-mux@72 {
767767
compatible = "nxp,pca9545";
768768
#address-cells = <1>;
769769
#size-cells = <0>;
@@ -812,7 +812,7 @@
812812
clock-frequency = <100000>;
813813
status = "okay";
814814

815-
i2c-switch@71 {
815+
i2c-mux@71 {
816816
compatible = "nxp,pca9546";
817817
#address-cells = <1>;
818818
#size-cells = <0>;
@@ -866,7 +866,7 @@
866866
clock-frequency = <100000>;
867867
status = "okay";
868868

869-
i2c-switch@71 {
869+
i2c-mux@71 {
870870
compatible = "nxp,pca9545";
871871
#address-cells = <1>;
872872
#size-cells = <0>;
@@ -902,7 +902,7 @@
902902
clock-frequency = <100000>;
903903
status = "okay";
904904

905-
i2c-switch@76 {
905+
i2c-mux@76 {
906906
compatible = "nxp,pca9545";
907907
#address-cells = <1>;
908908
#size-cells = <0>;
@@ -961,7 +961,7 @@
961961
clock-frequency = <100000>;
962962
status = "okay";
963963

964-
i2c-switch@70 {
964+
i2c-mux@70 {
965965
compatible = "nxp,pca9545";
966966
#address-cells = <1>;
967967
#size-cells = <0>;

arch/arm/boot/dts/nuvoton/nuvoton-npcm730-gsj.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@
303303
&i2c15 {
304304
status = "okay";
305305

306-
i2c-switch@75 {
306+
i2c-mux@75 {
307307
compatible = "nxp,pca9548";
308308
#address-cells = <1>;
309309
#size-cells = <0>;

arch/arm/boot/dts/nuvoton/nuvoton-npcm730-kudo.dts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@
494494

495495
&i2c1 {
496496
status = "okay";
497-
i2c-switch@75 {
497+
i2c-mux@75 {
498498
compatible = "nxp,pca9548";
499499
#address-cells = <1>;
500500
#size-cells = <0>;
@@ -573,7 +573,7 @@
573573
};
574574
};
575575
};
576-
i2c-switch@77 {
576+
i2c-mux@77 {
577577
compatible = "nxp,pca9548";
578578
#address-cells = <1>;
579579
#size-cells = <0>;
@@ -613,7 +613,7 @@
613613

614614
&i2c4 {
615615
status = "okay";
616-
i2c-switch@77 {
616+
i2c-mux@77 {
617617
compatible = "nxp,pca9548";
618618
#address-cells = <1>;
619619
#size-cells = <0>;
@@ -684,7 +684,7 @@
684684

685685
&i2c13 {
686686
status = "okay";
687-
i2c-switch@77 {
687+
i2c-mux@77 {
688688
compatible = "nxp,pca9548";
689689
#address-cells = <1>;
690690
#size-cells = <0>;

arch/arm/boot/dts/nuvoton/nuvoton-npcm750-runbmc-olympus.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
&i2c1 {
209209
status = "okay";
210210

211-
i2c-switch@70 {
211+
i2c-mux@70 {
212212
compatible = "nxp,pca9548";
213213
#address-cells = <1>;
214214
#size-cells = <0>;
@@ -258,7 +258,7 @@
258258
};
259259
};
260260

261-
i2c-switch@71 {
261+
i2c-mux@71 {
262262
compatible = "nxp,pca9546";
263263
reg = <0x71>;
264264
#address-cells = <1>;

0 commit comments

Comments
 (0)