From: Peter Griffin <peter.griffin@linaro.org>
To: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, srinivas.kandagatla@gmail.com,
maxime.coquelin@st.com, patrice.chotard@st.com
Cc: peter.griffin@linaro.org, lee.jones@linaro.org,
devicetree@vger.kernel.org, hugues.fruchet@st.com
Subject: [PATCH 5/9] ARM: STi: DT: Add STiH407 family tsin4 pinctrl configuration
Date: Wed, 10 Jun 2015 15:04:02 +0100 [thread overview]
Message-ID: <1433945046-19855-6-git-send-email-peter.griffin@linaro.org> (raw)
In-Reply-To: <1433945046-19855-1-git-send-email-peter.griffin@linaro.org>
tsin4 can only be configured for serial data transfer. However
depending on board design, two alternate pin configurations
are available. One in pin-controller-front0 and the other in
pin-controller-front1.
pinctrl_tsin4_serial_alt3 is brought out on B2120 reference
design as TSC on NIMA slot of the B2004A daughter board.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index 13b469c..702f42d 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -534,6 +534,18 @@
};
};
};
+
+ tsin4 {
+ pinctrl_tsin4_serial_alt3: tsin4_serial_alt3 {
+ st,pins {
+ DATA7 = <&pio14 6 ALT3 IN SE_NICLK_IO 0 CLK_A>;
+ CLKIN = <&pio14 5 ALT3 IN CLKNOTDATA 0 CLK_A>;
+ VALID = <&pio14 3 ALT3 IN SE_NICLK_IO 0 CLK_B>;
+ ERROR = <&pio14 2 ALT3 IN SE_NICLK_IO 0 CLK_B>;
+ PKCLK = <&pio14 4 ALT3 IN SE_NICLK_IO 0 CLK_A>;
+ };
+ };
+ };
};
pin-controller-front1 {
@@ -547,6 +559,18 @@
interrupts-names = "irqmux";
ranges = <0 0x09210000 0x10000>;
+ tsin4 {
+ pinctrl_tsin4_serial_alt1: tsin4_serial_alt1 {
+ st,pins {
+ DATA7 = <&pio20 4 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ CLKIN = <&pio20 3 ALT1 IN CLKNOTDATA 0 CLK_A>;
+ VALID = <&pio20 1 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ ERROR = <&pio20 0 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ PKCLK = <&pio20 2 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ };
+ };
+ };
+
pio20: pio@09210000 {
gpio-controller;
#gpio-cells = <1>;
--
1.9.1
next prev parent reply other threads:[~2015-06-10 14:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-10 14:03 [PATCH 0/9] Add STiH407 fanmily pinctrl DT for tsin, tsout and mtsin channels Peter Griffin
2015-06-10 14:03 ` [PATCH 2/9] ARM: STi: DT: Add STiH407 family tsin1 pinctrl configuration Peter Griffin
2015-06-10 14:04 ` [PATCH 3/9] ARM: STi: DT: Add STiH407 family tsin2 " Peter Griffin
2015-06-10 14:04 ` [PATCH 4/9] ARM: STi: DT: Add STiH407 family tsin3 " Peter Griffin
2015-06-10 14:04 ` Peter Griffin [this message]
2015-06-10 14:04 ` [PATCH 6/9] ARM: STi: DT: Add STiH407 family tsin5 " Peter Griffin
[not found] ` <1433945046-19855-1-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-06-10 14:03 ` [PATCH 1/9] ARM: STi: DT: Add STiH407 family tsin0 " Peter Griffin
2015-06-10 14:04 ` [PATCH 7/9] ARM: STi: DT: Add STiH407 family tsout0 " Peter Griffin
2015-06-10 14:04 ` [PATCH 8/9] ARM: STi: DT: Add STiH407 family tsout1 " Peter Griffin
2015-07-22 9:03 ` [PATCH 0/9] Add STiH407 fanmily pinctrl DT for tsin, tsout and mtsin channels Maxime Coquelin
2015-06-10 14:04 ` [PATCH 9/9] ARM: STi: DT: Add STiH407 family mtsin0 pinctrl configuration Peter Griffin
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=1433945046-19855-6-git-send-email-peter.griffin@linaro.org \
--to=peter.griffin@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=hugues.fruchet@st.com \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maxime.coquelin@st.com \
--cc=patrice.chotard@st.com \
--cc=srinivas.kandagatla@gmail.com \
/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).