linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: linux-arm-msm@vger.kernel.org, andersson@kernel.org,
	agross@kernel.org, krzysztof.kozlowski@linaro.org
Cc: marijn.suijten@somainline.org,
	Konrad Dybcio <konrad.dybcio@linaro.org>,
	Rob Clark <robdclark@gmail.com>,
	Abhinav Kumar <quic_abhinavk@quicinc.com>,
	Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	Sean Paul <sean@poorly.run>, David Airlie <airlied@gmail.com>,
	Daniel Vetter <daniel@ffwll.ch>,
	Douglas Anderson <dianders@chromium.org>,
	Loic Poulain <loic.poulain@linaro.org>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Rajeev Nandan <quic_rajeevny@quicinc.com>,
	Stephen Boyd <swboyd@chromium.org>,
	dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH 1/8] drm/msm/dsi: Allow 2 CTRLs on v2.5.0
Date: Fri, 20 Jan 2023 22:00:53 +0100	[thread overview]
Message-ID: <20230120210101.2146852-1-konrad.dybcio@linaro.org> (raw)

v2.5.0 support was originally added for SC7280, but this hw is also
present on SM8350, which has one more DSI host. Bump up the dsi count
and fill in the register of the secondary host to allow it to probe.

This should not have any adverse effects on SC7280, as the secondary
CTRL will only be touched if it's defined, anyway.

Fixes: 65c391b31994 ("drm/msm/dsi: Add DSI support for SC7280")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 drivers/gpu/drm/msm/dsi/dsi_cfg.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/msm/dsi/dsi_cfg.c b/drivers/gpu/drm/msm/dsi/dsi_cfg.c
index 33884ebd2f86..6d21f0b33411 100644
--- a/drivers/gpu/drm/msm/dsi/dsi_cfg.c
+++ b/drivers/gpu/drm/msm/dsi/dsi_cfg.c
@@ -223,8 +223,8 @@ static const struct msm_dsi_config sc7280_dsi_cfg = {
 	.num_regulators = ARRAY_SIZE(sc7280_dsi_regulators),
 	.bus_clk_names = dsi_sc7280_bus_clk_names,
 	.num_bus_clks = ARRAY_SIZE(dsi_sc7280_bus_clk_names),
-	.io_start = { 0xae94000 },
-	.num_dsi = 1,
+	.io_start = { 0xae94000, 0xae96000 },
+	.num_dsi = 2,
 };
 
 static const char * const dsi_qcm2290_bus_clk_names[] = {
-- 
2.39.1


             reply	other threads:[~2023-01-20 21:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-20 21:00 Konrad Dybcio [this message]
2023-01-20 21:00 ` [PATCH 2/8] arm64: dts: qcom: sm8350: Add missing #address/size-cells to DSIn Konrad Dybcio
2023-01-21  8:46   ` Dmitry Baryshkov
2023-01-20 21:00 ` [PATCH 3/8] arm64: dts: qcom: sm8350: Fix DSI1 interrupt Konrad Dybcio
2023-01-21  8:46   ` Dmitry Baryshkov
2023-01-20 21:00 ` [PATCH 4/8] arm64: dts: qcom: sm8350: Feed DSI1 PHY clocks to DISPCC Konrad Dybcio
2023-01-21  8:47   ` Dmitry Baryshkov
2023-01-20 21:00 ` [PATCH 5/8] arm64: dts: qcom: sm8350: Fix DSI PHY compatibles Konrad Dybcio
2023-01-21  8:47   ` Dmitry Baryshkov
2023-01-20 21:00 ` [PATCH 6/8] arm64: dts: qcom: sm8350: Fix DSI PLL size Konrad Dybcio
2023-01-21  8:47   ` Dmitry Baryshkov
2023-01-20 21:00 ` [PATCH 7/8] arm64: dts: qcom: sm8350: Add mdss_ prefix to DSIn out labels Konrad Dybcio
2023-01-21  8:48   ` Dmitry Baryshkov
2023-01-20 21:01 ` [PATCH 8/8] arm64: dts: qcom: sm8350: Hook up DSI1 to MDP Konrad Dybcio
2023-01-21  8:48   ` Dmitry Baryshkov
2023-01-21  8:42 ` [PATCH 1/8] drm/msm/dsi: Allow 2 CTRLs on v2.5.0 Dmitry Baryshkov
2023-01-21 10:18 ` Dmitry Baryshkov
2023-01-30 23:46 ` (subset) " Bjorn Andersson

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=20230120210101.2146852-1-konrad.dybcio@linaro.org \
    --to=konrad.dybcio@linaro.org \
    --cc=agross@kernel.org \
    --cc=airlied@gmail.com \
    --cc=andersson@kernel.org \
    --cc=daniel@ffwll.ch \
    --cc=dianders@chromium.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=freedreno@lists.freedesktop.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=loic.poulain@linaro.org \
    --cc=marijn.suijten@somainline.org \
    --cc=neil.armstrong@linaro.org \
    --cc=quic_abhinavk@quicinc.com \
    --cc=quic_rajeevny@quicinc.com \
    --cc=robdclark@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).