[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200302095343.3yec6inur52vx6bg@ti.com>
Date: Mon, 2 Mar 2020 15:23:45 +0530
From: Pratyush Yadav <p.yadav@...com>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
CC: Mark Brown <broonie@...nel.org>,
Boris Brezillon <boris.brezillon@...labora.com>,
Mark Rutland <mark.rutland@....com>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>,
Vignesh Raghavendra <vigneshr@...com>,
Tudor Ambarus <tudor.ambarus@...rochip.com>,
Richard Weinberger <richard@....at>,
Sekhar Nori <nsekhar@...com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-spi <linux-spi@...r.kernel.org>,
Rob Herring <robh+dt@...nel.org>,
MTD Maling List <linux-mtd@...ts.infradead.org>,
Miquel Raynal <miquel.raynal@...tlin.com>
Subject: Re: [PATCH v2 01/11] dt-bindings: spi: allow expressing DTR
capability
On 27/02/20 06:03PM, Geert Uytterhoeven wrote:
> Hi Mark,
>
> On Thu, Feb 27, 2020 at 5:44 PM Mark Brown <broonie@...nel.org> 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@...nel.org> 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
Powered by blists - more mailing lists