linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gareth Williams <gareth.williams.jx@renesas.com>
To: Mark Brown <broonie@kernel.org>
Cc: Phil Edworthy <phil.edworthy@renesas.com>,
	linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org,
	Gareth Williams <gareth.williams.jx@renesas.com>
Subject: [PATCH 3/3] spi: dw: Add compatible string for Renesas RZ/N1 SPI  Controller
Date: Fri, 13 Sep 2019 13:12:00 +0100	[thread overview]
Message-ID: <1568376720-7402-4-git-send-email-gareth.williams.jx@renesas.com> (raw)
In-Reply-To: <1568376720-7402-1-git-send-email-gareth.williams.jx@renesas.com>

From: Phil Edworthy <phil.edworthy@renesas.com>

The Renesas RZ/N1 SPI Controller is based on the Synopsys DW SSI, but has
additional registers for software CS control and DMA. This patch does not
address the changes required for DMA support, it simply adds the compatible
string. The CS registers are not needed as Linux can use gpios for the CS
signals.

Signed-off-by: Gareth Williams <gareth.williams.jx@renesas.com>
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
---
 drivers/spi/spi-dw-mmio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/spi/spi-dw-mmio.c b/drivers/spi/spi-dw-mmio.c
index edb3cf6..3640b01 100644
--- a/drivers/spi/spi-dw-mmio.c
+++ b/drivers/spi/spi-dw-mmio.c
@@ -225,6 +225,7 @@ static const struct of_device_id dw_spi_mmio_of_match[] = {
 	{ .compatible = "mscc,ocelot-spi", .data = dw_spi_mscc_ocelot_init},
 	{ .compatible = "mscc,jaguar2-spi", .data = dw_spi_mscc_jaguar2_init},
 	{ .compatible = "amazon,alpine-dw-apb-ssi", .data = dw_spi_alpine_init},
+	{ .compatible = "renesas,rzn1-spi", },
 	{ /* end of table */}
 };
 MODULE_DEVICE_TABLE(of, dw_spi_mmio_of_match);
-- 
2.7.4


  parent reply	other threads:[~2019-09-13 12:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-13 12:11 [PATCH 0/3] spi: dw: Add basic runtime PM support Gareth Williams
2019-09-13 12:11 ` [PATCH 1/3] dt: spi: Add Renesas RZ/N1 binding documentation Gareth Williams
2019-09-13 12:11 ` [PATCH 2/3] spi: dw: Add basic runtime PM support Gareth Williams
2019-09-16 14:36   ` Geert Uytterhoeven
2019-09-16 16:14     ` Gareth Williams
2019-09-17  6:36       ` Geert Uytterhoeven
2019-09-17  9:34         ` Gareth Williams
2019-09-13 12:12 ` Gareth Williams [this message]
2019-09-15 11:00   ` [PATCH 3/3] spi: dw: Add compatible string for Renesas RZ/N1 SPI Controller Andy Shevchenko
2019-09-15 11:22     ` 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=1568376720-7402-4-git-send-email-gareth.williams.jx@renesas.com \
    --to=gareth.williams.jx@renesas.com \
    --cc=broonie@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=phil.edworthy@renesas.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).