drivers: mipi_dsi: dsi_mcux: add support for MIPI generic long write CMD

Add support for MIPI generic long write commands to DSI MCUX driver.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2023-07-07 18:18:31 +00:00 committed by Fabio Baltieri
parent 8bac51be1e
commit d620511c22

View file

@ -261,6 +261,9 @@ static ssize_t dsi_mcux_transfer(const struct device *dev, uint8_t channel,
case MIPI_DSI_GENERIC_SHORT_WRITE_2_PARAM:
dsi_xfer.txDataType = kDSI_TxDataGenShortWrTwoParam;
break;
case MIPI_DSI_GENERIC_LONG_WRITE:
dsi_xfer.txDataType = kDSI_TxDataGenLongWr;
break;
case MIPI_DSI_GENERIC_READ_REQUEST_0_PARAM:
__fallthrough;
case MIPI_DSI_GENERIC_READ_REQUEST_1_PARAM: