OSDN Git Service

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)
committerAndy Gross <andy.gross@linaro.org>
Thu, 17 Dec 2015 05:01:43 +0000 (23:01 -0600)
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 d656e89..955c6f1 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>;
                };
        };