]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Check for platform specific GPIO config
authorUma Shankar <uma.shankar@intel.com>
Wed, 8 Feb 2017 10:50:50 +0000 (16:20 +0530)
committerJani Nikula <jani.nikula@intel.com>
Wed, 15 Feb 2017 15:32:26 +0000 (17:32 +0200)
commit4cba6893ac97b35bef4f9c5eb68f67266ff8fd6e
tree34e96768034bfe7659f4f4f08fe99ac7dd537ce6
parent5b25d77719d4dabe3c3d3c82854792f6971ae2c1
drm/i915: Check for platform specific GPIO config

Panel GPIO control should be done based on platform. Add a check
to restrict VLV and CHT specific GPIO confirguration, so that
they dont apply to other platforms.

The VBT spec fails to mention the PMIC backlight control option is valid
only for VLV/CHT, and the field may be set to "PMIC" for BXT even if
PMIC is not desired or possible.

Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Vidya Srinivas <vidya.srinivas@intel.com>
[Jani: amended commit message a bit and fixed indentation.]
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1486551058-22596-2-git-send-email-vidya.srinivas@intel.com
drivers/gpu/drm/i915/intel_dsi.c