Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1876856pxk; Tue, 1 Sep 2020 09:49:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQg9aEOWA/miSSP4SVid+NolgJeEO5B8CEzbvhjGWDH4REhP4UVz7PENNCF0bGbAHYgCBB X-Received: by 2002:a17:906:1106:: with SMTP id h6mr2316521eja.200.1598978949903; Tue, 01 Sep 2020 09:49:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598978949; cv=none; d=google.com; s=arc-20160816; b=qn/mdDBZs0KMfI88tD/p4o2dcph4yR4M0Sn7YTqxtVDFJZozokcdS0qSena/amim+5 eAqp4IoTerIbUHgFzECrdHNVaUXrmkokfo1fXsfCu1hT3lytsob1bAB+04/KfYUHZUdw WtRINLpkGBT0zp5unyklFD7hP1dRACyBrd3QHxnX8o1m7nKkNoMxSpCmivJcC0GEARdd yP2eEct15DNfP3HRb3WCVcuIz5aGOgTk7kL8cmC3BHvlj/kiynb2Lz8ktvcQ2LOZljzy EdzLA2fxexceYmBVH4DAytLJJry3QBdJEozfGmsMpEN886PO8Zx8Qq+KujipsDjXMYjB 93+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=kZyXLMZuZsv+KRng8+7XsLtojgckrqCCtL4sKWfh660=; b=aV7/ZAJ0qBPIBGXLf6zCrIrHHIQ4ck7VX5kn7QCtn/y0YYbf3Uo92iTzl/pCQqAZY7 wHGeAtu7ike/Zw6VJGXALZ1FLQlZ8KfPeQAs6F+qa65OwJSz3xI5ndzfILMrNyoirVQ1 Sh9Xv2clHEqKLyX55f0J6d37AcmMHB5ZbDTLBtD+NINUCy75H90lXPDefMvTcMqhMO5c SWnLYlhKzcEbPVktKyrt4DhHNGnJR4tcPA2+2qDrwjiN44b3DHS3LVewX4Vaxqd6018G AABY7eu3rPJ/Uq1lU6rGGEZvjmQ3McSe3Zcdd88jLKSoFD5AAe4ZMdTey66OaAY9D9vy sGbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=R33SZ9ZD; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m9si834752edb.557.2020.09.01.09.48.46; Tue, 01 Sep 2020 09:49:09 -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=@kernel.org header.s=default header.b=R33SZ9ZD; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730282AbgIAQqD (ORCPT + 99 others); Tue, 1 Sep 2020 12:46:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:54290 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730008AbgIAP1X (ORCPT ); Tue, 1 Sep 2020 11:27:23 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E4C8F207D3; Tue, 1 Sep 2020 15:27:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598974042; bh=d7DHFf7zjW6Mm0rL9KHHhH3jU/jLuPmb92KRdWfAIks=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R33SZ9ZDUCVYcBeeRkJrMW1hX1TRg2XISM8jDHMT374t+0m/Rq0+j3Vf7fV2bczxh 90Hf5AsklojMYvi4pax3rfubydJrXV+mrrNF1vTqjnx6WOH8hjHYqh/VQcu8mcsOjW V38IouiMr+UAAmRXhIc4tACOAsb9mbAwWUqTPspk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Srinivas Kandagatla , Stephan Gerhold , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.4 021/214] arm64: dts: qcom: msm8916: Pull down PDM GPIOs during sleep Date: Tue, 1 Sep 2020 17:08:21 +0200 Message-Id: <20200901150953.984062242@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200901150952.963606936@linuxfoundation.org> References: <20200901150952.963606936@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stephan Gerhold [ Upstream commit e2ee9edc282961783d519c760bbaa20fed4dec38 ] The original qcom kernel changed the PDM GPIOs to be pull-down during sleep at some point. Reportedly this was done because there was some "leakage at PDM outputs during sleep": https://source.codeaurora.org/quic/la/kernel/msm-3.10/commit/?id=0f87e08c1cd3e6484a6f7fb3e74e37340bdcdee0 I cannot say how effective this is, but everything seems to work fine with this change so let's apply the same to mainline just to be sure. Cc: Srinivas Kandagatla Signed-off-by: Stephan Gerhold Link: https://lore.kernel.org/r/20200605185916.318494-3-stephan@gerhold.net Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/msm8916-pins.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi b/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi index 1235830ffd0b7..38c0d74767e3f 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi @@ -521,7 +521,7 @@ pins = "gpio63", "gpio64", "gpio65", "gpio66", "gpio67", "gpio68"; drive-strength = <2>; - bias-disable; + bias-pull-down; }; }; }; -- 2.25.1