devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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 6/9] ARM: STi: DT: Add STiH407 family tsin5 pinctrl configuration
Date: Wed, 10 Jun 2015 15:04:03 +0100	[thread overview]
Message-ID: <1433945046-19855-7-git-send-email-peter.griffin@linaro.org> (raw)
In-Reply-To: <1433945046-19855-1-git-send-email-peter.griffin@linaro.org>

tsin5 can only be configured for serial data transfer. However
depending on board design, two alternate tsin5 pin configurations
are available, both in pin-controller-front0.

pinctrl_tsin5_serial_alt1 is brought out on B2120 reference
design as TSD on NIMB slot of the B2004A daughter board.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
 arch/arm/boot/dts/stih407-pinctrl.dtsi | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index 702f42d..87d0722 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -546,6 +546,27 @@
 					};
 				};
 			};
+
+			tsin5 {
+				pinctrl_tsin5_serial_alt1: tsin5_serial_alt1 {
+					st,pins {
+						DATA7 = <&pio18 4 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+						CLKIN = <&pio18 3 ALT1 IN CLKNOTDATA 0 CLK_A>;
+						VALID = <&pio18 1 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+						ERROR = <&pio18 0 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+						PKCLK = <&pio18 2 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+					};
+				};
+				pinctrl_tsin5_serial_alt2: tsin5_serial_alt2 {
+					st,pins {
+						DATA7 = <&pio19 4 ALT2 IN SE_NICLK_IO 0 CLK_A>;
+						CLKIN = <&pio19 3 ALT2 IN CLKNOTDATA 0 CLK_A>;
+						VALID = <&pio19 1 ALT2 IN SE_NICLK_IO 0 CLK_A>;
+						ERROR = <&pio19 0 ALT2 IN SE_NICLK_IO 0 CLK_A>;
+						PKCLK = <&pio19 2 ALT2 IN SE_NICLK_IO 0 CLK_A>;
+					};
+				};
+			};
 		};
 
 		pin-controller-front1 {
-- 
1.9.1

  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 ` [PATCH 5/9] ARM: STi: DT: Add STiH407 family tsin4 " Peter Griffin
2015-06-10 14:04 ` Peter Griffin [this message]
     [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-7-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).