drm/msm/hdmi: Clean up connector gpio usage
authorArchit Taneja <architt@codeaurora.org>
Thu, 25 Feb 2016 05:52:36 +0000 (11:22 +0530)
committerRob Clark <robdclark@gmail.com>
Mon, 29 Feb 2016 14:48:30 +0000 (09:48 -0500)
commitdc50f782c99a48bf49c0ca3e3f407f207d303d81
tree3ddab1e8b66b2163f48bd307529d94dfa790f0a2
parentd2eaa59000c7717e68a75cf2c106f056d2bc30b4
drm/msm/hdmi: Clean up connector gpio usage

Make gpio allocation and usage iterative by parsing the gpios on a given
platform from a list. This gives us flexibility over what all gpios exist
for a platform, whether they are input or output, and what value they
should be set to.

In particular, this will make HDMI on 8x96 platforms easier to integrate
with the driver, as it doesn't have a HPD gpio input to them. Also, it
cleans things up a bit.

We still use the legacy gpio api here, as we might need to backport this
driver to downstream kernels.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/hdmi/hdmi.c
drivers/gpu/drm/msm/hdmi/hdmi.h
drivers/gpu/drm/msm/hdmi/hdmi_connector.c
This page took 0.025378 seconds and 5 git commands to generate.