Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752061AbaKVPYV (ORCPT ); Sat, 22 Nov 2014 10:24:21 -0500 Received: from mail-wi0-f181.google.com ([209.85.212.181]:58451 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750851AbaKVPYS (ORCPT ); Sat, 22 Nov 2014 10:24:18 -0500 From: Beniamino Galvani To: Mark Brown Cc: linux-spi@vger.kernel.org, Carlo Caione , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Russell King , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Jerry Cao , Victor Wan , Beniamino Galvani Subject: [PATCH v3 0/4] spi: Add support for Amlogic Meson SPIFC Date: Sat, 22 Nov 2014 16:21:38 +0100 Message-Id: <1416669702-7841-1-git-send-email-b.galvani@gmail.com> 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, this patchset adds a driver for the SPIFC (SPI flash controller) available in Amlogic Meson6 and Meson8 SoCs. The driver has been tested on a Meson8 based device to communicate with a Macronix mx25l1606e serial flash. Changes since v2 [ https://lkml.org/lkml/2014/11/17/669 ]: - introduce spi_transfer_is_last() helper instead of using a flag in spi_transfer structure - rebase DTS patch on arm-soc Changes since v1 [ https://lkml.org/lkml/2014/11/9/35 ]: - decrease busy wait timeout - remove check on xfer->speed_hz value in meson_spifc_transfer_one() - implement transfer_one() instead of transfer_one_message() - remove useless memset of devdata - use fixed regmap config - implement PM operations - don't set master->bus_num - allow modular build of the driver Beniamino Galvani (4): spi: core: Add spi_transfer_is_last() helper spi: meson: Add device tree bindings documentation for SPIFC spi: meson: Add support for Amlogic Meson SPIFC ARM: dts: meson: add node for SPIFC .../devicetree/bindings/spi/spi-meson.txt | 22 + arch/arm/boot/dts/meson.dtsi | 9 + drivers/spi/Kconfig | 7 + drivers/spi/Makefile | 1 + drivers/spi/spi-meson-spifc.c | 462 +++++++++++++++++++++ include/linux/spi/spi.h | 6 + 6 files changed, 507 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-meson.txt create mode 100644 drivers/spi/spi-meson-spifc.c -- 1.9.1 -- 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/