lkml.org 
[lkml]   [2016]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/6] SPI ThunderX driver
Date
Hi Mark,

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.

Patches #1-5 prepare the Octeon driver for re-use.

Patch #6 adds the ThunderX driver.

The series was tested on MIPS (Edge Router PRO and cn71xx) and ThunderX.

Feedback welcome!

thanks,
Jan

Jan Glauber (5):
spi: octeon: Store system clock freqency in struct octeon_spi
spi: octeon: Put register offsets into a struct
spi: octeon: Move include file from arch/mips to drivers/spi
spi: octeon: Split driver into Octeon specific and common parts
spi: octeon: Add thunderx driver

Steven J. Hill (1):
spi: octeon: Convert driver to use readq()/writeq() functions

drivers/spi/Kconfig | 7 +
drivers/spi/Makefile | 3 +
drivers/spi/spi-cavium-octeon.c | 104 +++++++++
drivers/spi/spi-cavium-thunderx.c | 158 +++++++++++++
drivers/spi/spi-cavium.c | 151 ++++++++++++
.../cvmx-mpi-defs.h => drivers/spi/spi-cavium.h | 62 ++---
drivers/spi/spi-octeon.c | 255 ---------------------
7 files changed, 456 insertions(+), 284 deletions(-)
create mode 100644 drivers/spi/spi-cavium-octeon.c
create mode 100644 drivers/spi/spi-cavium-thunderx.c
create mode 100644 drivers/spi/spi-cavium.c
rename arch/mips/include/asm/octeon/cvmx-mpi-defs.h => drivers/spi/spi-cavium.h (84%)
delete mode 100644 drivers/spi/spi-octeon.c

--
2.9.0.rc0.21.g7777322

\
 
 \ /
  Last update: 2016-07-23 13:21    [W:2.126 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site