For getting my LCD display to function correctly I'm trying to invert the LCD clock on Linux kernel 3.12 with device tree on the da8xx fbdev, but I can't seem to find the correct option for it. In the da8xx-fb.c driver I have found:
if (panel->sync & FB_SYNC_CLK_INVERT) lcdc_write((lcdc_read(LCD_RASTER_TIMING_2_REG) | LCD_INVERT_PIXEL_CLOCK), LCD_RASTER_TIMING_2_REG); else lcdc_write((lcdc_read(LCD_RASTER_TIMING_2_REG) & ~LCD_INVERT_PIXEL_CLOCK), LCD_RASTER_TIMING_2_REG);
FB_SYNC_CLK_INVERT is defined in da8xx-fb.h as 0x40000000
I tested with the 3.2 kernel by using ".invert_pxl_clk = 1" in the lcd_panels and this worked perfectly, now with 3.12 I can't find the option in the device tree.
Can somebody provide me a push in the right direction please?