arm64: dts: qcom: msm8916/39: Rename &blsp1_uartN -> &blsp_uartN
authorStephan Gerhold <stephan@gerhold.net>
Mon, 29 May 2023 12:46:59 +0000 (14:46 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 29 May 2023 21:37:01 +0000 (14:37 -0700)
For some reason the BLSP UART controllers have a label with a number
behind blsp (&blsp1_uartN) while I2C/SPI are named without (&blsp_i2cN).
This is confusing, especially for proper node ordering in board DTs.

Right now all board DTs are ordered as if the number behind blsp does
not exist (&blsp_i2cN comes before &blsp1_uartN). Strictly speaking
correct ordering would be the other way around ('1' comes before '_').

End this confusion by giving the UART controllers consistent labels.
There is just one BLSP on MSM8916/39 so the number is redundant.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230525-msm8916-labels-v1-2-bec0f5fb46fb@gerhold.net
20 files changed:
arch/arm64/boot/dts/qcom/apq8016-sbc.dts
arch/arm64/boot/dts/qcom/apq8039-t2.dts
arch/arm64/boot/dts/qcom/msm8916-acer-a1-724.dts
arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts
arch/arm64/boot/dts/qcom/msm8916-asus-z00l.dts
arch/arm64/boot/dts/qcom/msm8916-gplus-fl8005a.dts
arch/arm64/boot/dts/qcom/msm8916-huawei-g7.dts
arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts
arch/arm64/boot/dts/qcom/msm8916-longcheer-l8910.dts
arch/arm64/boot/dts/qcom/msm8916-mtp.dts
arch/arm64/boot/dts/qcom/msm8916-pins.dtsi
arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi
arch/arm64/boot/dts/qcom/msm8916-samsung-gt5-common.dtsi
arch/arm64/boot/dts/qcom/msm8916-samsung-j5-common.dtsi
arch/arm64/boot/dts/qcom/msm8916-samsung-serranove.dts
arch/arm64/boot/dts/qcom/msm8916-ufi.dtsi
arch/arm64/boot/dts/qcom/msm8916-wingtech-wt88047.dts
arch/arm64/boot/dts/qcom/msm8916.dtsi
arch/arm64/boot/dts/qcom/msm8939-sony-xperia-kanuti-tulip.dts
arch/arm64/boot/dts/qcom/msm8939.dtsi

index 82f141b55eb3ca7ab8157f2346db11abf88bdfb0..19bf429a973ef6d713420b79835de398f52131ab 100644 (file)
@@ -18,8 +18,8 @@
        compatible = "qcom,apq8016-sbc", "qcom,apq8016";
 
        aliases {
-               serial0 = &blsp1_uart2;
-               serial1 = &blsp1_uart1;
+               serial0 = &blsp_uart2;
+               serial1 = &blsp_uart1;
                usid0 = &pm8916_0;
                i2c0 = &blsp_i2c2;
                i2c1 = &blsp_i2c6;
        label = "LS-SPI0";
 };
 
-&blsp1_uart1 {
+&blsp_uart1 {
        status = "okay";
        label = "LS-UART0";
 };
 
-&blsp1_uart2 {
+&blsp_uart2 {
        status = "okay";
        label = "LS-UART1";
 };
index e75ee34cb014b2c241863874ff9223c18db0affc..07f4c6398b41b4022a3df48d7c5522600a438ea1 100644 (file)
@@ -24,8 +24,8 @@
        aliases {
                mmc0 = &sdhc_1;
                mmc1 = &sdhc_2;
-               serial0 = &blsp1_uart1;
-               serial1 = &blsp1_uart2;
+               serial0 = &blsp_uart1;
+               serial1 = &blsp_uart2;
        };
 
        bl: backlight {
        status = "okay";
 };
 
-&blsp1_uart1 {
+&blsp_uart1 {
        status = "okay";
 };
 
-&blsp1_uart1_default {
+&blsp_uart1_default {
        pins = "gpio0", "gpio1";
 };
 
-&blsp1_uart1_sleep {
+&blsp_uart1_sleep {
        pins = "gpio0", "gpio1";
 };
 
-&blsp1_uart2 {
+&blsp_uart2 {
        status = "okay";
 };
 
index 7b77a80f049c64eb4068bd4d2059589bc668b938..c864ce12c1f14f8d3d5f13d93d72fe030c087263 100644 (file)
@@ -22,7 +22,7 @@
        chassis-type = "tablet";
 
        aliases {
-               serial0 = &blsp1_uart2;
+               serial0 = &blsp_uart2;
        };
 
        chosen {
        };
 };
 
-&blsp1_uart2 {
+&blsp_uart2 {
        status = "okay";
 };
 
index d2abbdec5fe6815d51a94272232fff9aa28e4bb6..47580bd243eb5f7970db5e9cf5a66cad044a30d9 100644 (file)
@@ -13,7 +13,7 @@
        chassis-type = "handset";
 
        aliases {
-               serial0 = &blsp1_uart2;
+               serial0 = &blsp_uart2;
        };
 
        chosen {
@@ -56,7 +56,7 @@
        };
 };
 
-&blsp1_uart2 {
+&blsp_uart2 {
        status = "okay";
 };
 
index c58a70fdf36fb4f986bd388418d2007850645f54..ad71695652c20027c4743a26c4e55cb7cf800863 100644 (file)
@@ -13,7 +13,7 @@
        chassis-type = "handset";
 
        aliases {
-               serial0 = &blsp1_uart2;
+               serial0 = &blsp_uart2;
        };
 
        chosen {
        };
 };
 
-&blsp1_uart2 {
+&blsp_uart2 {
        status = "okay";
 };
 
index 221db7edec5ef6a37160a174a25d2ca15c205a63..a2be985052a5782715be821db1195483dd5a0942 100644 (file)
@@ -14,7 +14,7 @@
        chassis-type = "tablet";
 
        aliases {
-               serial0 = &blsp1_uart2;
+               serial0 = &blsp_uart2;
        };
 
        chosen {
        };
 };
 
-&blsp1_uart2 {
+&blsp_uart2 {
        status = "okay";
 };
 
index b02e8f9a8ca0d8454dba9b988378d241c7f6912c..cbf53de44ef32bf1f1c00d549e7905e2962208fe 100644 (file)
@@ -26,7 +26,7 @@
        chassis-type = "handset";
 
        aliases {
-               serial0 = &blsp1_uart2;
+               serial0 = &blsp_uart2;
        };
 
        chosen {
        };
 };
 
-&blsp1_uart2 {
+&blsp_uart2 {
        status = "okay";
 };
 
index 56f74a8927640e98e596910c5c55fc8f07ab3211..facb44892dd50a5fe5d9534378fc6c4252c55a02 100644 (file)
@@ -14,7 +14,7 @@
        chassis-type = "handset";
 
        aliases {
-               serial0 = &blsp1_uart2;
+               serial0 = &blsp_uart2;
        };
 
        chosen {
        };
 };
 
-&blsp1_uart2 {
+&blsp_uart2 {
        status = "okay";
 };
 
index a1208c8e06203faa417e5597303ad7e8b59d5dec..707288b7eca842bcaf234aabdd98e711e686e26e 100644 (file)
@@ -13,7 +13,7 @@
        chassis-type = "handset";
 
        aliases {
-               serial0 = &blsp1_uart2;
+               serial0 = &blsp_uart2;
        };
 
        chosen {
        };
 };
 
-&blsp1_uart2 {
+&blsp_uart2 {
        status = "okay";
 };
 
index 7c0ceb3cff45eb176129804a62002eda513f123c..438eb1faee1d8bf62e9d94b469f37cab722d206b 100644 (file)
@@ -12,7 +12,7 @@
        compatible = "qcom,msm8916-mtp", "qcom,msm8916-mtp/1", "qcom,msm8916";
 
        aliases {
-               serial0 = &blsp1_uart2;
+               serial0 = &blsp_uart2;
                usid0 = &pm8916_0;
        };
 
@@ -21,6 +21,6 @@
        };
 };
 
-&blsp1_uart2 {
+&blsp_uart2 {
        status = "okay";
 };
index 1e07f70768f41ff549b370823566d6fc7b4f3a9c..3539d9029bed70026b8694478cfbb58d53343ccd 100644 (file)
@@ -5,7 +5,7 @@
 
 &tlmm {
 
-       blsp1_uart1_default: blsp1-uart1-default-state {
+       blsp_uart1_default: blsp-uart1-default-state {
                /* TX, RX, CTS_N, RTS_N */
                pins = "gpio0", "gpio1", "gpio2", "gpio3";
                function = "blsp_uart1";
@@ -14,7 +14,7 @@
                bias-disable;
        };
 
-       blsp1_uart1_sleep: blsp1-uart1-sleep-state {
+       blsp_uart1_sleep: blsp-uart1-sleep-state {
                pins = "gpio0", "gpio1", "gpio2", "gpio3";
                function = "gpio";
 
@@ -22,7 +22,7 @@
                bias-pull-down;
        };
 
-       blsp1_uart2_default: blsp1-uart2-default-state {
+       blsp_uart2_default: blsp-uart2-default-state {
                pins = "gpio4", "gpio5";
                function = "blsp_uart2";
 
@@ -30,7 +30,7 @@
                bias-disable;
        };
 
-       blsp1_uart2_sleep: blsp1-uart2-sleep-state {
+       blsp_uart2_sleep: blsp-uart2-sleep-state {
                pins = "gpio4", "gpio5";
                function = "gpio";
 
index 550ba6b9d4cd81ae77f653f9832931a640112b61..497fc83803ef04dbb457df0c695918ce03e1ac2b 100644 (file)
@@ -8,7 +8,7 @@
 
 / {
        aliases {
-               serial0 = &blsp1_uart2;
+               serial0 = &blsp_uart2;
        };
 
        chosen {
        };
 };
 
-&blsp1_uart2 {
+&blsp_uart2 {
        status = "okay";
 };
 
index cb1b6318a246d81455cc050abad9cc6c53b54a82..82d94d62fbe6933564223cb268df7666b4387fd1 100644 (file)
@@ -9,7 +9,7 @@
 
 / {
        aliases {
-               serial0 = &blsp1_uart2;
+               serial0 = &blsp_uart2;
        };
 
        chosen {
        };
 };
 
-&blsp1_uart2 {
+&blsp_uart2 {
        status = "okay";
 };
 
index b2d2bc205ef27fd87a544db16de7183f22170520..78935205ea9d36d329f74d236ea54c94b8a41d77 100644 (file)
@@ -7,7 +7,7 @@
 
 / {
        aliases {
-               serial0 = &blsp1_uart2;
+               serial0 = &blsp_uart2;
        };
 
        chosen {
@@ -84,7 +84,7 @@
        };
 };
 
-&blsp1_uart2 {
+&blsp_uart2 {
        status = "okay";
 };
 
index 13a1d8828447bf17f9efa7dcde00176872e6e413..bd1e1e1153c009b20ef5155d2e7320ae5b92d00c 100644 (file)
@@ -28,7 +28,7 @@
        chassis-type = "handset";
 
        aliases {
-               serial0 = &blsp1_uart2;
+               serial0 = &blsp_uart2;
        };
 
        chosen {
        };
 };
 
-&blsp1_uart2 {
+&blsp_uart2 {
        status = "okay";
 };
 
index f5613107ad1fe4cbebcb623370dc73b301dbc855..898722ee86a51642fa03e1d115df4b69370c0456 100644 (file)
@@ -9,7 +9,7 @@
        chassis-type = "embedded";
 
        aliases {
-               serial0 = &blsp1_uart2;
+               serial0 = &blsp_uart2;
        };
 
        chosen {
@@ -82,7 +82,7 @@
        status = "okay";
 };
 
-&blsp1_uart2 {
+&blsp_uart2 {
        status = "okay";
 };
 
index 12ce4dc236c63229d589a260a2e314a46e980d7f..930318a443a84e2f3ee10c5e71b8b0364072137f 100644 (file)
@@ -16,7 +16,7 @@
        chassis-type = "handset";
 
        aliases {
-               serial0 = &blsp1_uart2;
+               serial0 = &blsp_uart2;
        };
 
        chosen {
        };
 };
 
-&blsp1_uart2 {
+&blsp_uart2 {
        status = "okay";
 };
 
index a363be2d48e9239373dc552e7fcfc981d3c8b783..10670cfd2a6ec71c6fb00c3ebb6e2d8edb6a7e9f 100644 (file)
                        qcom,ee = <0>;
                };
 
-               blsp1_uart1: serial@78af000 {
+               blsp_uart1: serial@78af000 {
                        compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
                        reg = <0x078af000 0x200>;
                        interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
                        dmas = <&blsp_dma 0>, <&blsp_dma 1>;
                        dma-names = "tx", "rx";
                        pinctrl-names = "default", "sleep";
-                       pinctrl-0 = <&blsp1_uart1_default>;
-                       pinctrl-1 = <&blsp1_uart1_sleep>;
+                       pinctrl-0 = <&blsp_uart1_default>;
+                       pinctrl-1 = <&blsp_uart1_sleep>;
                        status = "disabled";
                };
 
-               blsp1_uart2: serial@78b0000 {
+               blsp_uart2: serial@78b0000 {
                        compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
                        reg = <0x078b0000 0x200>;
                        interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
                        dmas = <&blsp_dma 2>, <&blsp_dma 3>;
                        dma-names = "tx", "rx";
                        pinctrl-names = "default", "sleep";
-                       pinctrl-0 = <&blsp1_uart2_default>;
-                       pinctrl-1 = <&blsp1_uart2_sleep>;
+                       pinctrl-0 = <&blsp_uart2_default>;
+                       pinctrl-1 = <&blsp_uart2_sleep>;
                        status = "disabled";
                };
 
index 951d01674b784750be95500464325f0d40c9cfeb..85a8d8fe212ffda16c3180b353c968af5e29aa9c 100644 (file)
@@ -23,7 +23,7 @@
        aliases {
                mmc0 = &sdhc_1; /* SDC1 eMMC slot */
                mmc1 = &sdhc_2; /* SDC2 SD card slot */
-               serial0 = &blsp1_uart2;
+               serial0 = &blsp_uart2;
        };
 
        chosen {
index 778d24c8aee52d2528914b51229af95123934eb9..a44f7e8295133f9863c90d7a0672b3a7c2eec810 100644 (file)
                        interrupt-controller;
                        #interrupt-cells = <2>;
 
-                       blsp1_uart1_default: blsp1-uart1-default-state {
+                       blsp_uart1_default: blsp-uart1-default-state {
                                pins = "gpio0", "gpio1", "gpio2", "gpio3";
                                function = "blsp_uart1";
                                drive-strength = <16>;
                                bias-disable;
                        };
 
-                       blsp1_uart1_sleep: blsp1-uart1-sleep-state {
+                       blsp_uart1_sleep: blsp-uart1-sleep-state {
                                pins = "gpio0", "gpio1", "gpio2", "gpio3";
                                function = "gpio";
                                drive-strength = <2>;
                                bias-pull-down;
                        };
 
-                       blsp1_uart2_default: blsp1-uart2-default-state {
+                       blsp_uart2_default: blsp-uart2-default-state {
                                pins = "gpio4", "gpio5";
                                function = "blsp_uart2";
                                drive-strength = <16>;
                                bias-disable;
                        };
 
-                       blsp1_uart2_sleep: blsp1-uart2-sleep-state {
+                       blsp_uart2_sleep: blsp-uart2-sleep-state {
                                pins = "gpio4", "gpio5";
                                function = "gpio";
                                drive-strength = <2>;
                        qcom,ee = <0>;
                };
 
-               blsp1_uart1: serial@78af000 {
+               blsp_uart1: serial@78af000 {
                        compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
                        reg = <0x078af000 0x200>;
                        interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
                        clock-names = "core", "iface";
                        dmas = <&blsp_dma 0>, <&blsp_dma 1>;
                        dma-names = "tx", "rx";
-                       pinctrl-0 = <&blsp1_uart1_default>;
-                       pinctrl-1 = <&blsp1_uart1_sleep>;
+                       pinctrl-0 = <&blsp_uart1_default>;
+                       pinctrl-1 = <&blsp_uart1_sleep>;
                        pinctrl-names = "default", "sleep";
                        status = "disabled";
                };
 
-               blsp1_uart2: serial@78b0000 {
+               blsp_uart2: serial@78b0000 {
                        compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
                        reg = <0x078b0000 0x200>;
                        interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
                        clock-names = "core", "iface";
                        dmas = <&blsp_dma 2>, <&blsp_dma 3>;
                        dma-names = "tx", "rx";
-                       pinctrl-0 = <&blsp1_uart2_default>;
-                       pinctrl-1 = <&blsp1_uart2_sleep>;
+                       pinctrl-0 = <&blsp_uart2_default>;
+                       pinctrl-1 = <&blsp_uart2_sleep>;
                        pinctrl-names = "default", "sleep";
                        status = "disabled";
                };