diff options
author | Phil Edworthy <phil.edworthy@renesas.com> | 2019-09-18 09:04:36 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-10-01 12:33:19 +0100 |
commit | 3ade3a37bdd77319dd7865228402cf1669c9b678 (patch) | |
tree | 4651777fb20ab06fb8ff2807e953fd288b38a390 /drivers/spi/spi-dw-mmio.c | |
parent | 1e695983251029dc0b0fc516290077539df400ff (diff) | |
download | lwn-3ade3a37bdd77319dd7865228402cf1669c9b678.tar.gz lwn-3ade3a37bdd77319dd7865228402cf1669c9b678.zip |
spi: dw: Add compatible string for Renesas RZ/N1 SPI Controller
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>
Link: https://lore.kernel.org/r/1568793876-9009-5-git-send-email-gareth.williams.jx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw-mmio.c')
-rw-r--r-- | drivers/spi/spi-dw-mmio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-dw-mmio.c b/drivers/spi/spi-dw-mmio.c index bd46fca3f094..b5ce8bd58d9e 100644 --- a/drivers/spi/spi-dw-mmio.c +++ b/drivers/spi/spi-dw-mmio.c @@ -223,6 +223,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); |