From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: Andy Gross <andy.gross@linaro.org>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Subject: [PATCH v2 2/9] arm64: dts: qcom: add correct drive strenght on cs pins
Date: Thu, 28 Jan 2016 17:43:30 +0000 [thread overview]
Message-ID: <1454003010-3204-1-git-send-email-srinivas.kandagatla@linaro.org> (raw)
In-Reply-To: <1454002960-3106-1-git-send-email-srinivas.kandagatla@linaro.org>
2mA drive strenght is not enough to drive chipselect low on hardware
configurations with level shifters, 16mA should give good range to
allow such configurations to work.
This issue was noticed while testing spi on db410c with sensor board.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
arch/arm64/boot/dts/qcom/msm8916-pins.dtsi | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi b/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi
index 3bd917e..8d05005 100644
--- a/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi
@@ -81,8 +81,8 @@
bias-disable;
};
pinconf_cs {
- pins = "gpio2";
- drive-strength = <2>;
+ pins = "gpio16";
+ drive-strength = <16>;
bias-disable;
output-high;
};
@@ -116,7 +116,7 @@
};
pinconf_cs {
pins = "gpio6";
- drive-strength = <2>;
+ drive-strength = <16>;
bias-disable;
output-high;
};
@@ -150,7 +150,7 @@
};
pinconf_cs {
pins = "gpio10";
- drive-strength = <2>;
+ drive-strength = <16>;
bias-disable;
output-high;
};
@@ -184,7 +184,7 @@
};
pinconf_cs {
pins = "gpio14";
- drive-strength = <2>;
+ drive-strength = <16>;
bias-disable;
output-high;
};
@@ -218,7 +218,7 @@
};
pinconf_cs {
pins = "gpio18";
- drive-strength = <2>;
+ drive-strength = <16>;
bias-disable;
output-high;
};
@@ -252,7 +252,7 @@
};
pinconf_cs {
pins = "gpio22";
- drive-strength = <2>;
+ drive-strength = <16>;
bias-disable;
output-high;
};
--
1.9.1
next prev parent reply other threads:[~2016-01-28 17:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-28 17:42 [PATCH v2 0/9] arm64: apq8016: dt patches Srinivas Kandagatla
2016-01-28 17:43 ` Srinivas Kandagatla [this message]
2016-01-28 17:43 ` [PATCH v2 3/9] arm64: dts: apq8016-sbc: Add aliases to spi device Srinivas Kandagatla
2016-01-28 17:43 ` [PATCH v2 4/9] arm64: dts: remove s2 regulator from smd regulators Srinivas Kandagatla
[not found] ` <1454002960-3106-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-01-28 17:43 ` [PATCH v2 1/9] arm64: dts: qcom: remove redundant spi cs pins from pinconf Srinivas Kandagatla
2016-01-28 17:43 ` [PATCH v2 5/9] arm64: dts: qcom: add lable for smd rpm regulators Srinivas Kandagatla
2016-01-28 17:44 ` [PATCH v2 6/9] arm64: dts: apq8016-sbc: add regulators support Srinivas Kandagatla
2016-01-28 17:44 ` [PATCH v2 7/9] arm64: dts: apq8016-sbc: make 1.8v available on LS expansion Srinivas Kandagatla
2016-01-28 17:44 ` [PATCH v2 8/9] arm64: dts: apq8016-sbc: move sdhci node under soc node Srinivas Kandagatla
2016-01-28 17:44 ` [PATCH v2 9/9] arm64: dts: apq8016-sbc: Add real regulators and pinctrl for sdhc Srinivas Kandagatla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1454003010-3204-1-git-send-email-srinivas.kandagatla@linaro.org \
--to=srinivas.kandagatla@linaro.org \
--cc=andy.gross@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).