drm/i915/bxt: Disable DSI PLL for BXT
authorShashank Sharma <shashank.sharma@intel.com>
Tue, 1 Sep 2015 14:11:39 +0000 (19:41 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 23 Sep 2015 08:10:21 +0000 (10:10 +0200)
commitfe88fc6828f6471c9eebc511aa15984d055d11c1
treea2bac135a5f6599fd0c16f356594d47e7387214b
parentcfe01a5eba1ff5723f3a47895fb7e9d890edf157
drm/i915/bxt: Disable DSI PLL for BXT

This patch adds two new functions:
- disable_dsi_pll.
  BXT DSI disable sequence and registers are
  different from previous platforms.
- intel_disable_dsi_pll
  wrapper function to re-use the same code for
  multiple platforms. It checks platform type and
  calls appropriate core pll disable function.

v2: Fixed Jani's review comments.

v3: Rebased on latest drm-nightly branch.

Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Uma Shankar <uma.shankar@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
drivers/gpu/drm/i915/intel_dsi_pll.c