From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751234AbcGWKnX (ORCPT ); Sat, 23 Jul 2016 06:43:23 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:33333 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751093AbcGWKnV (ORCPT ); Sat, 23 Jul 2016 06:43:21 -0400 From: Jan Glauber To: Mark Brown Cc: linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, "Steven J. Hill" , David Daney , Jan Glauber Subject: [PATCH 0/6] SPI ThunderX driver Date: Sat, 23 Jul 2016 12:42:49 +0200 Message-Id: X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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