]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sc7280: Remove CTS/RTS configuration
authorViken Dadhaniya <quic_vdadhani@quicinc.com>
Wed, 24 Apr 2024 07:58:53 +0000 (13:28 +0530)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 May 2024 00:09:52 +0000 (19:09 -0500)
For IDP variant, GPIO 20/21 is used by camera use case and camera
driver is not able acquire these GPIOs as it is acquired by UART5
driver as RTS/CTS pin.

UART5 is designed for debug UART for all the board variants of the
sc7280 chipset and RTS/CTS configuration is not required for debug
uart usecase.

Remove CTS/RTS configuration for UART5 instance and change compatible
string to debug UART.

Remove overwriting compatible property from individual target specific
file as it is not required.

Fixes: 38cd93f413fd ("arm64: dts: qcom: sc7280: Update QUPv3 UART5 DT node")
Signed-off-by: Viken Dadhaniya <quic_vdadhani@quicinc.com>
Link: https://lore.kernel.org/r/20240424075853.11445-1-quic_vdadhani@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts
arch/arm64/boot/dts/qcom/qcm6490-idp.dts
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
arch/arm64/boot/dts/qcom/sc7280-idp.dtsi
arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi
arch/arm64/boot/dts/qcom/sc7280.dtsi

index f3432701945f7f35713e05945a6b116ea85ceef6..8cd2fe80dbb2cab5b0ffce03cec5a2d87a8a794b 100644 (file)
 };
 
 &uart5 {
-       compatible = "qcom,geni-debug-uart";
        status = "okay";
 };
 
index 27de7cf31c831dd131014c17793b8a2975d03a05..a0668f767e4bf9c8a749adf180dc65f785eb389e 100644 (file)
 };
 
 &uart5 {
-       compatible = "qcom,geni-debug-uart";
        status = "okay";
 };
 
index fe1fa0d12e6068528539b99d88d667f0073bc36d..c4cde4328e3dfbe67608ba3f61ed33934c6a13fb 100644 (file)
 };
 
 &uart5 {
-       compatible = "qcom,geni-debug-uart";
        status = "okay";
 };
 
index a0059527d9e48a45e542010143740019cd612d44..7370aa0dbf0e3f9e7a3e38c3f00686e1d3dcbc9f 100644 (file)
 };
 
 &uart5 {
-       compatible = "qcom,geni-debug-uart";
        status = "okay";
 };
 
index f9b96bd2477ea60f94372924dd8823b5198ded65..7d1d5bbbbbd951345f54fb3181ee18821d2b9158 100644 (file)
 };
 
 uart_dbg: &uart5 {
-       compatible = "qcom,geni-debug-uart";
        status = "okay";
 };
 
index fc9ec367e3a5a7357236e0569aece65714fe9559..246fb7919d2746f5e6fa88c7aa16b1301aabb550 100644 (file)
                        };
 
                        uart5: serial@994000 {
-                               compatible = "qcom,geni-uart";
+                               compatible = "qcom,geni-debug-uart";
                                reg = <0 0x00994000 0 0x4000>;
                                clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
                                clock-names = "se";
                                pinctrl-names = "default";
-                               pinctrl-0 = <&qup_uart5_cts>, <&qup_uart5_rts>, <&qup_uart5_tx>, <&qup_uart5_rx>;
+                               pinctrl-0 = <&qup_uart5_tx>, <&qup_uart5_rx>;
                                interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
                                power-domains = <&rpmhpd SC7280_CX>;
                                operating-points-v2 = <&qup_opp_table>;
                                function = "qup04";
                        };
 
-                       qup_uart5_cts: qup-uart5-cts-state {
-                               pins = "gpio20";
-                               function = "qup05";
-                       };
-
-                       qup_uart5_rts: qup-uart5-rts-state {
-                               pins = "gpio21";
-                               function = "qup05";
-                       };
-
                        qup_uart5_tx: qup-uart5-tx-state {
                                pins = "gpio22";
                                function = "qup05";