Re: [PATCH 3/3] spi: dw: Add compatible string for Renesas RZ/N1 SPI Controller

From: Andy Shevchenko
Date: Sun Sep 15 2019 - 07:01:02 EST


On Fri, Sep 13, 2019 at 3:14 PM Gareth Williams
<gareth.williams.jx@xxxxxxxxxxx> wrote:
>
> From: Phil Edworthy <phil.edworthy@xxxxxxxxxxx>
>
> 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.

> + { .compatible = "renesas,rzn1-spi", },

Can't you simple use in DT something like
compatible = "renesas,rzn1-spi", "snps,dw-apb-ssi"
?

--
With Best Regards,
Andy Shevchenko