summaryrefslogtreecommitdiff
path: root/drivers/spi/spidev.c
diff options
context:
space:
mode:
authorClark Wang <xiaoning.wang@nxp.com>2019-03-06 06:30:45 +0000
committerMark Brown <broonie@kernel.org>2019-03-18 12:17:44 +0000
commit09c04466ce7ea494993c0635ba5edb6d2222a806 (patch)
treeaa9e0b1369d1ce45fa1d7e5904ea16ae8afdd270 /drivers/spi/spidev.c
parentc7a402599504384efe0e5232a4c78cb8eb7cb3d0 (diff)
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: Clark Wang <xiaoning.wang@nxp.com> Acked-by: Fugang Duan <Fugang.duan@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spidev.c')
0 files changed, 0 insertions, 0 deletions