From 3d48b7d34cccb9412441bb2985ccb3127b3197a8 Mon Sep 17 00:00:00 2001 From: Linyu Yuan Date: Mon, 25 Jan 2021 18:22:03 +0800 Subject: [PATCH] ARM: dts: msm: disable bias for GPIO81 on Lahaina/Shima QRD GPIO81 receives CC_OUT signal from PMIC for type-c port orientation, keep it as bias-pull-up would cause the type-c analog audio adapter plug out event can't be detected because audio codec uses the same signal to detect type-c connection and orientation. Fix it by setting GPIO81 as bias-disabled. Change-Id: I90c8a6cacc01789a79e706cad031c5e1307c4506 --- qcom/lahaina-pinctrl.dtsi | 2 +- qcom/shima-pinctrl.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qcom/lahaina-pinctrl.dtsi b/qcom/lahaina-pinctrl.dtsi index 242b9485c6eb..90ac81726e56 100644 --- a/qcom/lahaina-pinctrl.dtsi +++ b/qcom/lahaina-pinctrl.dtsi @@ -3672,7 +3672,7 @@ config { pins = "gpio81"; drive-strength = <2>; - bias-pull-up; + bias-disable; input-enable; }; }; diff --git a/qcom/shima-pinctrl.dtsi b/qcom/shima-pinctrl.dtsi index 672784ffdbdd..2c4ab10ca6ec 100644 --- a/qcom/shima-pinctrl.dtsi +++ b/qcom/shima-pinctrl.dtsi @@ -3090,7 +3090,7 @@ config { pins = "gpio81"; drive-strength = <2>; - bias-pull-up; + bias-disable; input-enable; }; };