Skip to content
Snippets Groups Projects
  • Liu Ying's avatar
    MLK-20152 drm/imx: ldb: Correct ch0/1_mode for variants without mux · d9b35ed0
    Liu Ying authored
    
    Unlike i.MX6qdl and i.MX53 LDB variants, the i.MX8 LDB variants(i.MX8qxp
    and i.MX8qm) in existence don't have frontend mux, thus, we should split
    the logic to program the ch0/1_mode for variants w/wo the mux.  It turns
    out LDB_CH0_MODE_EN_TO_DI0 can be used for channel0 in both LDB single
    mode and LDB split mode for the i.MX8 LDB variants.  However, based on
    test results, for i.MX8qm LDB channel1, LDB_CH1_MODE_EN_TO_DI1 has to be
    used in single mode, while, i.MX8qxp may work with LDB_CH1_MODE_EN_TO_DI0
    or LDB_CH1_MODE_EN_TO_DI1.  With LDB_CH1_MODE_EN_TO_DI0, i.MX8qm LDB
    channel1 would output wrong image in single mode(it looks like color
    is wrong based on test results).  The i.MX8 LDB variants channel1 mode
    can still be LDB_CH1_MODE_EN_TO_DI0 in split mode(the patch doesn't
    touch this).  In essence, this patch fixes the channel1 single mode for
    i.MX8qm LDB by correcting the ch1_mode, while all other features
    should work as before.  Note that due to hardware issue, we didn't test
    the channel1 single mode for i.MX8qm.  We need to populate several
    resistors to enable the connectors driven by channel1 in single mode
    for either ARM2 platform or MEK board.  Tests are done with IT6263
    LVDS to HDMI transmitter driven by LDB0 channel1 after r206, r207, r208
    and r209 are populated on the i.MX8qm MEK board.
    
    Signed-off-by: default avatarLiu Ying <victor.liu@nxp.com>
    d9b35ed0
Code owners
Assign users and groups as approvers for specific file changes. Learn more.