MLK-14282: 4.9 rebase: LVDS display not working on iMX6QP SabreSD
authorCristina Ciocan <cristina-mihaela.ciocan@nxp.com>
Wed, 8 Mar 2017 11:58:13 +0000 (13:58 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:10:53 +0000 (15:10 -0500)
commit6b6e622d7bf77ab36c62cf60478a6dd957327746
tree16baf1960545b34b424d9493caff5104b5d2ed4a
parent7b0291b28780e13643d18cfe72d477a69a6e774a
MLK-14282: 4.9 rebase: LVDS display not working on iMX6QP SabreSD

Fix IPU2 DI(Display Interface) clocks for iMX6QP SABRESD. The upstream
version uses ldb_di0_podf and ldb_di1_podf as clock parents for ipu_di,
which fails to work on iMX6QP SABRESD. This patch fixes clock tree by:
- setting ipu_di selectors to ldb_di_div_sel in imx6q clock driver
- matching "ldb_di0", "ldb_di1" clock names with
  IMX6QDL_CLK_LDB_DI0_DIV_SEL, IMX6QDL_CLK_LDB_DI1_DIV_SEL; otherwise,
  ldb_di0_div_sel and ldb_di1_div_sel will not be recognized as LDB clk parents
  and will not drive the Display Interface.

Signed-off-by: Cristina Ciocan <cristina-mihaela.ciocan@nxp.com>
arch/arm/boot/dts/imx6qp.dtsi
drivers/clk/imx/clk-imx6q.c