From: Jani Nikula Date: Mon, 5 Dec 2016 07:30:34 +0000 (+0200) Subject: drm/i915/bxt: add bxt dsi gpio element support X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=213e08ad60baca3676d6633ca91e523735eed474;p=linux-beck.git drm/i915/bxt: add bxt dsi gpio element support Request the GPIO by index through the consumer API. For now, use a quick hack to store the already requested ones, simply because I have no idea whether this actually works or not, and I have no way to test it. v2 by Mika: switch *NULL* to *"panel"* when requesting gpio for MIPI/DSI panel. Signed-off-by: Jani Nikula Signed-off-by: Mika Kahola Link: http://patchwork.freedesktop.org/patch/msgid/1480923034-21916-1-git-send-email-mika.kahola@intel.com --- diff --git a/drivers/gpu/drm/i915/intel_dsi_panel_vbt.c b/drivers/gpu/drm/i915/intel_dsi_panel_vbt.c index 47cd1b20fb3e..8f683b8b1816 100644 --- a/drivers/gpu/drm/i915/intel_dsi_panel_vbt.c +++ b/drivers/gpu/drm/i915/intel_dsi_panel_vbt.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include