@@ -1063,6 +1063,11 @@ The following options need to be configured:
Normally display is black on white background; define
CONFIG_SYS_WHITE_ON_BLACK to get it inverted.
+ CONFIG_LCD_INVERTED_CLOCK
+ Define this if your LCD needs inverted clock polarity. Note
+ that this feature will work only if the selected LCD driver
+ and hardware controller support it.
+
- Splash Screen Support: CONFIG_SPLASH_SCREEN
If this option is set, the environment is checked for
@@ -112,6 +112,9 @@ void lcd_ctrl_init(void *lcdbase)
value |= panel_info.vl_sync;
value |= (panel_info.vl_bpix << 5);
+#if defined(CONFIG_LCD_INVERTED_CLOCK)
+ value |= ATMEL_LCDC_INVCLK_INVERTED;
+#endif
lcdc_writel(panel_info.mmio, ATMEL_LCDC_LCDCON2, value);
/* Vertical timing */