drm/i915: Add MIPI_IO WA and program DSI regulators
authorUma Shankar <[email protected]>
Wed, 25 Jan 2017 14:13:23 +0000 (19:43 +0530)
committerJani Nikula <[email protected]>
Wed, 1 Feb 2017 14:18:45 +0000 (16:18 +0200)
commit1881a4234ef03751daf55b62b17e6bb0dbf7792a
tree27b344943fc52298c5e4ef5288fc8f9cab918d2f
parent69aeafeae9b30d797c439a30d1a4ccc8dc5b0eb0
drm/i915: Add MIPI_IO WA and program DSI regulators

Enable MIPI IO WA for BXT DSI as per bspec and
program the DSI regulators.

v2: Moved IO enable to pre-enable as per Mika's
review comments. Also reused the existing register
definition for BXT_P_CR_GT_DISP_PWRON.

v3: Added Programming the DSI regulators as per disable/enable
sequences.

v4: Restricting regulator changes to BXT as suggested by
Jani/Mika

v5: Removed redundant read/modify for regulator register as
per Jani's comment. Maintain enable/disable symmetry as per spec.

Signed-off-by: Uma Shankar <[email protected]>
Signed-off-by: Vidya Srinivas <[email protected]>
Acked-by: Mika Kahola <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_dsi.c