From 104f3bbdb8306cbd5d29cd2a60f6c05e6a7f0305 Mon Sep 17 00:00:00 2001 From: Ziqi Chen Date: Mon, 21 Sep 2020 12:56:09 +0800 Subject: [PATCH] ARM: dts: msm: Change cd-gpio polarity setting for HDK lahaina According to HDK Lahaina HW design, the logic level of cd-gpio is HIGH with card and is LOW without card. Set cd-gpio flag to GPIO_ACTIVE_HIGH for high active card installed interruption. Change-Id: Icb20ea9f0cdcac57512be2fd53cf61181ccf2066 --- qcom/lahaina-hdk.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qcom/lahaina-hdk.dtsi b/qcom/lahaina-hdk.dtsi index 07ece652dcf5..d2cb8cb70d73 100644 --- a/qcom/lahaina-hdk.dtsi +++ b/qcom/lahaina-hdk.dtsi @@ -67,3 +67,7 @@ dr_mode = "host"; }; }; + +&sdhc_2 { + cd-gpios = <&tlmm 92 GPIO_ACTIVE_HIGH>; +};