From 918c79706d75c86ab4be12fb8fbdbac1ef966e55 Mon Sep 17 00:00:00 2001 From: Daniel DeGrasse Date: Fri, 7 Jul 2023 19:14:57 +0000 Subject: [PATCH] drivers: mipi_dsi: dsi_mcux_2l: add support for MIPI generic long write CMD Add support for MIPI generic long write commands to DSI MCUX 2L driver Signed-off-by: Daniel DeGrasse --- drivers/mipi_dsi/dsi_mcux_2l.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mipi_dsi/dsi_mcux_2l.c b/drivers/mipi_dsi/dsi_mcux_2l.c index 044b27bef78..9f4dcdf0957 100644 --- a/drivers/mipi_dsi/dsi_mcux_2l.c +++ b/drivers/mipi_dsi/dsi_mcux_2l.c @@ -191,6 +191,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: