nwl-dsi configuration

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

nwl-dsi configuration

1,336 次查看
guido_gunther
Contributor II

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?

标记 (1)
0 项奖励
回复
3 回复数

1,062 次查看
diegoadrian
NXP Employee
NXP Employee

Hello,

Which board and kernel are you using?

Best Regards

Diego

0 项奖励
回复

1,062 次查看
guido_gunther
Contributor II

 

Which board and kernel are you using?

Since this happens in all of NXPs 4.9 kernels (see above link): linux-fslc/nwl-dsi.c at 4.9-2.3.x-imx · Freescale/linux-fslc · GitHub 

the board doesn't matter. I'm seeing this on NXPs reference board as well.

0 项奖励
回复

1,062 次查看
guido_gunther
Contributor II

If vm->hactive is > 255 it will be cut off since according to the reference manual only the lower 16bit of this register 

Scratch the first part please. It's a 16 bit register not an 8 bit one so it can hold values up to 65535.

The non-continous clock mode part is still unclear to me though.

0 项奖励
回复