ipq806x: increase drive-strength for pinmux
authorChristian Lamparter <chunkeey@gmail.com>
Thu, 5 Dec 2019 00:25:33 +0000 (01:25 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 19 Dec 2019 21:41:57 +0000 (22:41 +0100)
Increase drive-strength from
https://lore.kernel.org/patchwork/patch/626885/

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: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064.dtsi

index efaa6abd784bba47cfb76898c7a2a928cba417d1..17e8a623814512e5beea3d143a43faba832ea854 100644 (file)
                                mux {
                                        pins = "gpio3";
                                        function = "pcie1_rst";
-                                       drive-strength = <2>;
+                                       drive-strength = <12>;
                                        bias-disable;
                                };
                        };
                                mux {
                                        pins = "gpio48";
                                        function = "pcie2_rst";
-                                       drive-strength = <2>;
+                                       drive-strength = <12>;
                                        bias-disable;
                                };
                        };
                                mux {
                                        pins = "gpio63";
                                        function = "pcie3_rst";
-                                       drive-strength = <2>;
+                                       drive-strength = <12>;
                                        bias-disable;
                                        output-low;
                                };