From: Shobhit Kumar Date: Fri, 26 Jun 2015 09:02:09 +0000 (+0530) Subject: drm/i915: Use the CRC gpio for panel enable/disable X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~35^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc45e821990781c13dba10e3aef1c9f11af8af08;p=pandora-kernel.git drm/i915: Use the CRC gpio for panel enable/disable The CRC (Crystal Cove) PMIC, controls the panel enable and disable signals for BYT for dsi panels. This is indicated in the VBT fields. Use that to initialize and use GPIO based control for these signals. v2: Use the newer gpiod interface(Alexandre) v3: Remove the redundant checks and unused code (Ville) v4: Moved PWM vs SoC backlight #defines to intel_bios.h (Jani) CC: Samuel Ortiz Cc: Linus Walleij Cc: Alexandre Courbot Cc: Thierry Reding Acked-by: Linus Walleij Reviewed-by: Jani Nikula Tested-by: Ville Syrjälä Signed-off-by: Shobhit Kumar Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed