]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arm64: dts: set the default i2c pin drive strength to 16mA
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fri, 11 Dec 2015 18:13:12 +0000 (18:13 +0000)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 11 Jan 2016 09:54:17 +0000 (09:54 +0000)
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 <srinivas.kandagatla@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/msm8916-pins.dtsi

index d656e892fd52d1aaf4d545a6cf927af3235f9e75..955c6f174d4cb16218625a6e590102a6e4a2bbf0 100644 (file)
                };
                pinconf {
                        pins = "gpio6", "gpio7";
-                       drive-strength = <2>;
+                       drive-strength = <16>;
                        bias-disable = <0>;
                };
        };
                };
                pinconf {
                        pins = "gpio14", "gpio15";
-                       drive-strength = <2>;
+                       drive-strength = <16>;
                        bias-disable = <0>;
                };
        };
                };
                pinconf {
                        pins = "gpio22", "gpio23";
-                       drive-strength = <2>;
+                       drive-strength = <16>;
                        bias-disable = <0>;
                };
        };