Re: [PATCH 1/2] spi: support inter-word delay requirement for devices

From: Jonas Bonn
Date: Mon Jan 28 2019 - 06:51:09 EST




On 28/01/2019 12:47, Mark Brown wrote:
On Mon, Jan 28, 2019 at 08:41:05AM +0100, Geert Uytterhoeven wrote:
On Sat, Jan 26, 2019 at 4:40 PM Jonas Bonn <jonas@xxxxxxxxxxx> wrote:

spi-3wire: again, only set by MAXIM DS-1302 which always needs this
setting; driver could set this

For DS1302, this is probable true.
Some devices may support both 4-wire or 3-wire mode?

IIRC yes.

Just for the record, the datasheet says it's exclusively 3-wire. But it's not important...

/Jonas


Yeah, that one make sense. But if the DT is only overriding the maximum
device frequency that the driver should otherwise be setting, why is
spi-max-frequency a _required_ property?

That's a good question. Legacy?

It's a documentation error.