Re: [PATCH 4/5] spi: Check that Quad/Dual is half duplex

From: Mark Brown
Date: Tue Jan 21 2014 - 13:21:43 EST


On Tue, Jan 21, 2014 at 04:10:08PM +0100, Geert Uytterhoeven wrote:
> From: Geert Uytterhoeven <geert+renesas@xxxxxxxxxxxxxx>
>
> Quad and Dual SPI Transfers use all available data lines (incl. MOSI/MISO),
> hence they must be half duplex. Add a check that verify that.

This is surprising to me - I had expected that there would be extra
signals that would be used for these modes, not that the opposite
direction data line would be one of the ones being reused. On the other
hand if this is what all the flash chips do then it would seem
reasonable that controllers do the same. Can you clarify please?

Attachment: signature.asc
Description: Digital signature