mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 22:21:42 +00:00
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>
This commit is contained in:
parent
c71f9fd450
commit
b328179447
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user