[PATCH] staging: imx-drm: add LVDS666 support for parallel display

Troy Kisky troy.kisky at boundarydevices.com
Fri Mar 28 21:11:01 EDT 2014


On 3/28/2014 4:05 PM, Emil Renner Berthing wrote:
> diff --git a/drivers/staging/imx-drm/ipu-v3/ipu-dc.c b/drivers/staging/imx-drm/ipu-v3/ipu-dc.c
> index 156bbea..9945609 100644
> --- a/drivers/staging/imx-drm/ipu-v3/ipu-dc.c
> +++ b/drivers/staging/imx-drm/ipu-v3/ipu-dc.c
>  
> +	/* lvds666 */
> +	ipu_dc_map_clear(priv, IPU_DC_MAP_LVDS666);
> +	ipu_dc_map_config(priv, IPU_DC_MAP_LVDS666, 0, 5, 0xfc); /* blue */
> +	ipu_dc_map_config(priv, IPU_DC_MAP_LVDS666, 1, 15, 0xfc); /* green */
> +	ipu_dc_map_config(priv, IPU_DC_MAP_LVDS666, 2, 21, 0xfc); /* red */
> +

Should the 15 above be 13. ie 5+8=13, 13+8=21
Also, imx_3.0.35_4.1.0 uses 13.

Troy



More information about the linux-arm-kernel mailing list