All of lore.kernel.org
 help / color / mirror / Atom feed
From: Masahisa Kojima <masahisa.kojima@linaro.org>
To: linux-spi@vger.kernel.org, devicetree@vger.kernel.org
Cc: broonie@kernel.org, geert@linux-m68k.org, tpiepho@impinj.com,
	andy.shevchenko@gmail.com, robh+dt@kernel.org,
	mark.rutland@arm.com, ard.biesheuvel@linaro.org,
	jaswinder.singh@linaro.org, masami.hiramatsu@linaro.org,
	okamoto.satoru@socionext.com, osaki.yoshitoyo@socionext.com,
	Masahisa Kojima <masahisa.kojima@linaro.org>
Subject: [PATCH v7 0/3] spi: support for Socionext Synquacer platform
Date: Tue,  4 Jun 2019 14:12:54 +0900	[thread overview]
Message-ID: <20190604051257.14264-1-masahisa.kojima@linaro.org> (raw)

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 v6:
        # Removed dependency to SPI_BITBANG
        # Added -EPROBE_DEFER handling for devm_clk_get()
        # Added check of invalid index(0) of platform_get_irq()
        # Set the fwnode member
        # Removed redundant error check for sspi->clk

Changes since v5:
        # Supported ACPI probing and added ACPI device table(SCX0004)
        # Removed DT dependencies
        # Removed to call _relaxed variants to access the registers
        # Updated irq name to use dev_name()
        # Updated return value for irq handlers
        # Explicitly listed the supported bits_per_word
        # Removed FIFO handling from a set_cs() operation

Changes since v4:
        # Supported interrupt based data handling instead of polling
        # Added prefix "SYNQUACER_HSSPI_"
        # Replaced data read/write access with readsx()/writesx()
        # Updated clock source handling, explicitly specify "iHCLK" or "iPCKL"
          and removed array of clk

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.

Masahisa Kojima (3):
  MAINTAINERS: Add entry for Synquacer SPI driver
  dt-bindings: spi: Add DT bindings for Synquacer
  spi: Add spi driver for Socionext SynQuacer platform

 .../devicetree/bindings/spi/spi-synquacer.txt      |  27 +
 MAINTAINERS                                        |   8 +
 drivers/spi/Kconfig                                |  10 +
 drivers/spi/Makefile                               |   1 +
 drivers/spi/spi-synquacer.c                        | 822 +++++++++++++++++++++
 5 files changed, 868 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spi/spi-synquacer.txt
 create mode 100644 drivers/spi/spi-synquacer.c

-- 
2.14.2

             reply	other threads:[~2019-06-04  5:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-04  5:12 Masahisa Kojima [this message]
2019-06-04  5:12 ` [PATCH v7 1/3] MAINTAINERS: Add entry for Synquacer SPI driver Masahisa Kojima
2019-06-04 14:59   ` Applied "MAINTAINERS: Add entry for Synquacer SPI driver" to the spi tree Mark Brown
2019-06-04  5:12 ` [PATCH v7 2/3] dt-bindings: spi: Add DT bindings for Synquacer Masahisa Kojima
2019-06-04 14:59   ` Applied "spi: Add DT bindings for Synquacer" to the spi tree Mark Brown
2019-06-04  5:12 ` [PATCH v7 3/3] spi: Add spi driver for Socionext SynQuacer platform Masahisa Kojima
2019-06-04 14:59   ` Applied "spi: Add spi driver for Socionext SynQuacer platform" to the spi tree Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190604051257.14264-1-masahisa.kojima@linaro.org \
    --to=masahisa.kojima@linaro.org \
    --cc=andy.shevchenko@gmail.com \
    --cc=ard.biesheuvel@linaro.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=geert@linux-m68k.org \
    --cc=jaswinder.singh@linaro.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=masami.hiramatsu@linaro.org \
    --cc=okamoto.satoru@socionext.com \
    --cc=osaki.yoshitoyo@socionext.com \
    --cc=robh+dt@kernel.org \
    --cc=tpiepho@impinj.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.