All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] SPI ThunderX driver
@ 2016-07-28  8:31 ` Jan Glauber
  0 siblings, 0 replies; 17+ messages in thread
From: Jan Glauber @ 2016-07-28  8:31 UTC (permalink / raw)
  To: Mark Brown
  Cc: linux-kernel, linux-spi, David Daney, Steven J . Hill, Jan Glauber

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2016-08-02 22:07 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-28  8:31 [PATCH v2 0/2] SPI ThunderX driver Jan Glauber
2016-07-28  8:31 ` Jan Glauber
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-08-01 17:36     ` Mark Brown
2016-07-28  8:31 ` [PATCH v2 2/2] spi: octeon: Add thunderx driver Jan Glauber
2016-07-28  8:31   ` Jan Glauber
2016-08-01 17:28   ` Mark Brown
2016-08-01 17:28     ` Mark Brown
2016-08-01 18:31     ` David Daney
2016-08-01 18:49       ` Mark Brown
2016-08-01 18:49         ` Mark Brown
2016-08-01 19:02         ` David Daney
2016-08-01 19:02           ` David Daney
2016-08-02 21:30           ` Mark Brown
2016-08-02 21:30             ` Mark Brown
2016-08-02 21:49             ` David Daney

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.