MLK-18177-2: drm/bridge: nwl-dsi: Change init sequence for panel
authorRobert Chiras <robert.chiras@nxp.com>
Thu, 12 Apr 2018 13:30:28 +0000 (16:30 +0300)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitb42d9ec6651c07a517ec8903c71fa45a331fb75f
treea2649dbdf449f5129a784bb2efd4d7716abfd435
parent04e45d18354e05b81074d4d065c45e74de9d2421
MLK-18177-2: drm/bridge: nwl-dsi: Change init sequence for panel

Currently, the DSI panel init sequence is made in the prepare function,
right after the reset pin is asserted. This implies that at this moment,
the DSI host needs to be enabled. If the DSI host is enabled during
panel prepare, there will be DSI signal on the DSI lanes during the
panel reset, which is wrong.

In order to fix this, the init sequence was moved from prepare to
enable, while the reset sequence is made in prepare. Also, the DSI host
intialization has to be updated in such a way that the host won't send
DSI signals on the lanes between the prepare and enable of the panel.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
drivers/gpu/drm/bridge/nwl-dsi.c