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-Tag: v4.11-rc1~83^2~47^2~107 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=213e08ad60baca3676d6633ca91e523735eed474;p=platform%2Fkernel%2Flinux-exynos.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 47cd1b2..8f683b8 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