From: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
To: robh@kernel.org, linux-serial@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org, magnus.damm@gmail.com,
laurent.pinchart@ideasonboard.com, wsa@the-dreams.de,
linux-i2c@vger.kernel.org,
Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Subject: [RFC 0/4] serdev GPIO-based multiplexing support
Date: Wed, 14 Jun 2017 16:38:46 +0200 [thread overview]
Message-ID: <1497451130-7741-1-git-send-email-ulrich.hecht+renesas@gmail.com> (raw)
Hi!
This is an attempt to add multiplexer support to serdev, specifically
GPIO-based multiplexing.
Our use case is the Renesas Blanche V2H board with several MAX9260 GMSL
deserializers attached to one serial port. A sample driver that implements
i2c passthrough over the GMSL link is part of this series. This device
wants to be talked to with even parity, so a patch implementing parity
control in serdev is included as well.
The board-specific part of this series depends on the "pinctrl: sh-pfc:
r8a7792: Add SCIF1 pin groups" patch.
Please tell me if this is a suitable way to implement this functionality
in serdev, or how to improve it. Thank you.
CU
Uli
Ulrich Hecht (4):
serdev: add method to set parity
serdev: add GPIO-based multiplexer support
max9260: add driver for i2c over GMSL passthrough
ARM: dts: blanche: add SCIF1 and MAX9260 deserializer
arch/arm/boot/dts/r8a7792-blanche.dts | 45 ++++++
drivers/media/i2c/Kconfig | 6 +
drivers/media/i2c/Makefile | 1 +
drivers/media/i2c/max9260.c | 294 ++++++++++++++++++++++++++++++++++
drivers/tty/serdev/Kconfig | 3 +
drivers/tty/serdev/Makefile | 1 +
drivers/tty/serdev/core.c | 55 ++++++-
drivers/tty/serdev/mux-gpio.c | 80 +++++++++
drivers/tty/serdev/serdev-ttyport.c | 17 ++
include/linux/serdev.h | 30 +++-
10 files changed, 528 insertions(+), 4 deletions(-)
create mode 100644 drivers/media/i2c/max9260.c
create mode 100644 drivers/tty/serdev/mux-gpio.c
--
2.7.4
next reply other threads:[~2017-06-14 14:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-14 14:38 Ulrich Hecht [this message]
2017-06-14 14:38 ` [RFC 1/4] serdev: add method to set parity Ulrich Hecht
2017-06-14 14:38 ` [RFC 2/4] serdev: add GPIO-based multiplexer support Ulrich Hecht
2017-06-15 9:34 ` Geert Uytterhoeven
2017-06-14 14:38 ` [RFC 3/4] max9260: add driver for i2c over GMSL passthrough Ulrich Hecht
2017-06-15 7:09 ` Peter Rosin
2017-06-15 15:37 ` Wolfram Sang
2017-06-14 14:38 ` [RFC 4/4] ARM: dts: blanche: add SCIF1 and MAX9260 deserializer Ulrich Hecht
2017-06-15 13:05 ` Rob Herring
2017-06-15 7:07 ` [RFC 0/4] serdev GPIO-based multiplexing support Peter Rosin
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=1497451130-7741-1-git-send-email-ulrich.hecht+renesas@gmail.com \
--to=ulrich.hecht+renesas@gmail.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=robh@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.