From 5ce72009ac11ebe6f83a7a4465c7371008605bda Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Thu, 5 Dec 2019 01:25:33 +0100 Subject: [PATCH] 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 --- .../ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; };