Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1289799 > unrolled thread

[PATCH 0/2] arm64: dts: qcom: few i2c fixes

Started bySrinivas Kandagatla <srinivas.kandagatla@linaro.org>
First post2015-12-11 19:20 +0100
Last post2015-12-11 19:20 +0100
Articles 3 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] arm64: dts: qcom: few i2c fixes Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-12-11 19:20 +0100
    [PATCH 1/2] arm64: dts: fix the i2c aliasing to match to schematics. Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-12-11 19:20 +0100
    [PATCH 2/2] arm64: dts: set the default i2c pin drive strength to 16mA Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-12-11 19:20 +0100

#1289799 — [PATCH 0/2] arm64: dts: qcom: few i2c fixes

FromSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Date2015-12-11 19:20 +0100
Subject[PATCH 0/2] arm64: dts: qcom: few i2c fixes
Message-ID<qEAsq-81R-13@gated-at.bofh.it>
Hi Andy, 

Here are two i2c dt fixes which I have been using for long time on Landing team tree.

Can you please consider fixes for v4.5.

Thanks,
srini

Srinivas Kandagatla (2):
  arm64: dts: fix the i2c aliasing to match to schematics.
  arm64: dts: set the default i2c pin drive strength to 16mA

 arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi  | 3 +++
 arch/arm64/boot/dts/qcom/msm8916-pins.dtsi | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1289803 — [PATCH 1/2] arm64: dts: fix the i2c aliasing to match to schematics.

FromSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Date2015-12-11 19:20 +0100
Subject[PATCH 1/2] arm64: dts: fix the i2c aliasing to match to schematics.
Message-ID<qEAsq-81R-21@gated-at.bofh.it>
In reply to#1289799
This patch fixes the i2c bus number aliasing so that it matches with the
schematics bus naming.

Without this patch the user might would get bus numbers depending on
the order the devices are probed.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
index 6b8abbe..6f19956 100644
--- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
@@ -20,6 +20,9 @@
 	aliases {
 		serial0 = &blsp1_uart2;
 		serial1 = &blsp1_uart1;
+		i2c0	= &blsp_i2c2;
+		i2c1	= &blsp_i2c6;
+		i2c3	= &blsp_i2c4;
 	};
 
 	chosen {
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1289804 — [PATCH 2/2] arm64: dts: set the default i2c pin drive strength to 16mA

FromSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Date2015-12-11 19:20 +0100
Subject[PATCH 2/2] arm64: dts: set the default i2c pin drive strength to 16mA
Message-ID<qEAsq-81R-23@gated-at.bofh.it>
In reply to#1289799
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>
---
 arch/arm64/boot/dts/qcom/msm8916-pins.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi b/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi
index 49ec55a..1991af7 100644
--- a/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi
@@ -272,7 +272,7 @@
 		};
 		pinconf {
 			pins = "gpio6", "gpio7";
-			drive-strength = <2>;
+			drive-strength = <16>;
 			bias-disable = <0>;
 		};
 	};
@@ -296,7 +296,7 @@
 		};
 		pinconf {
 			pins = "gpio14", "gpio15";
-			drive-strength = <2>;
+			drive-strength = <16>;
 			bias-disable = <0>;
 		};
 	};
@@ -320,7 +320,7 @@
 		};
 		pinconf {
 			pins = "gpio22", "gpio23";
-			drive-strength = <2>;
+			drive-strength = <16>;
 			bias-disable = <0>;
 		};
 	};
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web