]> git.karo-electronics.de Git - linux-beck.git/commit
OMAPDSS: DISPC: change sync_pclk_edge default value
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 2 Oct 2014 17:58:51 +0000 (17:58 +0000)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 26 Feb 2015 10:15:12 +0000 (12:15 +0200)
commit386f167c69ca1c6920581f2cb78be8a1f6691539
tree57348c22d1db12f80ad47a7f21fc63aef8432979
parent7ad582be12728ea76b11ce4f4c2f1202d11bf13c
OMAPDSS: DISPC: change sync_pclk_edge default value

The common 'struct videomode' does not have a flag to select when the
sync signals should be driven.

The default behavior of DISPC HW is to drive the sync signal on the
opposite pixel clock edge from data signal, which is also what the
videomode_to_omap_video_timings() uses.

However, it looks like what panels usually expect is that the data and
sync signals are driven on the same edge, so let's change
videomode_to_omap_video_timings() to set the sync_pclk_edge accordingly.

Note that this only affect panels drivers that use
videomode_to_omap_video_timings(), probably when getting the video
timings directly from DT data. The drivers can still configure the
sync_pclk_edge independently if they so wish.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/display.c