diff options
author | Yogesh Narayan Gaur <yogeshnarayan.gaur@nxp.com> | 2019-01-15 13:05:29 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-28 15:28:46 +0300 |
commit | b3281794476d8041e96a1e95afdc0528406c9a7b (patch) | |
tree | 59237036ef853969b66f46d766779e249205e550 /drivers/spi/spi-nxp-fspi.c | |
parent | c71f9fd4503addcfa306f9bec95c3e7deade7ce1 (diff) | |
download | linux-b3281794476d8041e96a1e95afdc0528406c9a7b.tar.xz |
spi: nxp-fspi: add octal mode flag bit for octal support
Add octal mode flags for octal I/O data transfer support.
NXP FlexSPI controller supports 8 lines Rx/Tx data transfer.
Signed-off-by: Yogesh Narayan Gaur <yogeshnarayan.gaur@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-nxp-fspi.c')
-rw-r--r-- | drivers/spi/spi-nxp-fspi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-nxp-fspi.c b/drivers/spi/spi-nxp-fspi.c index 75c6448f5015..0327216ef7aa 100644 --- a/drivers/spi/spi-nxp-fspi.c +++ b/drivers/spi/spi-nxp-fspi.c @@ -953,8 +953,8 @@ static int nxp_fspi_probe(struct platform_device *pdev) if (!ctlr) return -ENOMEM; - ctlr->mode_bits = SPI_RX_DUAL | SPI_RX_QUAD | - SPI_TX_DUAL | SPI_TX_QUAD; + ctlr->mode_bits = SPI_RX_DUAL | SPI_RX_QUAD | SPI_RX_OCTAL | + SPI_TX_DUAL | SPI_TX_QUAD | SPI_TX_OCTAL; f = spi_controller_get_devdata(ctlr); f->dev = dev; |