drm/msm/dsi: Reset both PHYs before clock operation for dual DSI
authorArchit Taneja <architt@codeaurora.org>
Wed, 29 Jul 2015 16:14:12 +0000 (12:14 -0400)
committerRob Clark <robdclark@gmail.com>
Mon, 6 Feb 2017 16:28:45 +0000 (11:28 -0500)
commit34d9545b9f769c6553e31a6820c9cb51f5e93099
tree7f6bfe43053230360044c2a69119713a3f058fa8
parent57bf433893370c069a0c34842f35a3bb8aa130fc
drm/msm/dsi: Reset both PHYs before clock operation for dual DSI

In case of dual DSI, some registers in PHY1 have been programmed
during PLL0 clock's set_rate. The PHY1 reset called by host1 later
will silently reset those PHY1 registers. This change is to reset
and enable both PHYs before any PLL clock operation.

[Originally worked on by Hai Li <hali@codeaurora.org>. Fixed up
by Archit Taneja <architt@codeaurora.org>]

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/dsi/dsi.h
drivers/gpu/drm/msm/dsi/dsi_host.c
drivers/gpu/drm/msm/dsi/dsi_manager.c