Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753522AbbDBTV3 (ORCPT ); Thu, 2 Apr 2015 15:21:29 -0400 Received: from mail-gw2-out.broadcom.com ([216.31.210.63]:33007 "EHLO mail-gw2-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752590AbbDBTVZ (ORCPT ); Thu, 2 Apr 2015 15:21:25 -0400 X-IronPort-AV: E=Sophos;i="5.11,512,1422950400"; d="scan'208";a="61089417" From: Jonathan Richardson To: Mark Brown , Dmitry Torokhov , Anatol Pomazau CC: Jonathan Richardson , Scott Branden , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , , , bcm-kernel-feedback-list , , Rafal Milecki Subject: [PATCH 0/4] Add MSPI support for Cygnus Date: Thu, 2 Apr 2015 12:23:19 -0700 Message-ID: <1428002603-21892-1-git-send-email-jonathar@broadcom.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1857 Lines: 40 This patchset adds support for the MSPI controller on Cygnus. The existing MSPI driver in the kernel was written for BCMA which is a Broadcom AMBA bus variant used on certain chips such as the 53xx. This patch makes BCMA support optional. The current config is being renamed to make it chip nonspecific supporting BCMA, and a new config is added to support non-BCMA chips. DT support is now mandatory to allow removal of a hardcoded SPI device. Support is also added to set the baud rate. The controller currently runs at the slowest speed possible. Jonathan Richardson (4): ARM: dts: Add binding for Broadcom MSPI driver. spi: bcm53xx: Refactor to make driver nonspecific to 53xx SoCs spi: bcm-mspi: Make BCMA optional to support non-BCMA chips spi: bcm-mspi: Add support to set serial baud clock rate .../devicetree/bindings/spi/brcm,mspi-spi.txt | 38 ++ drivers/spi/Kconfig | 12 +- drivers/spi/Makefile | 3 +- drivers/spi/spi-bcm-mspi.c | 453 ++++++++++++++++++++ drivers/spi/spi-bcm-mspi.h | 84 ++++ drivers/spi/spi-bcm53xx.c | 299 ------------- drivers/spi/spi-bcm53xx.h | 72 ---- 7 files changed, 585 insertions(+), 376 deletions(-) create mode 100644 Documentation/devicetree/bindings/spi/brcm,mspi-spi.txt create mode 100644 drivers/spi/spi-bcm-mspi.c create mode 100644 drivers/spi/spi-bcm-mspi.h delete mode 100644 drivers/spi/spi-bcm53xx.c delete mode 100644 drivers/spi/spi-bcm53xx.h -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/