From patchwork Fri Dec 11 18:13:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 58304 Delivered-To: patch@linaro.org Received: by 10.112.73.68 with SMTP id j4csp42329lbv; Fri, 11 Dec 2015 10:13:44 -0800 (PST) X-Received: by 10.67.14.201 with SMTP id fi9mr27032485pad.41.1449857624771; Fri, 11 Dec 2015 10:13:44 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 66si2531991pfo.92.2015.12.11.10.13.44; Fri, 11 Dec 2015 10:13:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752102AbbLKSNn (ORCPT + 6 others); Fri, 11 Dec 2015 13:13:43 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:36499 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752133AbbLKSNm (ORCPT ); Fri, 11 Dec 2015 13:13:42 -0500 Received: by mail-wm0-f47.google.com with SMTP id n186so41488195wmn.1 for ; Fri, 11 Dec 2015 10:13:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZGu0hNvT5KMKIGHZ60Xbq2rkTt/ovfW7xdodVp+klpw=; b=Tfg2J5uZLTf9CtYjjpQ5Ic3E4p4BhrTkHAnmMaiaJjQD7iIlzTbrNBsDDY0jk2+86K BIwLNGQakro3jjZ1WkPRw4jtSR/eFZj1MXSMnmp8f/5oP30D0lqwO0fl7PbCTIApfP8X XoK6vKxeLHvAWxd7oCwEmJX2ofpv9ffT287P4l/wSH1ol7YWcPic3tBVuY1pByalTNm0 S/RWL1G1RVYGki/3ClgMv3oiFgtoXfA4k9jjicYXCT2nM5yiR2NLVhgD2ZHypO0QrMe5 +rvb7LTJU27p64M8aX9+KvNJSMDLosMqku7KiTYsGIUsxusew6pJFUYg5+uyammEKkp4 6Lyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZGu0hNvT5KMKIGHZ60Xbq2rkTt/ovfW7xdodVp+klpw=; b=UQtOelBJWk4fEzId54WAFfKmany7uBbC8aEXGMl+qyEz/mM+kO48Q3/bh4/ayoIAeP dj/3mOlFbNJ0/PEP/esbznCRHcDIDUd1ynda/9x/ZYdAWngnNOWW5kEEZnR+HrUi9Jy1 FRHGvJtGCBXWsHS0r804E6cP2obX0zcz46wXnl2lzCRmRQHPFo0SrulvTr8so7rI05sD 8lU0P21lqtURtqJCo5jbtVR1Qj9vDDcba+AcJGFD+1BrnA3q/bea/3Oos+gyqPleg+pU tQ0RBDWeXaPWixSi8oDaNCir9Sv7DO7DAjoOwbpLcv7WNw8jEX+br5kSYksPPkeNQphR mntA== X-Gm-Message-State: ALoCoQlX7CxGz4vJfakoh9JYUcMg9lN1dALQErAKb022dlBAWlDHuIoviVELYYBf23G+gDWNFk7XfA1IZ1Bi6+EEh+QRlwDgZQ== X-Received: by 10.194.178.202 with SMTP id da10mr20901608wjc.158.1449857621805; Fri, 11 Dec 2015 10:13:41 -0800 (PST) Received: from localhost.localdomain (host-92-13-246-184.as43234.net. [92.13.246.184]) by smtp.gmail.com with ESMTPSA id ej10sm17949074wjd.32.2015.12.11.10.13.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 Dec 2015 10:13:41 -0800 (PST) From: Srinivas Kandagatla To: andy.gross@linaro.org, linux-arm-msm@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 2/2] arm64: dts: set the default i2c pin drive strength to 16mA Date: Fri, 11 Dec 2015 18:13:12 +0000 Message-Id: <1449857592-11530-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1449857504-11365-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1449857504-11365-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 2mA drive strength is not enough when we connect multiple i2c devices on the bus with different pull up resistors. This issue was detected when multiple i2c devices connected on the other side of level shifters on Linaro sensor board. Maxing up to 16mA made i2c much stable. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8916-pins.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi b/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi index 49ec55a..1991af7 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi @@ -272,7 +272,7 @@ }; pinconf { pins = "gpio6", "gpio7"; - drive-strength = <2>; + drive-strength = <16>; bias-disable = <0>; }; }; @@ -296,7 +296,7 @@ }; pinconf { pins = "gpio14", "gpio15"; - drive-strength = <2>; + drive-strength = <16>; bias-disable = <0>; }; }; @@ -320,7 +320,7 @@ }; pinconf { pins = "gpio22", "gpio23"; - drive-strength = <2>; + drive-strength = <16>; bias-disable = <0>; }; };