From: Andy Shevchenko <andriy.shevchenko-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
To: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Andy Shevchenko
<andriy.shevchenko-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
Subject: [PATCH v4 0/3] spi: dw: refactor to use SPI core message handling
Date: Mon, 2 Mar 2015 14:58:54 +0200 [thread overview]
Message-ID: <1425301137-8043-1-git-send-email-andriy.shevchenko@linux.intel.com> (raw)
This patch series is dedicated to refactoring of spi-dw driver to use SPI core
message handling. The driver has been tested in PIO mode on Intel Medfield
device in loopback mode.
Note, the patch 3/3 depends on [1].
[1] http://www.spinics.net/lists/linux-spi/msg02982.html
Changelog v4:
- rename spi_disable_intr() -> spi_reset_chip() which is more proper (patch 1/3)
- simplify patch 2/3
Changelog v3:
- introduce patch 1/3 and 2/3 to make state of the SPI controller consistent
- return 1 instead of transfer length from transfer_one()
- use newly introduced handle_err()
Changelog v2:
- remove leftovers from spi-dw.h
- remove unused members of dw_spi, i.e. cur_dev, max_bits_per_word
- reuse chip->cs_control directly
Andy Shevchenko (3):
spi: dw: make sure SPI controller is enabled
spi: dw: program registers as soon as possible
spi: dw: move to SPI core message handling
drivers/spi/spi-dw-mid.c | 4 +-
drivers/spi/spi-dw.c | 226 +++++++++++++----------------------------------
drivers/spi/spi-dw.h | 38 +++-----
3 files changed, 77 insertions(+), 191 deletions(-)
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2015-03-02 12:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-02 12:58 Andy Shevchenko [this message]
[not found] ` <1425301137-8043-1-git-send-email-andriy.shevchenko-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-03-02 12:58 ` [PATCH v4 1/3] spi: dw: make sure SPI controller is enabled Andy Shevchenko
[not found] ` <1425301137-8043-2-git-send-email-andriy.shevchenko-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-03-06 20:33 ` Mark Brown
2015-03-02 12:58 ` [PATCH v4 2/3] spi: dw: program registers as soon as possible Andy Shevchenko
[not found] ` <1425301137-8043-3-git-send-email-andriy.shevchenko-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-03-06 20:33 ` Mark Brown
2015-03-02 12:58 ` [PATCH v4 3/3] spi: dw: move to SPI core message handling Andy Shevchenko
[not found] ` <1425301137-8043-4-git-send-email-andriy.shevchenko-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-03-06 20:34 ` Mark Brown
2015-03-06 20:28 ` [PATCH v4 0/3] spi: dw: refactor to use " Mark Brown
[not found] ` <20150306202822.GE21293-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-03-09 11:41 ` Andy Shevchenko
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=1425301137-8043-1-git-send-email-andriy.shevchenko@linux.intel.com \
--to=andriy.shevchenko-vuqaysv1563yd54fqh9/ca@public.gmane.org \
--cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/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).