From: Christian Lamparter Date: Thu, 5 Dec 2019 00:25:33 +0000 (+0100) Subject: ipq806x: increase drive-strength for pinmux X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5ce72009ac11ebe6f83a7a4465c7371008605bda;p=openwrt%2Fstaging%2Fynezz.git ipq806x: increase drive-strength for pinmux 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 Signed-off-by: Ansuel Smith --- diff --git a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064.dtsi b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064.dtsi index efaa6abd78..17e8a62381 100644 --- a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064.dtsi +++ b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064.dtsi @@ -633,7 +633,7 @@ mux { pins = "gpio3"; function = "pcie1_rst"; - drive-strength = <2>; + drive-strength = <12>; bias-disable; }; }; @@ -642,7 +642,7 @@ mux { pins = "gpio48"; function = "pcie2_rst"; - drive-strength = <2>; + drive-strength = <12>; bias-disable; }; }; @@ -651,7 +651,7 @@ mux { pins = "gpio63"; function = "pcie3_rst"; - drive-strength = <2>; + drive-strength = <12>; bias-disable; output-low; };