
10 Aug
2018
10 Aug
'18
9:25 a.m.
On Fri, Aug 10, 2018 at 12:26 PM, Stefan Roese sr@denx.de wrote:
This patch adds the SPI driver for the MediaTek MT7688 SoC (and derivates). Its been tested on the LinkIt Smart 7688 and the Gardena Smart Gateway with and SPI NOR on CS0 and on the Gardena Smart Gateway additionally with an SPI NAND on CS1.
Note that the SPI controller only supports a max transfer size of 32 bytes. This driver implementes a workaround to enable bigger xfer sizes to speed up the transfer especially for the SPI NAND support.
Signed-off-by: Stefan Roese sr@denx.de Cc: Jagan Teki jagan@openedev.com
v2:
- Add some macros instead of hardcoded numbers
- Move compatible DT struct down in the file
Reviewed-by: Jagan Teki jagan@openedev.com