There is not yet any driver for the secondary LCD, so turn off
the backlight on boot.
Signed-off-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
#define TS_GPIO 24
#define TWL4030_MSECURE_GPIO 118
+#define SECONDARY_LCD_GPIO 147
static struct mtd_partition sdp2430_partitions[] = {
/* bootloader (U-Boot, etc) in first sector */
spi_register_board_info(sdp2430_spi_board_info,
ARRAY_SIZE(sdp2430_spi_board_info));
ads7846_dev_init();
+
+ /* turn off secondary LCD backlight */
+ omap_set_gpio_direction(SECONDARY_LCD_GPIO, 0);
+ omap_set_gpio_dataout(SECONDARY_LCD_GPIO, 0);
}
static void __init omap_2430sdp_map_io(void)