Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp822307pxj; Wed, 2 Jun 2021 12:19:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8a6ye8PYgdd+mLcOv4oLuOsEHNohhFDIxKFRFVzvoCggBAoFBkFLr5uUJNl/YfwJwfsCf X-Received: by 2002:a05:6402:144d:: with SMTP id d13mr7098091edx.288.1622661590365; Wed, 02 Jun 2021 12:19:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622661590; cv=none; d=google.com; s=arc-20160816; b=Zn4S7y8XQo85+mUzxd9U8s0/uqbjGxEQvE1pw1m6wTEJwm9fctgShQNx0z4vXtf1tN FMsZyavzL9I8DOpwXe7BV/x21zAsQelGc8TziFTwOEEG7HHtD2bCHqjlpdUG+ZMSAbR7 5kUkGzUo61Fv1uBC7vYji5JSxBklYOL2DCYd8YlxW79QuaKPQy6wtCMGPycTHP7dbj5/ MpbJegSnyugvcO3fCWGgvRqP6hqEPFoxZNEYZlWTSmjmkxTv5wi9r6l0FJbJJ9Oivkj8 VIf7XaA8TO5ADQtkkwDhalpvX9kXRKFX5VGudLwQRgz1yXa4RnepeHKWzZnEVLu4H7tm ZivA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=geUlY28idlRl31FZ9a215m49D3hMM6sM5xSEAUHdu6Q=; b=SAz8AgCqnM1xdbhvJwOso2ZJzOyrTtcu8BtUkyBYF25Bicboqy7Ww1ZXYjGV4I/D1h CI4sCYEk9wpBEsa+X3cntdcoW9K8X55uoyB3PKWf5JQT3+uAqMG/P8nUa5o8FerZVYpz vGE1e1ZRUWd7FSo2VYRZKT7Kg1NlGz2/nXdnIulk6Y1f7wDRsu03NFv5Fq2qDsuJdIw5 Z6N2YJaQnx0nqFMjeYaQqagqRLMRZZrYRNcAqF1EUeTV+R/QRQokR1KJ+pm5TL3azKuA sPk4I2o/xfOjYfroasqdAOCi7U4nCR2RIqbam+ba1wXii6gI0OiOKuRvIXZq6ShfHu31 Me/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=bfZymNZw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v20si532707edc.437.2021.06.02.12.19.27; Wed, 02 Jun 2021 12:19:50 -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; dkim=pass header.i=@chromium.org header.s=google header.b=bfZymNZw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229665AbhFBTRq (ORCPT + 99 others); Wed, 2 Jun 2021 15:17:46 -0400 Received: from mail-pg1-f181.google.com ([209.85.215.181]:36644 "EHLO mail-pg1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229658AbhFBTRi (ORCPT ); Wed, 2 Jun 2021 15:17:38 -0400 Received: by mail-pg1-f181.google.com with SMTP id 27so3086267pgy.3 for ; Wed, 02 Jun 2021 12:15:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=geUlY28idlRl31FZ9a215m49D3hMM6sM5xSEAUHdu6Q=; b=bfZymNZwyWfZAK9dQL6QZMOlrsy0EVslpsnRnk4MP59bfUdxLNO9WQNVOdyjb4W1pT x5knflRc2sQiyEMEQ413+6Ou9cXywITn0ZT4PgUbCiH+xpYShqevhk80z3ZLIfL0PGNp DYkr1tMq74KL0h0fqLNwoQpMvYirFnRL3Ofwc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=geUlY28idlRl31FZ9a215m49D3hMM6sM5xSEAUHdu6Q=; b=hcDbknhWYUeazZwIq0CYbXcMyjxW3khgZwXV5QESb7weqZm0wrobmxl7m7Z20zxwPx TzCVoqTNZqWZ4e2FHCA9XmuwwCsQD5gTGg+d6rU9WVj+oKdjlVf7wRj/vUKXnb8gzVVn Kpd7oRiSyuss6hZB3j8W0oY5u34OQ13Ut4jm9Nd36FZa5ZC8h5IVDLz7RLlypqswJPU+ K6oY7uK739Ehyx2gyBAo7R6ScNx9L5qo9WdSrvq6VH/ZLWw7/Got+NLismnY/WXpndNc 9SPyy++fq+YpnDNKNsb8qz72AlLTj+/EDTX0LRdXOOelM3y4MVI0eJe7zBTYEeoNvsLF 0Bdw== X-Gm-Message-State: AOAM532C2moDVw+kqaI/ugB2yqWXG74Ns0bwkHLmRfP0ZVFxpUHKKEEO RJWX8I0G7Ao3A3TO+yu/U6fsow== X-Received: by 2002:a63:ff1f:: with SMTP id k31mr34704359pgi.315.1622661272403; Wed, 02 Jun 2021 12:14:32 -0700 (PDT) Received: from sujitka-glaptop.hsd1.ca.comcast.net ([2601:646:8e00:b2f0:3c25:f769:d7de:98bd]) by smtp.gmail.com with ESMTPSA id z17sm329242pfq.218.2021.06.02.12.14.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 12:14:32 -0700 (PDT) From: Sujit Kautkar To: Andy Gross , Bjorn Andersson , Rob Herring Cc: Sibi Sankar , Doug Anderson , Rajendra Nayak , Sujit Kautkar , Mark Rutland , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/2] arm64: dts: qcom: sc7180: SD-card GPIO pin set bias-pull up Date: Wed, 2 Jun 2021 12:13:41 -0700 Message-Id: <20210602121313.v3.2.I52f30ddfe62041b7e6c3c362f0ad8f695ac28224@changeid> X-Mailer: git-send-email 2.32.0.rc0.204.g9fa02ecfa5-goog In-Reply-To: <20210602191338.1995827-1-sujitka@chromium.org> References: <20210602191338.1995827-1-sujitka@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some SC7180 based board do not have external pull-up for cd-gpio. Set this pin to internal pull-up for sleep config to avoid frequent regulator toggle events. Signed-off-by: Sujit Kautkar --- Changes in v3: - remove 'trogdor' from commit message - move reference patch from commit message Changes in v2: - added pull-up for IDP This change is with reference to Qualcomm's DT change posted at: https://patchwork.kernel.org/patch/11675347/ arch/arm64/boot/dts/qcom/sc7180-idp.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180-idp.dts b/arch/arm64/boot/dts/qcom/sc7180-idp.dts index 07133e0af581a..0c255edb7f3c3 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-idp.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-idp.dts @@ -696,7 +696,7 @@ pinconf-data { pinconf-sd-cd { pins = "gpio69"; - bias-disable; + bias-pull-up; drive-strength = <2>; }; }; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi index d128a0ed6ad3a..330deb4967ca2 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi @@ -1638,7 +1638,7 @@ pinconf-data { pinconf-sd-cd { pins = "gpio69"; - bias-disable; + bias-pull-up; drive-strength = <2>; }; }; -- 2.32.0.rc0.204.g9fa02ecfa5-goog