
28 Aug
2019
28 Aug
'19
9:55 a.m.
On 28.08.19 08:37, Weijie Gao wrote:
The mt7621 spi controller supports continuous generic half-duplex spi transaction. There is no need to cache xfer data at all.
To achieve this goal, the OPADDR register must be used as the first data to be sent. And follows the eight generic DIDO registers. But one thing different between OPADDR and DIDO registers is OPADDR has a reversed byte order.
With this patch, any amount of data can be read/written in a single xfer function call.
Signed-off-by: Weijie Gao weijie.gao@mediatek.com
Very nice, thanks for all your work here.
Reviewed-by: Stefan Roese sr@denx.de
Thanks, Stefan