All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Rob Clark <robdclark@gmail.com>, Sean Paul <sean@poorly.run>,
	David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
	Abhinav Kumar <abhinavk@codeaurora.org>,
	Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	Kalyan Thota <kalyan_t@codeaurora.org>,
	Kuogee Hsieh <khsieh@codeaurora.org>
Cc: Rob Herring <robh+dt@kernel.org>,
	Stephen Boyd <swboyd@chromium.org>,
	linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
	freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 5/5] drm/msm/dp: Add sc8180x DP controllers
Date: Wed, 25 Aug 2021 16:42:33 -0700	[thread overview]
Message-ID: <20210825234233.1721068-6-bjorn.andersson@linaro.org> (raw)
In-Reply-To: <20210825234233.1721068-1-bjorn.andersson@linaro.org>

The sc8180x has 2 DP and 1 eDP controllers, add support for these to the
DP driver.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---

Changes since v1:
- Squashed DP and eDP data, as there's no reason to keep them separate today

 drivers/gpu/drm/msm/dp/dp_display.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c
index 4a6132c18e57..c1307230dc47 100644
--- a/drivers/gpu/drm/msm/dp/dp_display.c
+++ b/drivers/gpu/drm/msm/dp/dp_display.c
@@ -128,8 +128,15 @@ static const struct msm_dp_config sc7180_dp_cfg = {
 	.num_dp = 1,
 };
 
+static const struct msm_dp_config sc8180x_dp_cfg = {
+	.io_start = { 0xae90000, 0xae98000, 0xae9a000 },
+	.num_dp = 3,
+};
+
 static const struct of_device_id dp_dt_match[] = {
 	{ .compatible = "qcom,sc7180-dp", .data = &sc7180_dp_cfg },
+	{ .compatible = "qcom,sc8180x-dp", .data = &sc8180x_dp_cfg },
+	{ .compatible = "qcom,sc8180x-edp", .data = &sc8180x_dp_cfg },
 	{}
 };
 
-- 
2.29.2


  parent reply	other threads:[~2021-08-25 23:41 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-25 23:42 [PATCH v2 0/5] drm/msm/dp: Support multiple DP instances and add sc8180x Bjorn Andersson
2021-08-25 23:42 ` [PATCH v2 1/5] drm/msm/dp: Remove global g_dp_display variable Bjorn Andersson
2021-08-26  6:54   ` Stephen Boyd
2021-08-26  6:54     ` Stephen Boyd
2021-08-25 23:42 ` [PATCH v2 2/5] drm/msm/dp: Modify prototype of encoder based API Bjorn Andersson
2021-08-26  7:06   ` Stephen Boyd
2021-08-26  7:06     ` Stephen Boyd
2021-08-25 23:42 ` [PATCH v2 3/5] drm/msm/dp: Support up to 3 DP controllers Bjorn Andersson
2021-08-26  7:13   ` Stephen Boyd
2021-08-26  7:13     ` Stephen Boyd
2021-08-26 16:57     ` Bjorn Andersson
2021-08-26 17:59       ` Stephen Boyd
2021-08-26 17:59         ` Stephen Boyd
2021-08-27  5:20   ` Stephen Boyd
2021-08-27  5:20     ` Stephen Boyd
2021-08-27 17:14     ` Bjorn Andersson
2021-09-28 17:22       ` khsieh
2021-10-01 13:58     ` Doug Anderson
2021-10-01 13:58       ` Doug Anderson
2021-10-01 14:18       ` Bjorn Andersson
2021-08-25 23:42 ` [PATCH v2 4/5] dt-bindings: msm/dp: Add SC8180x compatibles Bjorn Andersson
2021-08-25 23:42 ` Bjorn Andersson [this message]
2021-08-26  7:14   ` [PATCH v2 5/5] drm/msm/dp: Add sc8180x DP controllers Stephen Boyd
2021-08-26  7:14     ` Stephen Boyd

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=20210825234233.1721068-6-bjorn.andersson@linaro.org \
    --to=bjorn.andersson@linaro.org \
    --cc=abhinavk@codeaurora.org \
    --cc=airlied@linux.ie \
    --cc=daniel@ffwll.ch \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=freedreno@lists.freedesktop.org \
    --cc=kalyan_t@codeaurora.org \
    --cc=khsieh@codeaurora.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robdclark@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=sean@poorly.run \
    --cc=swboyd@chromium.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.