Skip to content
Unverified Commit 09c04466 authored by Clark Wang's avatar Clark Wang Committed by Mark Brown
Browse files

spi: lpspi: add dma mode support



Add dma mode support for LPSPI. Any frame longer than half txfifosize will
be sent by dma mode.

For now, there are some limits:
1. The maximum transfer speed in master mode depends on the slave device,
   at least 40MHz(tested by spi-nor on 8qm-lpddr4-arm2 base board);
2. The maximum transfer speed in slave mode is 15MHz(imx7ulp),
   22MHz(8qm/qxp). In order to reach the maximum speed which is mentioned
   in datasheet, the load of connect wires between master and slave
   should be less than 15pF.

Signed-off-by: default avatarClark Wang <xiaoning.wang@nxp.com>
Acked-by: default avatarFugang Duan <Fugang.duan@nxp.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c7a40259
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment