[PATCHv4,0/3] spi: support for Socionext Synquacer platform

Message ID 1519736182-3650-1-git-send-email-jassisinghbrar@gmail.com
Headers show
Series
  • spi: support for Socionext Synquacer platform
Related show

Message

Jassi Brar Feb. 27, 2018, 12:56 p.m.
From: Jassi Brar <jaswinder.singh@linaro.org>


Hello,

 Support for Socionext's FIP controller intended for flash device interfacing.
The controller can operate in 'direct' or 'command' mode. One mode directly
talks and provide a read/write i/f to the flash device. Other works as plain
SPI mode. This driver runs the controller as a SPI controller.

Changes since v3:
	# Convert IS_ERR returned from devm_clk_get(iPCLK) to NULL, that way
	  we can call clk_xxx(IPCLK) without first checking for it being valid.

Changes since v2:
        # Made iHCLK clock property required in DT, and iPCLK an optional extra.
        # Hardcode max number of slaves to 4, as specified in the manual.

Changes since v1:
        # Changed licence header to C++ style comment.
        # Removed redundant lock and transfer_mode backup member.
        # Fixed divisor to allow upto 254.

Jassi Brar (3):
  dt-bindings: spi: Add DT bindings for Synquacer
  spi: Add spi driver for Socionext Synquacer platform
  MAINTAINERS: Add entry for Synquacer SPI driver

 .../devicetree/bindings/spi/spi-synquacer.txt      |  23 +
 MAINTAINERS                                        |   7 +
 drivers/spi/Kconfig                                |  11 +
 drivers/spi/Makefile                               |   1 +
 drivers/spi/spi-synquacer.c                        | 663 +++++++++++++++++++++
 5 files changed, 705 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spi/spi-synquacer.txt
 create mode 100644 drivers/spi/spi-synquacer.c

-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Mark Brown Feb. 27, 2018, 1:49 p.m. | #1
On Tue, Feb 27, 2018 at 06:26:22PM +0530, jassisinghbrar@gmail.com wrote:

>  Support for Socionext's FIP controller intended for flash device interfacing.

> The controller can operate in 'direct' or 'command' mode. One mode directly

> talks and provide a read/write i/f to the flash device. Other works as plain

> SPI mode. This driver runs the controller as a SPI controller.


If any updates are needed to a patch that's already been applied you
should submit incremental patches which make those updates.  This avoids
having to change published git commits which could cause problems for
people working against git.