Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9082036pxu; Mon, 28 Dec 2020 06:12:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJycINcr3gIduXWQsbvKZoOGSWtrTaIS0Hd9vCvEVtU92eHdEXZcu3Pd2Zj9uGHv8TC0xg2Q X-Received: by 2002:a17:907:60a:: with SMTP id wp10mr42415774ejb.205.1609164737215; Mon, 28 Dec 2020 06:12:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609164737; cv=none; d=google.com; s=arc-20160816; b=y64oV9f1zrMLC1Dot6BDF30fmLI9sRroM2kK8oYgE593mo6uSPvrCzj8ZRyzxcOjAJ rb0HyS3HfKdlxL0n+2cp3B0CjgQ6+Pr8I7dE35fVOFHdxjpGoow0ofRjLpHXic1L2Tuj pWXBdeYv6EaqUIh46cPYjVrBeY1VanB1+YkLlzlJV1wqSgYOrOiOCHp5XsLQylpTNxSw XlUz2n4Ik9YlFef9WEHSzSlKCaD3MXdrTVU/EFRD+fZ7ZxpPlDNTw5/zt93yTuBWw/vD 8bT7AwdM4F3hz36d/8kBSconXCiCJXQYFmu7JDcExTMhhmceVteyksrf7cxQ21m6EKV1 22Cw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ojHc+1MqdSROr9exFjEVUv3G7wgn3q6U3vh49ePL0c8=; b=tBbkXDTsNvx2cbucvhwQZTfuOYp4vB/miJXytt5+suzHAYTSvOY7/UuJZbdgIEufX9 vJo/NoVLpoWy6U6hSpQ2eA1Nqc6iHlsXKe+hYsDmfZgzIYkk8vp0Jnt+D4g0qKIWGfW9 rnEjuegCooNycMWFvpJ2yhgU4oHsz+8pjKkKrca1EqlT8ABcOIa/b1Zujs9g72rYni3F caw48phTqjYDWq/wW4eMdeThjKFuzZchNsCI1YQwOe11UwhQSdbphws2u4MAgTSyGiyW GrUGqf90z3WQ0ZsNCW4W+ZN1BB3u9vGCEuH19qtG0bEiL7k7idswRmOowExec5qSFFBq anzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mOa9HQV8; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk28si19192505edb.336.2020.12.28.06.11.54; Mon, 28 Dec 2020 06:12:17 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=mOa9HQV8; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438891AbgL1OJx (ORCPT + 99 others); Mon, 28 Dec 2020 09:09:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:44232 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2438871AbgL1OJr (ORCPT ); Mon, 28 Dec 2020 09:09:47 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9B51A20731; Mon, 28 Dec 2020 14:09:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609164547; bh=N69y/d/H65ecCoLoSNVk6ywXFKlWycJhbkQtS2xRbI8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mOa9HQV8iwjqTwaQo2+xDY2GGrKz5LyOcRHCrTMDQzb6h4ZVRywErFKL3ur8W6nfI AB9RnXQEPZUxKBlvFGs6Px2JilYLfnl29je6ccJsABY5noZYGuvUPkIXYPY81I035q sx9KSNF9lpSaMzXF+bOYx7ulk3BoyCyv9IZRDQeE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stephan Gerhold , Nikita Travkin , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.10 183/717] arm64: dts: qcom: msm8916-samsung-a2015: Disable muic i2c pin bias Date: Mon, 28 Dec 2020 13:43:01 +0100 Message-Id: <20201228125029.735014381@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nikita Travkin [ Upstream commit 4e8692c2ee3d4ac6b669f7e306364d77a574c810 ] Some versions of the firmware leave i2c gpios in a wrong state. Add pinctrl that disables pin bias since external pull-up resistors are present. Reviewed-by: Stephan Gerhold Fixes: 1329c1ab0730 ("arm64: dts: qcom: Add device tree for Samsung Galaxy A3U/A5U") Signed-off-by: Nikita Travkin Link: https://lore.kernel.org/r/20201113175917.189123-6-nikitos.tr@gmail.com Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- .../boot/dts/qcom/msm8916-samsung-a2015-common.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi b/arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi index b18d21e42f596..f7ac4c4033db6 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi @@ -78,6 +78,9 @@ sda-gpios = <&msmgpio 105 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; scl-gpios = <&msmgpio 106 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; + pinctrl-names = "default"; + pinctrl-0 = <&muic_i2c_default>; + #address-cells = <1>; #size-cells = <0>; @@ -314,6 +317,14 @@ }; }; + muic_i2c_default: muic-i2c-default { + pins = "gpio105", "gpio106"; + function = "gpio"; + + drive-strength = <2>; + bias-disable; + }; + muic_int_default: muic-int-default { pins = "gpio12"; function = "gpio"; -- 2.27.0