From: Jan Glauber <jglauber@cavium.com>
To: Mark Brown <broonie@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org,
David Daney <david.daney@cavium.com>,
"Steven J . Hill" <steven.hill@cavium.com>,
Jan Glauber <jglauber@cavium.com>
Subject: [PATCH v2 0/2] SPI ThunderX driver
Date: Thu, 28 Jul 2016 10:31:42 +0200 [thread overview]
Message-ID: <20160728083144.16625-1-jglauber@cavium.com> (raw)
This series adds support for SPI on Cavium's ThunderX (arm64). The SPI
hardware is the same as on MIPS Octeon, the only difference is that the
device appears as a PCI device. To avoid copy and paste of the Octeon
driver I've moved the common parts into a shared file.
The series was tested on MIPS (Edge Router PRO and cn71xx) and ThunderX.
Changes to v1:
- Changed Kconfig depencency for ThunderX
- Merged clock setup functions with main probe/remove
- Fail if SPI DT entry misses clock reference
- Removed debug prints at end of probe
- Removed unneeded includes from spi-cavium.c
- Dropped merged patches
thanks,
Jan
--------------
Jan Glauber (2):
spi: octeon: Split driver into Octeon specific and common parts
spi: octeon: Add thunderx driver
drivers/spi/Kconfig | 7 ++
drivers/spi/Makefile | 3 +
drivers/spi/spi-cavium-octeon.c | 102 +++++++++++++++++++++
drivers/spi/spi-cavium-thunderx.c | 140 +++++++++++++++++++++++++++++
drivers/spi/{spi-octeon.c => spi-cavium.c} | 122 +------------------------
drivers/spi/spi-cavium.h | 34 +++++++
6 files changed, 288 insertions(+), 120 deletions(-)
create mode 100644 drivers/spi/spi-cavium-octeon.c
create mode 100644 drivers/spi/spi-cavium-thunderx.c
rename drivers/spi/{spi-octeon.c => spi-cavium.c} (54%)
--
2.9.0.rc0.21.g7777322
next reply other threads:[~2016-07-28 8:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-28 8:31 Jan Glauber [this message]
2016-07-28 8:31 ` [PATCH v2 1/2] spi: octeon: Split driver into Octeon specific and common parts Jan Glauber
2016-08-01 17:36 ` Mark Brown
2016-07-28 8:31 ` [PATCH v2 2/2] spi: octeon: Add thunderx driver Jan Glauber
2016-08-01 17:28 ` Mark Brown
2016-08-01 18:31 ` David Daney
2016-08-01 18:49 ` Mark Brown
2016-08-01 19:02 ` David Daney
2016-08-02 21:30 ` Mark Brown
2016-08-02 21:49 ` David Daney
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=20160728083144.16625-1-jglauber@cavium.com \
--to=jglauber@cavium.com \
--cc=broonie@kernel.org \
--cc=david.daney@cavium.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=steven.hill@cavium.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®