spi: dw: Add compatible string for Renesas RZ/N1 SPI Controller
authorPhil Edworthy <phil.edworthy@renesas.com>
Wed, 18 Sep 2019 08:04:36 +0000 (09:04 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 1 Oct 2019 11:33:19 +0000 (12:33 +0100)
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>
drivers/spi/spi-dw-mmio.c

index bd46fca..b5ce8bd 100644 (file)
@@ -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);