未验证 提交 b3281794 编写于 作者: Y Yogesh Narayan Gaur 提交者: Mark Brown

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: NYogesh Narayan Gaur <yogeshnarayan.gaur@nxp.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 c71f9fd4
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册