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 1/9] ARM: STi: DT: Add STiH407 family tsin0 pinctrl configuration
Date: Wed, 10 Jun 2015 15:03:58 +0100 [thread overview]
Message-ID: <1433945046-19855-2-git-send-email-peter.griffin@linaro.org> (raw)
In-Reply-To: <1433945046-19855-1-git-send-email-peter.griffin@linaro.org>
tsin0 and be configured as either serial or parallel. This patch
adds the pinctrl config for both possiblities. On B2120 reference
design tsin0 is brought out as TSA on the NIMA slot of the B2004A
daughter board.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index 402844c..c8c8e84 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -438,6 +438,34 @@
};
};
};
+
+ tsin0 {
+ pinctrl_tsin0_parallel: tsin0_parallel {
+ st,pins {
+ DATA7 = <&pio10 4 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ DATA6 = <&pio10 5 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ DATA5 = <&pio10 6 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ DATA4 = <&pio10 7 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ DATA3 = <&pio11 0 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ DATA2 = <&pio11 1 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ DATA1 = <&pio11 2 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ DATA0 = <&pio11 3 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ CLKIN = <&pio10 3 ALT1 IN CLKNOTDATA 0 CLK_A>;
+ VALID = <&pio10 1 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ ERROR = <&pio10 0 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ PKCLK = <&pio10 2 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ };
+ };
+ pinctrl_tsin0_serial: tsin0_serial {
+ st,pins {
+ DATA7 = <&pio10 4 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ CLKIN = <&pio10 3 ALT1 IN CLKNOTDATA 0 CLK_A>;
+ VALID = <&pio10 1 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ ERROR = <&pio10 0 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ PKCLK = <&pio10 2 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ };
+ };
+ };
};
pin-controller-front1 {
--
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 ` Peter Griffin [this message]
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 ` [PATCH 6/9] ARM: STi: DT: Add STiH407 family tsin5 " 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-06-10 14:04 ` [PATCH 9/9] ARM: STi: DT: Add STiH407 family mtsin0 " Peter Griffin
2015-07-22 9:03 ` [PATCH 0/9] Add STiH407 fanmily pinctrl DT for tsin, tsout and mtsin channels Maxime Coquelin
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-2-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
all inboxes | Powered by JetHome®