[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <39659fd3a9c75c8ad1653c2ef34049b94595170b.camel@aosc.io>
Date: Sat, 23 Apr 2022 08:10:31 +0800
From: Icenowy Zheng <icenowy@...c.io>
To: Samuel Holland <samuel@...lland.org>,
Mark Brown <broonie@...nel.org>, Chen-Yu Tsai <wens@...e.org>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Maxime Ripard <mripard@...nel.org>
Cc: linux-spi@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-sunxi@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/4] dt-bindings: spi: sun6i: add DT bindings for
Allwinner R329 SPI
在 2022-04-22星期五的 18:49 -0500,Samuel Holland写道:
> On 4/22/22 10:56 AM, icenowy@...look.com wrote:
> > From: Icenowy Zheng <icenowy@...c.io>
> >
> > Allwinner R329 SPI has two controllers, and the second one has
> > helper
> > functions for MIPI-DBI Type C.
> >
> > Add compatible strings for these controllers
> >
> > Signed-off-by: Icenowy Zheng <icenowy@...c.io>
> > ---
> > .../devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml |
> > 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/spi/allwinner,sun6i-
> > a31-spi.yaml
> > b/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-
> > spi.yaml
> > index ca4c95345a49..6354635241fc 100644
> > --- a/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-
> > spi.yaml
> > +++ b/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-
> > spi.yaml
> > @@ -21,6 +21,8 @@ properties:
> > oneOf:
> > - const: allwinner,sun6i-a31-spi
> > - const: allwinner,sun8i-h3-spi
> > + - const: allwinner,sun50i-r329-spi
> > + - const: allwinner,sun50i-r329-spi-dbi
>
> As far as I'm aware, the SPI portion of the DBI controller is
> register-compatible with the regular SPI controller. So I would
> expect using
> that as a fallback compatible for the DBI variant.
This sounds reasonable.
>
> Regards,
> Samuel
>
> > - items:
> > - enum:
> > - allwinner,sun8i-r40-spi
> >
>
Powered by blists - more mailing lists