summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi
diff options
context:
space:
mode:
authorJeffrey Hugo <jeffrey.l.hugo@gmail.com>2019-10-21 18:19:21 +0200
committerBjorn Andersson <bjorn.andersson@linaro.org>2019-12-18 06:26:58 +0100
commit8529728f25d620d82c118bd683fcd7bcf2b18ac5 (patch)
treebf7f9a489a5e57d5f4c6ea80fb8e752e18861603 /arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi
parentarm64: dts: qcom: sdm845-cheza: Add cr50 spi node (diff)
downloadlinux-8529728f25d620d82c118bd683fcd7bcf2b18ac5.tar.xz
linux-8529728f25d620d82c118bd683fcd7bcf2b18ac5.zip
arm64: dts: qcom: msm8998: Fixup uart3 gpio config for bluetooth
It turns out that the wcn3990 can float the gpio lines during bootup, etc which will result in the uart core thinking there is incoming data. This results in the bluetooth stack getting garbage. By applying a bias to match what wcn3990 would drive, the issue is corrected. Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com> Link: https://lore.kernel.org/r/20191021161921.31825-1-jeffrey.l.hugo@gmail.com [bjorn: Moved board specific pinctrl states to the end] Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi')
-rw-r--r--arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi b/arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi
index 0f84fa0894a4..b3cf263f4a00 100644
--- a/arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi
@@ -301,3 +301,26 @@
vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
};
+
+/* PINCTRL - board-specific pinctrl */
+&blsp1_uart3_on {
+ rx {
+ /delete-property/ bias-disable;
+ /*
+ * Configure a pull-up on 45 (RX). This is needed to
+ * avoid garbage data when the TX pin of the Bluetooth
+ * module is in tri-state (module powered off or not
+ * driving the signal yet).
+ */
+ bias-pull-up;
+ };
+
+ cts {
+ /delete-property/ bias-disable;
+ /*
+ * Configure a pull-down on 47 (CTS) to match the pull
+ * of the Bluetooth module.
+ */
+ bias-pull-down;
+ };
+};