Skip to content

Commit

Permalink
spi: spi-fsl-dspi: LS2080A and LX2160A support XSPI mode
Browse files Browse the repository at this point in the history
XSPI allows for 2 extra features:
- Command cycling (use a single TX command with more than 1 word in the
  TX FIFO).
- Increased word size (from 16 bits to 32 bits)

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Message-Id: <20200302001958.11105-5-olteanv@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Vladimir Oltean authored and Mark Brown committed Mar 4, 2020
1 parent 1d8b4c9 commit ca5052c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/spi/spi-fsl-dspi.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ static const struct fsl_dspi_devtype_data devtype_data[] = {
.trans_mode = DSPI_TCFQ_MODE,
.max_clock_factor = 8,
.ptp_sts_supported = true,
.xspi_mode = true,
.fifo_size = 4,
},
[LS2085A] = {
Expand All @@ -191,6 +192,7 @@ static const struct fsl_dspi_devtype_data devtype_data[] = {
.trans_mode = DSPI_TCFQ_MODE,
.max_clock_factor = 8,
.ptp_sts_supported = true,
.xspi_mode = true,
.fifo_size = 4,
},
[MCF5441X] = {
Expand Down

0 comments on commit ca5052c

Please sign in to comment.