From: Mark Rutland <mark.rutland@arm.com>
To: Michael Grzeschik <m.grzeschik@pengutronix.de>
Cc: "broonie@kernel.org" <broonie@kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"kernel@pengutronix.de" <kernel@pengutronix.de>,
"linux-spi@vger.kernel.org" <linux-spi@vger.kernel.org>
Subject: Re: [PATCH 3/3] spi: psdev: add passive serial driver
Date: Thu, 13 Mar 2014 17:14:50 +0000 [thread overview]
Message-ID: <20140313171450.GA25870@e106331-lin.cambridge.arm.com> (raw)
In-Reply-To: <1394639617-26917-4-git-send-email-m.grzeschik@pengutronix.de>
On Wed, Mar 12, 2014 at 03:53:37PM +0000, Michael Grzeschik wrote:
> This patch introduces the psdev driver. It is used to communicate to an
> Altera passive serial connected FPGA by writing into an character
> device.
>
> It simply initates the protocol on open and clocks the data into the
> FPGA by using the underlying SPI bus on write. The used SPI bus can also
> be an bitbang SPI bus. On close it will check for the response of the
> FPGA and tells if the write process was successful.
>
> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
> ---
> drivers/spi/Kconfig | 9 +
> drivers/spi/Makefile | 1 +
> drivers/spi/spipsdev.c | 520 +++++++++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 530 insertions(+)
> create mode 100644 drivers/spi/spipsdev.c
[...]
> +static const struct of_device_id psdev_dt_ids[] = {
> + { .compatible = "altr,passive-serial" },
> + {},
> +};
There should be a binding document for this as part of the series.
Thanks,
Mark.
next prev parent reply other threads:[~2014-03-13 17:14 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-12 15:53 [PATCH 0/3] spi: bitbang fixes and passive serial driver Michael Grzeschik
2014-03-12 15:53 ` [PATCH 1/3] spi: bitbang: fix shift for getmosi Michael Grzeschik
2014-03-12 16:24 ` Mark Brown
[not found] ` <20140312162418.GU28112-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-03-12 21:45 ` Gerhard Sittig
[not found] ` <1394639617-26917-1-git-send-email-m.grzeschik-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-03-12 15:53 ` [PATCH 2/3] spi: bitbang: add lsb first support Michael Grzeschik
2014-03-12 15:53 ` [PATCH 3/3] spi: psdev: add passive serial driver Michael Grzeschik
[not found] ` <1394639617-26917-4-git-send-email-m.grzeschik-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-03-12 16:34 ` Mark Brown
[not found] ` <20140312163427.GV28112-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-03-14 10:19 ` Michael Grzeschik
[not found] ` <20140314101907.GF4234-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-03-14 10:22 ` Mark Brown
[not found] ` <20140314102223.GR366-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-03-14 13:59 ` Linus Walleij
[not found] ` <CACRpkdZoO_hXw-p5ZHeUzMHULq_DEJNzpim0mcO5DBOgP=d60A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-03-14 18:11 ` Michael Grzeschik
2014-03-12 17:54 ` Alexander Shiyan
2014-03-14 8:06 ` Lothar Waßmann
2014-03-13 17:14 ` Mark Rutland [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-03-12 15:20 [PATCH 0/3] spi: bitbang fixes and " Michael Grzeschik
[not found] ` <1394637636-29042-1-git-send-email-m.grzeschik-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-03-12 15:20 ` [PATCH 3/3] spi: psdev: add " Michael Grzeschik
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=20140313171450.GA25870@e106331-lin.cambridge.arm.com \
--to=mark.rutland@arm.com \
--cc=broonie@kernel.org \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-spi@vger.kernel.org \
--cc=m.grzeschik@pengutronix.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).