mediatek: fix the name of buswidth to bus-width
authorChen Minqiang <ptpt52@gmail.com>
Fri, 25 Aug 2023 22:38:18 +0000 (06:38 +0800)
committerChuanhong Guo <gch981213@gmail.com>
Tue, 5 Sep 2023 07:40:43 +0000 (15:40 +0800)
Fix the issue of dts buswidth cannot be applied properly with spi driver.
Fix the name of buswidth to bus-width in dts in order to fit the format
in linux spi kernel[1] so that spi-tx-bus-width & spi-rx-bus-width can be
parsed properly.

[1] Documentation/devicetree/bindings/spi/spi-controller.yaml

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
24 files changed:
target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts
target/linux/mediatek/dts/mt7981b-glinet-gl-mt3000.dts
target/linux/mediatek/dts/mt7981b-h3c-magic-nx30-pro.dts
target/linux/mediatek/dts/mt7981b-qihoo-360t7.dts
target/linux/mediatek/dts/mt7981b-xiaomi-mi-router-wr30u.dtsi
target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts
target/linux/mediatek/dts/mt7986a-asus-tuf-ax4200.dts
target/linux/mediatek/dts/mt7986a-tplink-tl-xdr-common.dtsi
target/linux/mediatek/dts/mt7986a-xiaomi-redmi-router-ax6000.dtsi
target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-stock.dts
target/linux/mediatek/dts/mt7986a-zyxel-ex5700-telenor.dts
target/linux/mediatek/dts/mt7986b-mercusys-mr90x-v1.dts
target/linux/mediatek/dts/mt7986b-netgear-wax220.dts
target/linux/mediatek/files-5.15/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso
target/linux/mediatek/files-5.15/arch/arm64/boot/dts/mediatek/mt7986a-rfb-spim-nand.dts
target/linux/mediatek/files-5.15/arch/arm64/boot/dts/mediatek/mt7986a-rfb-spim-nor.dts
target/linux/mediatek/files-5.15/arch/arm64/boot/dts/mediatek/mt7988a-rfb-snfi-nand.dtso
target/linux/mediatek/files-5.15/arch/arm64/boot/dts/mediatek/mt7988a-rfb-spim-nand.dtso
target/linux/mediatek/files-6.1/arch/arm64/boot/dts/mediatek/mt7986a-rfb-spim-nand.dts
target/linux/mediatek/files-6.1/arch/arm64/boot/dts/mediatek/mt7986a-rfb-spim-nor.dts
target/linux/mediatek/files-6.1/arch/arm64/boot/dts/mediatek/mt7988a-rfb-snfi-nand.dtso
target/linux/mediatek/files-6.1/arch/arm64/boot/dts/mediatek/mt7988a-rfb-spim-nand.dtso
target/linux/mediatek/patches-6.1/006-v6.2-arm64-dts-mt7986-add-spi-related-device-nodes.patch
target/linux/mediatek/patches-6.1/010-v6.3-arm64-dts-mt7986-add-Bananapi-R3.patch

index 7c8a94d97c8e7636f59b22e8192539e4f3609846..7975d247b15f2e12e0a5458a4925f7ee50644b4d 100644 (file)
                reg = <0>;
 
                spi-max-frequency = <25000000>;
