diff options
author | Archit Taneja <architt@codeaurora.org> | 2015-06-09 14:17:22 +0530 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2015-08-15 18:27:23 -0400 |
commit | 3d6df06249277aabaf895951855c4ed704b038bb (patch) | |
tree | 9305857241bedfc1631cbe71ad41f5dc463ee538 /drivers/gpu/drm/msm/msm_drv.h | |
parent | f7009d266d8b2f4b54da42399aaa536d74fe3e7c (diff) | |
download | lwn-3d6df06249277aabaf895951855c4ed704b038bb.tar.gz lwn-3d6df06249277aabaf895951855c4ed704b038bb.zip |
drm/msm: mdp4 lvds: get panel node via of graph parsing
We currently get the output connected to LVDS by looking for a phandle
called 'qcom,lvds-panel' under the mdp DT node.
Use the more standard of_graph approach to create an lvds output port,
and retrieve the panel node from the port's endpoint data.
v3
- Fix return value checks of of_graph_* calls.
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_drv.h')
-rw-r--r-- | drivers/gpu/drm/msm/msm_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h index 12c97cf27e13..3be7a56b14f1 100644 --- a/drivers/gpu/drm/msm/msm_drv.h +++ b/drivers/gpu/drm/msm/msm_drv.h @@ -30,6 +30,7 @@ #include <linux/list.h> #include <linux/iommu.h> #include <linux/types.h> +#include <linux/of_graph.h> #include <asm/sizes.h> #ifndef CONFIG_OF |