MLK-14399: 4.9 rebase: LVDS panel does not work on iMX6SX Auto
authorCristina Ciocan <cristina-mihaela.ciocan@nxp.com>
Thu, 9 Mar 2017 18:13:17 +0000 (20:13 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:10:54 +0000 (15:10 -0500)
commit3b2f978d0f9fc3e262d9663d478c07bb0c23d2b3
tree54d9debb1eca4c7aec810f72cc5b66c1fa1a550c
parent5e96113c04b09cc9993fa1dd76493ce36205dac7
MLK-14399: 4.9 rebase: LVDS panel does not work on iMX6SX Auto

The LCDIF driver fails at boot time because it cannot read display timings
from device tree. This is a fake error because the LCDIF DT node contains a
display device property which leads to the display driver that also provides
the timings.

This fake error case has been introduced by
commit 5443a75ed038 ("MLK-14283: dts: fix DE polarity for lcdif") and
commit 56412d6a83d8 ("MLK-13996: lcdif: Use DE polarity specified in DTS")
which fixed DE polarity panel differences for different boards.

This patch adds support for choosing a particular video mode from the ones
provided by the display driver, thus also fixing the DE polarity issue
initially fixed by the above mentioned 2 patches.

Signed-off-by: Cristina Ciocan <cristina-mihaela.ciocan@nxp.com>
Documentation/devicetree/bindings/display/mxsfb.txt
arch/arm/boot/dts/imx7d-sdb-mipi-dsi.dts
drivers/video/fbdev/mxc/mxcfb_hx8363_wvga.c
drivers/video/fbdev/mxsfb.c