projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c71f9fd
)
spi: nxp-fspi: add octal mode flag bit for octal support
author
Yogesh Narayan Gaur
<yogeshnarayan.gaur@nxp.com>
Tue, 15 Jan 2019 10:05:29 +0000
(10:05 +0000)
committer
Mark Brown
<broonie@kernel.org>
Mon, 28 Jan 2019 12:28:46 +0000
(12:28 +0000)
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>
drivers/spi/spi-nxp-fspi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-nxp-fspi.c
b/drivers/spi/spi-nxp-fspi.c
index 75c6448f50156b274c926968dc8702b46d95a71b..0327216ef7aa60c3a33c0bf4c5c858e882336748 100644
(file)
--- 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;