[PATCH v2 0/3] drm/msm: Use device graph to parse connected panels

Archit Taneja architt at codeaurora.org
Fri Jun 26 00:43:02 PDT 2015

drm/msm currently relies on phandles/child nodes to get data about
connected panels to LVDS and DSI. This method has known limitations.

Use device graphs in DT to represent the connections between the encoder
outputs and the panels. Use of_graph helpers in the driver to get the
panel device node.

The usage of device graphs should also simplify management in dual dsi
mode. I haven't tried this out yet, though.

changes in v2:

- Fix usage of of_node_put()

Archit Taneja (3):
  drm/msm: dsi host: add missing of_node_put()
  drm/msm: dsi host: Use device graph parsing to parse connected panel
  drm/msm: mdp4 lvds: get panel node via of graph parsing

 Documentation/devicetree/bindings/drm/msm/dsi.txt | 15 ++++++
 drivers/gpu/drm/msm/dsi/dsi_host.c                | 62 ++++++++++++++++++-----
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c           | 33 ++++++++----
 drivers/gpu/drm/msm/msm_drv.h                     |  1 +
 4 files changed, 88 insertions(+), 23 deletions(-)

The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation

More information about the dri-devel mailing list