Re: [PATCH v2 01/11] dt-bindings: spi: allow expressing DTR capability

From: Pratyush Yadav
Date: Mon Mar 02 2020 - 04:54:14 EST


On 27/02/20 06:03PM, Geert Uytterhoeven wrote:
> Hi Mark,
>
> On Thu, Feb 27, 2020 at 5:44 PM Mark Brown <broonie@xxxxxxxxxx> wrote:
> > On Thu, Feb 27, 2020 at 05:40:31PM +0100, Geert Uytterhoeven wrote:
> > > On Thu, Feb 27, 2020 at 5:28 PM Mark Brown <broonie@xxxxxxxxxx> wrote:
> > > > It's what we do for other properties, and if this is anything like the
> > > > other things adding extra wiring you can't assume that the ability to
> > > > use the feature for TX implies RX.
> >
> > > Double Transfer Rate uses the same wire.
> >
> > But is it still on either the TX or RX signals?
>
> E.g. good old Spansion S25FL512S supports single/dual/quad DDR, but
> apparently only for read, not write.
> Other FLASHes may support both directions. I guess.

The flash datasheet says under section 9.4 (Read Memory Array Commands):

Some commands transfer address and data on both the rising edge and
falling edge of SCK. These are called Double Data Rate (DDR) commands.

Since the address is transferred in DDR mode, both Tx and Rx signals use
DDR.

So, unless we have a flash that supports a mode like 1S-1S-8D, we don't
really need two properties.

--
Regards,
Pratyush Yadav
Texas Instruments India