[U-Boot] [PATCH v2] spi: Add SPI driver for MT76xx SoCs

Jagan Teki jagan at amarulasolutions.com
Fri Aug 10 07:25:19 UTC 2018


On Fri, Aug 10, 2018 at 12:26 PM, Stefan Roese <sr at 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 at denx.de>
> Cc: Jagan Teki <jagan at openedev.com>
> ---
> v2:
> - Add some macros instead of hardcoded numbers
> - Move compatible DT struct down in the file

Reviewed-by: Jagan Teki <jagan at openedev.com>


More information about the U-Boot mailing list