drm/i915: Add more dev ops for MIPI sub encoder
authorShobhit Kumar <shobhit.kumar@intel.com>
Tue, 10 Dec 2013 06:44:54 +0000 (12:14 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Dec 2013 22:52:16 +0000 (23:52 +0100)
commitb9f5e07d0245ff0ddaca453d146fcad056ac12c3
tree732184e3ccbfa5346cf99089bc9fb8a39a87555b
parent9c333719ae95b7c974aa15c6dcc618918b7479c7
drm/i915: Add more dev ops for MIPI sub encoder

Some panels require one time programming if they do not contain their
own eeprom for basic register initialization. The sequence is

Panel Reset --> Send OTP --> Enable Pixel Stream --> Enable the panel

v2: Based on review comments from Jani and Ville
    - Updated the commit message with more details
    - Move the new parameters out of this patch

Signed-off-by: Yogesh Mohan Marimuthu <yogesh.mohan.marimuthu@intel.com>
Signed-off-by: Shobhit Kumar <shobhit.kumar@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dsi.c
drivers/gpu/drm/i915/intel_dsi.h