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

Emil Renner Berthing kernel at esmil.dk
Sat Mar 29 05:41:06 EDT 2014


On 29 March 2014 02:11, Troy Kisky <troy.kisky at boundarydevices.com> wrote:
> 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.

You're absolutely right, thanks. Don't know how I made that typo. I'll
resend an updated patch.

/Emil



More information about the linux-arm-kernel mailing list