From: Magnus Damm <magnus.damm@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: wsa@the-dreams.de, linus.walleij@linaro.org,
linux-sh@vger.kernel.org, horms@verge.net.au,
laurent.pinchart@ideasonboard.com,
Magnus Damm <magnus.damm@gmail.com>
Subject: [PATCH 00/03] pinctrl: sh-pfc: r7s72100 SCIF2 support
Date: Wed, 27 Nov 2013 08:06:06 +0000 [thread overview]
Message-ID: <20131127080606.18384.45103.sendpatchset@w520> (raw)
pinctrl: sh-pfc: r7s72100 SCIF2 support
[PATCH 01/03] pinctrl: sh-pfc: r7s72100 SCIF2 port3 support
[PATCH 02/03] pinctrl: sh-pfc: r7s72100 SCIF2 macro conversion
[PATCH 03/03] pinctrl: sh-pfc: r7s72100 SCIF2 port4, 6 and 8 support
Add PINCTL support for one channel of on-chip UART included in the r7s72100
SoC. This UART is called SCIF2 and happens to be the console port on the
Genmai board.
These patches are written in a broken out way to show how the r7s72100
hardware allows fine grained control of the pins, and proposes code that
a) allows individual assignment of TxD and RxD signals.
b) introduces macros to allow less verbose tables
c) lists single-pin functions with one pin per line
Basically, just using "clk", "data" and "ctrl" to describe groups is not
fine grained enough for this SoC. For such fine grained on-chip devices
there will be single-pin groups, and in the case of the Genmai board the
groups to enable SCIF2 will be "scif2_txd_p3_0" and "scif2_rxd_p3_2".
If you prefer me to adjust this code somehow then please let me know.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
Written against renesas.git tag renesas-devel-v3.13-rc1-20131125 and
[PATCH] pinctrl: sh-pfc: Initial r7s72100 support
drivers/pinctrl/sh-pfc/pfc-r7s72100.c | 117 ++++++++++++++++++++++-----------
1 file changed, 80 insertions(+), 37 deletions(-)
next reply other threads:[~2013-11-27 8:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-27 8:06 Magnus Damm [this message]
2013-11-27 8:06 ` [PATCH 01/03] pinctrl: sh-pfc: r7s72100 SCIF2 port3 support Magnus Damm
2013-11-27 10:56 ` Laurent Pinchart
2013-11-29 10:29 ` Linus Walleij
2013-11-29 13:53 ` Laurent Pinchart
2013-11-27 8:06 ` [PATCH 02/03] pinctrl: sh-pfc: r7s72100 SCIF2 macro conversion Magnus Damm
2013-11-27 11:02 ` Laurent Pinchart
2013-11-27 8:06 ` [PATCH 03/03] pinctrl: sh-pfc: r7s72100 SCIF2 port4, 6 and 8 support Magnus Damm
2013-12-03 9:36 ` Linus Walleij
2013-12-03 12:18 ` Simon Horman
2013-12-04 1:09 ` Laurent Pinchart
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=20131127080606.18384.45103.sendpatchset@w520 \
--to=magnus.damm@gmail.com \
--cc=horms@verge.net.au \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=wsa@the-dreams.de \
/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).