Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp613124ybh; Tue, 21 Jul 2020 03:47:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLhNhe4d/y3+B160NRKZQPyOJn01Hw0itHAr6/RN+TxL4pgfo5+hZU54lx5ODpthyeBM0Q X-Received: by 2002:aa7:c3d6:: with SMTP id l22mr25077454edr.148.1595328424245; Tue, 21 Jul 2020 03:47:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595328424; cv=none; d=google.com; s=arc-20160816; b=cI8ysoA5wF/nsUgJIJjHQhAeZeiDID1LKMmk/43e7Hf9HAJFCvHR9hrdMnFr0g+njI RskJBfcKoWbvY/Uq1ir/a+QaeNbDrAia7rRqMJ0uW/U5OOu18Hr0jVD98Dg0RToCZI6l nt7kuFep9CrpIdSbxMhMTYP3ZluLnjcjSjNoAK2kVTOHJFnx1DdnQ5B9lhZTMK3JZEwt tDOfVVBX503F4Z2wJlHx2c65U1C6lHDGgWdqJHjGtaqFkhSsHTMHCXVXq5/HXehv3hG4 sVg9GzsY9h6XJhyYG7b3ZfK7eP04TXc1kpFePXD4rpGweCbeNvgsqUijuZgXDYhHSfZ1 IScQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=ck/25SgjAOhrb5kpK6gnhW5pzQ538K3ygStDEHRaDbs=; b=UBlqgULL4jcaC51lv2YxuYjsBQIUwGdsaPGr/lceaAnfJwBCWp6xzMjaZNysYQwcjo D17hBP0qtatF0H+PB0ZtedY9jyeH/zyfjRDMPfHIjHdfJRIttYEZAJfebJvk3MhugkwT tSSmp0CbKUgM0/pjUZdWmikuoyLe+ca/q5azYhDYnsJIhdOq96pokPny3y7iQ8+UqVr3 wxYY/SU6dgrRNzShqS29Rzl8Z6jUa5RGb9qru7FQV/JW6RdJ+eplx8lbllxJyi5WCiGC jsnE8uRgWiYFFiB4gs6IgMQKwK6e7mryqZwQ0iJQgAa00IUW2tKmPC3Ylai3nAt1zc1E 0+Jw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ca10si12258355edb.224.2020.07.21.03.46.41; Tue, 21 Jul 2020 03:47:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729305AbgGUKof (ORCPT + 99 others); Tue, 21 Jul 2020 06:44:35 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:2552 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726884AbgGUKoe (ORCPT ); Tue, 21 Jul 2020 06:44:34 -0400 Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 21 Jul 2020 03:44:33 -0700 Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 21 Jul 2020 03:44:31 -0700 Received: from c-sbhanu-linux.qualcomm.com ([10.242.50.201]) by ironmsg01-blr.qualcomm.com with ESMTP; 21 Jul 2020 16:14:09 +0530 Received: by c-sbhanu-linux.qualcomm.com (Postfix, from userid 2344807) id 20BC73FFA; Tue, 21 Jul 2020 16:14:08 +0530 (IST) From: Shaik Sajida Bhanu To: adrian.hunter@intel.com, ulf.hansson@linaro.org, robh+dt@kernel.org, mka@chromium.org Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, agross@kernel.org, bjorn.andersson@linaro.org, Veerabhadrarao Badiganti , Shaik Sajida Bhanu Subject: [PATCH V2] arm64: dts: qcom: sc7180: SD-card GPIO pin set bias-pull up Date: Tue, 21 Jul 2020 16:14:05 +0530 Message-Id: <1595328245-29328-1-git-send-email-sbhanu@codeaurora.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Veerabhadrarao Badiganti On some sc7180 based platforms where external pull is not present on cd-gpio, this gpio state is getting read as HIGH when sleep config is applied on it. This is resulting in SDcard rescan after suspend-resume even though SDcard is not present. Update cd-gpio sleep config with bais-pull to fix this issue. Signed-off-by: Veerabhadrarao Badiganti Signed-off-by: Shaik Sajida Bhanu --- Changes since V1: - Incorporated review comments by Bjorn Andersson. --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index d78a066..a3527c3 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -1819,7 +1819,7 @@ pinconf-sd-cd { pins = "gpio69"; - bias-disable; + bias-pull-up; drive-strength = <2>; }; }; -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation