[PATCH 10/10] mtd: spi-nor: aspeed: optimize read mode
Benjamin Herrenschmidt
benh at kernel.crashing.org
Fri Apr 14 15:42:43 PDT 2017
On Sat, 2017-04-15 at 00:25 +0200, Marek Vasut wrote:
> That sounds like a good option, yes. And if it's just forcing fixed
> speed, that's awesome, but I think there are more values that might need
> to be passed ... I think that's what Cedric can answer.
Yes, fixed and delay. Not a huge deal.
Also a module parameter makes it hard to specify different settings for
different instances of the device/flash. IE, there can be multiple
flash controllers and each of them can have multiple chip selects.
The DT is the only sane way for that.
> > That becomes akin to what we do with Ethernet PHYs for example :)
>
> Even better, I recall seeing some speed DT props in the SPI binding
> docs, so we already have those in place.
Right though the gate delay is rather IP block specific but that's
not a huge issue.
Cheers,
Ben.
More information about the linux-mtd
mailing list