From: Srinivas Kandagatla Date: Fri, 11 Dec 2015 18:13:12 +0000 (+0000) Subject: arm64: dts: set the default i2c pin drive strength to 16mA X-Git-Tag: v4.5-rc1~42^2~6^2~3 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=c240f29e75e6;p=uclinux-h8%2Flinux.git arm64: dts: set the default i2c pin drive strength to 16mA 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 Signed-off-by: Andy Gross --- diff --git a/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi b/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi index d656e892fd52..955c6f174d4c 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi @@ -277,7 +277,7 @@ }; pinconf { pins = "gpio6", "gpio7"; - drive-strength = <2>; + drive-strength = <16>; bias-disable = <0>; }; }; @@ -301,7 +301,7 @@ }; pinconf { pins = "gpio14", "gpio15"; - drive-strength = <2>; + drive-strength = <16>; bias-disable = <0>; }; }; @@ -325,7 +325,7 @@ }; pinconf { pins = "gpio22", "gpio23"; - drive-strength = <2>; + drive-strength = <16>; bias-disable = <0>; }; };