From: Archit Taneja <architt@codeaurora.org>
To: dri-devel@lists.freedesktop.org, hali@codeaurora.org
Cc: robdclark@gmail.com, linux-arm-msm@vger.kernel.org,
srinivas.kandagatla@linaro.org,
Archit Taneja <architt@codeaurora.org>
Subject: [PATCH v3 0/3] drm/msm: Use device graph to parse connected panels
Date: Sun, 2 Aug 2015 21:48:21 +0530 [thread overview]
Message-ID: <1438532304-23885-1-git-send-email-architt@codeaurora.org> (raw)
In-Reply-To: <1435304585-4451-1-git-send-email-architt@codeaurora.org>
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
next prev parent reply other threads:[~2015-08-02 16:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-26 7:43 [PATCH v2 0/3] drm/msm: Use device graph to parse connected panels Archit Taneja
2015-06-26 7:43 ` [PATCH v2 1/3] drm/msm: dsi host: add missing of_node_put() Archit Taneja
2015-06-26 7:43 ` [PATCH v2 2/3] drm/msm: dsi host: Use device graph parsing to parse connected panel Archit Taneja
2015-06-26 7:43 ` [PATCH v2 3/3] drm/msm: mdp4 lvds: get panel node via of graph parsing Archit Taneja
2015-08-02 16:18 ` Archit Taneja [this message]
2015-08-02 16:18 ` [PATCH v3 1/3] drm/msm: dsi host: add missing of_node_put() Archit Taneja
2015-08-02 16:18 ` [PATCH v3 2/3] drm/msm: dsi host: Use device graph parsing to parse connected panel Archit Taneja
2015-08-02 16:18 ` [PATCH v3 3/3] drm/msm: mdp4 lvds: get panel node via of graph parsing Archit Taneja
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1438532304-23885-1-git-send-email-architt@codeaurora.org \
--to=architt@codeaurora.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=hali@codeaurora.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=robdclark@gmail.com \
--cc=srinivas.kandagatla@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox