Skip to content

Commit

Permalink
drm/i915: Enable MIPI PHY transparent latch for DSI Port C
Browse files Browse the repository at this point in the history
Common bit to be used for both DSI Port A & DSI Port C.

Signed-off-by: Gaurav K Singh <gaurav.k.singh@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Gaurav K Singh authored and Daniel Vetter committed Dec 10, 2014
1 parent 3c860ab commit bf344e8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion drivers/gpu/drm/i915/intel_dsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,12 @@ static void intel_dsi_device_ready(struct intel_encoder *encoder)
usleep_range(2500, 3000);

val = I915_READ(MIPI_PORT_CTRL(port));
I915_WRITE(MIPI_PORT_CTRL(port), val | LP_OUTPUT_HOLD);

/* Enable MIPI PHY transparent latch
* Common bit for both MIPI Port A & MIPI Port C
* No similar bit in MIPI Port C reg
*/
I915_WRITE(MIPI_PORT_CTRL(PORT_A), val | LP_OUTPUT_HOLD);
usleep_range(1000, 1500);

I915_WRITE(MIPI_DEVICE_READY(port), ULPS_STATE_EXIT);
Expand Down

0 comments on commit bf344e8

Please sign in to comment.