[U-Boot] [PATCH 3/8] pxa_lcd: allow L_BIAS line to be unused

Marek Vasut
2013-04-08T05:28:06Z

Dear Mike Dunn,

> This patch adds a config option CONFIG_SYS_LCD_PXA_NO_L_BIAS, which causes
> the lcd controller initialization code to leave as an ordinary gpio the
> line that is typically configured as the lcd L_BIAS alternate function
> (this is the gpio 77 line).
>
> For some reason (I don't have a datasheet), the lcd device on the
> palmtreo680 board does not use the L_BIAS line. PalmOS does not configure
> the gpio 77 line for the L_BIAS alternate function, and if it is
> configured as such, the lcd does not work.
>
> Signed-off-by: Mike Dunn <mikedunn@newsguy.com>

The other option would be to pull the GPIO setup from the driver. That'd be the
best.

Best regards,
Marek Vasut