AnsweredAssumed Answered

nwl-dsi configuration

Question asked by Guido Günther on Nov 7, 2018
Latest reply on Nov 7, 2018 by Guido Günther

Hi,

I'm trying to figure out the details for the above in the linux kernel for a DSI panel:

 

Looking at

 

linux-fslc/nwl-dsi.c at 4.9-2.3.x-imx · Freescale/linux-fslc · GitHub 

If vm->hactive is > 255 it will be cut off since according to the reference manual only the lower 16bit of this register (MIPI_DSI_HOST_DPI_INTFC_DSI_HOST_CFG_DPI_PIXEL_FIFO_SEN) are being used.

Also 

linux-fslc/nwl-dsi.c at 4.9-2.3.x-imx · Freescale/linux-fslc · GitHub 

would result in all zeros since 256 > 255.

Is this an error in the docs or are we really  only looing at the lower 16 bits here (which might be all zeros)?

 

Also non-continous clock mode is being disabled:

Enable here:

linux-fslc/nwl-dsi.c at 4.9-2.3.x-imx · Freescale/linux-fslc · GitHub 

Disabled again here

linux-fslc/nwl-dsi.c at 4.9-2.3.x-imx · Freescale/linux-fslc · GitHub 

Why is this being done?

Outcomes