colibri-pxa300: LCD_LDD / LCD_CS gpio conflict

Eric Miao eric.y.miao at gmail.com
Mon Sep 6 22:43:31 EDT 2010


On Mon, Sep 6, 2010 at 9:12 PM, pieterg <pieterg at gmx.com> wrote:
> In colibri-pxa300.c, line 132, gpio config GPIO62_LCD_CS_N is overriding the
> GPIO62_LCD_LDD_8 configuration, earlier in the pin config table.
>
> As a result, one pixel data line is missing, obviously causing wrong pixel
> data on passive lcd panels.
>
> Not sure what the best workaround should be.
> LDD_CS is not available on the colibri evalboard as far as I can see, so we
> might just define GPIO127_LCD_CS_N instead? (till the soc/carrier board
> configs have been split)
>
> Or for now just put GPIO62_LCD_CS_N between
> #ifdef CONFIG_FB_PXA_SMARTPANEL?
>

Possibly define two groups of LCD pin configurations and select them
when the appropriate LCD expansion card is plugged. If it can be
detected at run-time, that will be perfect, otherwise have to come
up with ugly #ifdef .. #else then.

> Rgds, Pieter
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>



More information about the linux-arm-kernel mailing list