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

Archit Taneja architt at codeaurora.org
Sun Aug 2 09:18:21 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 v3:

- Some changes suggested by Hai
- error handling when using of_graph helpers

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                | 68 ++++++++++++++++++-----
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c           | 33 ++++++++---
 drivers/gpu/drm/msm/msm_drv.h                     |  1 +
 4 files changed, 93 insertions(+), 24 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