-               spi-tx-buswidth = <4>;
-               spi-rx-buswidth = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
 
                partitions {
                        compatible = "fixed-partitions";
index d916ee49ef6ffe9d76fd95c244cb1c8b8b49c741..028b0e83b72ba09d43d2a076218a419fb92152d7 100644 (file)
                spi-cal-addrlen = <5>;
                spi-cal-addr = /bits/ 32 <0x0 0x0 0x0 0x0 0x0>;
 
-               spi-tx-buswidth = <4>;
-               spi-rx-buswidth = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
                mediatek,nmbm;
                mediatek,bmt-max-ratio = <1>;
                mediatek,bmt-max-reserved-blocks = <64>;
index 358365adba44bd51f074e7623ecf53d020f014cf..671e1f1839ab4973c9673e024d4d4ca799b745d7 100644 (file)
                reg = <0>;
 
                spi-max-frequency = <52000000>;
-               spi-tx-buswidth = <4>;
-               spi-rx-buswidth = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
 
                partitions {
                        compatible = "fixed-partitions";
index 87076d255cfdacec953d7a69f2f3e0f32faffd1b..d897697ef2331e8acde39959f8cf2f74364caa96 100644 (file)
@@ -97,8 +97,8 @@
                reg = <0>;
 
                spi-max-frequency = <52000000>;
-               spi-tx-buswidth = <4>;
-               spi-rx-buswidth = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
 
                partitions {
                        compatible = "fixed-partitions";
index 9467b18a7e02ad2f947c0d267efcfa4899fdd670..7ab94f36230c2a411df3dee4528768b335db21c1 100644 (file)
                reg = <0>;
 
                spi-max-frequency = <52000000>;
-               spi-tx-buswidth = <4>;
-               spi-rx-buswidth = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
 
                partitions: partitions {
                        compatible = "fixed-partitions";
index 419c0d4f9dc318803cdcab7775e4114a3860fe17..d222cebb4fe83c628d45cb3ec0a87f9ecac9a783 100644 (file)
                spi-cal-addrlen = <5>;
                spi-cal-addr = /bits/ 32 <0x0 0x0 0x0 0x0 0x0>;
 
-               spi-tx-buswidth = <4>;
-               spi-rx-buswidth = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
                mediatek,nmbm;
                mediatek,bmt-max-ratio = <1>;
                mediatek,bmt-max-reserved-blocks = <64>;
index 239be9645f38ff60bcab1c09b3d1d1637dd05f3e..ac854f10d13ae505bd0f7ae9a3750ce1aa48fb81 100644 (file)
                reg = <0>;
 
                spi-max-frequency = <20000000>;
-               spi-tx-buswidth = <4>;
-               spi-rx-buswidth = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
 
                partitions: partitions {
                        compatible = "fixed-partitions";
index 94edfd121e42cf300c764ea37028b77de9988176..a1910e36d24b6c656415da5f41f2c9ead94db63d 100644 (file)
                reg = <0>;
 
                spi-max-frequency = <20000000>;
-               spi-tx-buswidth = <4>;
-               spi-rx-buswidth = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
 
                partitions {
                        compatible = "fixed-partitions";
index 13f37cd7630b8dc9c89d82dafcbda1e69acfe0f1..a9b44f8df99f4ca83ac0ab1a5c934ff9a7cf1f3a 100644 (file)
                reg = <0>;
 
                spi-max-frequency = <20000000>;
-               spi-tx-buswidth = <4>;
-               spi-rx-buswidth = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
 
                partitions: partitions {
                        compatible = "fixed-partitions";
index bc9f6688b39361547bcf62960cde768c9c396714..2469d3d77d1f12fd72fdf86e7aec18fafd54f98b 100644 (file)
                compatible = "spi-nand";
                reg = <1>;
                spi-max-frequency = <10000000>;
-               spi-tx-buswidth = <4>;
-               spi-rx-buswidth = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
 
                partitions {
                        compatible = "fixed-partitions";
index b6bd746ef30b60326c7477d778bcc3f0ebdf2a70..a486f29fec8fe339fddc48feca883756acd2ca3e 100644 (file)
                mediatek,bmt-max-reserved-blocks = <64>;
 
                spi-max-frequency = <20000000>;
-               spi-tx-buswidth = <4>;
-               spi-rx-buswidth = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
 
                partitions {
                        compatible = "fixed-partitions";
index 8b8858ccef7962e9ee261af502e384b4c9adc2ad..d4620b385662b7cb0e799131207da3270675decc 100644 (file)
                reg = <0>;
 
                spi-max-frequency = <20000000>;
-               spi-tx-buswidth = <4>;
-               spi-rx-buswidth = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
 
                partitions: partitions {
                        compatible = "fixed-partitions";
index 09fdf677869e7792cb551c6b652b6506c2d97165..19419f593fb273245cb93f94bc48a41a9bb6de73 100644 (file)
                reg = <0>;
 
                spi-max-frequency = <20000000>;
-               spi-tx-buswidth = <4>;
-               spi-rx-buswidth = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
 
                mediatek,nmbm;
                mediatek,bmt-max-ratio = <1>;
index 15ee8c568f3c3f681fca32d547bcf16c94f239c5..0846d88f625aa5d1ea4cd2908a91d7887af7a6ce 100644 (file)
@@ -19,8 +19,8 @@
                                compatible = "spi-nand";
                                reg = <0>;
                                spi-max-frequency = <10000000>;
-                               spi-tx-buswidth = <4>;
-                               spi-rx-buswidth = <4>;
+                               spi-tx-bus-width = <4>;
+                               spi-rx-bus-width = <4>;
 
                                partitions {
                                        compatible = "fixed-partitions";
index 83a37150cf07ed9243f89f6334139711bd7e0afb..ce007099d2ba323254c452de70caaae00f5fecd2 100644 (file)
@@ -15,8 +15,8 @@
                compatible = "spi-nand";
                reg = <1>;
                spi-max-frequency = <10000000>;
-               spi-tx-buswidth = <4>;
-               spi-rx-buswidth = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
 
                partitions {
                        compatible = "fixed-partitions";
index 868365a99429a73070a0257fef1cd7cbbd6233c3..ea148315f055345418516f7a3ce7c22f30f75cbc 100644 (file)
@@ -15,8 +15,8 @@
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <52000000>;
-               spi-tx-buswidth = <4>;
-               spi-rx-buswidth = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
                partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
index 618016517785164eb26a38b1c7867e37797e98c3..86b0042f6477686cd25af66acb3ab1bf061e5308 100644 (file)
@@ -19,8 +19,8 @@
                                compatible = "spi-nand";
                                reg = <0>;
                                spi-max-frequency = <52000000>;
-                               spi-tx-buswidth = <4>;
-                               spi-rx-buswidth = <4>;
+                               spi-tx-bus-width = <4>;
+                               spi-rx-bus-width = <4>;
                                mediatek,nmbm;
                                mediatek,bmt-max-ratio = <1>;
                                mediatek,bmt-max-reserved-blocks = <64>;
index e63436fa556de8fef42eaf1fb7f7f35aaaedef3e..a9eca00d4416cb2e85c3a922d1c8aaf535465f68 100644 (file)
@@ -21,8 +21,8 @@
                                compatible = "spi-nand";
                                reg = <0>;
                                spi-max-frequency = <52000000>;
-                               spi-tx-buswidth = <4>;
-                               spi-rx-buswidth = <4>;
+                               spi-tx-bus-width = <4>;
+                               spi-rx-bus-width = <4>;
                                mediatek,nmbm;
                                mediatek,bmt-max-ratio = <1>;
                                mediatek,bmt-max-reserved-blocks = <64>;
index 83a37150cf07ed9243f89f6334139711bd7e0afb..ce007099d2ba323254c452de70caaae00f5fecd2 100644 (file)
@@ -15,8 +15,8 @@
                compatible = "spi-nand";
                reg = <1>;
                spi-max-frequency = <10000000>;
-               spi-tx-buswidth = <4>;
-               spi-rx-buswidth = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
 
                partitions {
                        compatible = "fixed-partitions";
index 868365a99429a73070a0257fef1cd7cbbd6233c3..ea148315f055345418516f7a3ce7c22f30f75cbc 100644 (file)
@@ -15,8 +15,8 @@
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <52000000>;
-               spi-tx-buswidth = <4>;
-               spi-rx-buswidth = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
                partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
index 618016517785164eb26a38b1c7867e37797e98c3..86b0042f6477686cd25af66acb3ab1bf061e5308 100644 (file)
@@ -19,8 +19,8 @@
                                compatible = "spi-nand";
                                reg = <0>;
                                spi-max-frequency = <52000000>;
-                               spi-tx-buswidth = <4>;
-                               spi-rx-buswidth = <4>;
+                               spi-tx-bus-width = <4>;
+                               spi-rx-bus-width = <4>;
                                mediatek,nmbm;
                                mediatek,bmt-max-ratio = <1>;
                                mediatek,bmt-max-reserved-blocks = <64>;
index e63436fa556de8fef42eaf1fb7f7f35aaaedef3e..a9eca00d4416cb2e85c3a922d1c8aaf535465f68 100644 (file)
@@ -21,8 +21,8 @@
                                compatible = "spi-nand";
                                reg = <0>;
                                spi-max-frequency = <52000000>;
-                               spi-tx-buswidth = <4>;
-                               spi-rx-buswidth = <4>;
+                               spi-tx-bus-width = <4>;
+                               spi-rx-bus-width = <4>;
                                mediatek,nmbm;
                                mediatek,bmt-max-ratio = <1>;
                                mediatek,bmt-max-reserved-blocks = <64>;
index b319b166a706121c0699a97fe865021f09a016fa..3e5e3d880acf28ed1f195493cbd24537c776f3d2 100644 (file)
@@ -52,8 +52,8 @@ Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
 +              compatible = "spi-nand";
 +              reg = <0>;
 +              spi-max-frequency = <10000000>;
-+              spi-tx-buswidth = <4>;
-+              spi-rx-buswidth = <4>;
++              spi-tx-bus-width = <4>;
++              spi-rx-bus-width = <4>;
 +      };
 +};
 +
@@ -140,8 +140,8 @@ Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
 +              compatible = "spi-nand";
 +              reg = <0>;
 +              spi-max-frequency = <10000000>;
-+              spi-tx-buswidth = <4>;
-+              spi-rx-buswidth = <4>;
++              spi-tx-bus-width = <4>;
++              spi-rx-bus-width = <4>;
 +      };
 +};
 +
index abe0b6e9bc134f16229ae390d4c76bb0b61be94a..b459e9dfe7329e3bd78cbbbdc4b2ee830c53fb4a 100644 (file)
@@ -103,8 +103,8 @@ Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
 +                              compatible = "spi-nand";
 +                              reg = <0>;
 +                              spi-max-frequency = <10000000>;
-+                              spi-tx-buswidth = <4>;
-+                              spi-rx-buswidth = <4>;
++                              spi-tx-bus-width = <4>;
++                              spi-rx-bus-width = <4>;
 +
 +                              partitions {
 +                                      compatible = "fixed-partitions";