The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Bjorn Andersson <andersson@kernel.org>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: Mahadevan P <mahadevan.p@oss.qualcomm.com>,
	 Konrad Dybcio <konradybcio@kernel.org>,
	Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	 cros-qcom-dts-watchers@chromium.org,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	 linux-kernel@vger.kernel.org,
	Mahadevan P <mahap@qti.qualcomm.com>
Subject: Re: [PATCH v2 2/3] arm64: dts: qcom: kodiak: move dp data-lanes to SoC dtsi
Date: Wed, 15 Jul 2026 14:57:46 -0500	[thread overview]
Message-ID: <alfj97IYZOYjfsZ0@baldur> (raw)
In-Reply-To: <CAO9ioeVd=fcd5SF-J8Vo9DNEz_QzyRvo25-7i-FxGUv3j4qbAA@mail.gmail.com>

On Sun, Jun 28, 2026 at 02:17:33PM +0300, Dmitry Baryshkov wrote:
> On Sun, 28 Jun 2026 at 05:26, Bjorn Andersson <andersson@kernel.org> wrote:
> >
> > On Fri, Jun 26, 2026 at 11:50:40PM +0300, Dmitry Baryshkov wrote:
> > > On Wed, Apr 29, 2026 at 12:10:41PM +0530, Mahadevan P wrote:
> > > > From: Mahadevan P <mahap@qti.qualcomm.com>
> > > >
> > > > The connection between the QMP Combo PHY and the DisplayPort controller
> > > > is fixed in SoC, so move the data-lanes property to kodiak.dtsi and
> > > > drop the per-board overrides.
> > > >
> > > > Also remove the redundant remote-endpoint cross-links and
> > > > orientation-switch property from qcs6490-rb3gen2 and
> > > > qcs6490-thundercomm-rubikpi3, which are already defined in kodiak.dtsi.
> > >
> > > Separate commit.
> > >
> > > >
> > > > Signed-off-by: Mahadevan P <mahadevan.p@oss.qualcomm.com>
> > > > ---
> > > >  arch/arm64/boot/dts/qcom/kodiak.dtsi                          |  1 +
> > > >  arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts            |  4 ----
> > > >  arch/arm64/boot/dts/qcom/qcm6490-particle-tachyon.dts         |  4 ----
> > > >  arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts                  | 11 -----------
> > > >  arch/arm64/boot/dts/qcom/qcs6490-thundercomm-minipc-g1iot.dts |  1 -
> > > >  arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts     |  3 ---
> > > >  arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi                |  1 -
> > > >  7 files changed, 1 insertion(+), 24 deletions(-)
> > > >
> > > > diff --git a/arch/arm64/boot/dts/qcom/kodiak.dtsi b/arch/arm64/boot/dts/qcom/kodiak.dtsi
> > > > index 96ac3656ab5a..0acc6917d7aa 100644
> > > > --- a/arch/arm64/boot/dts/qcom/kodiak.dtsi
> > > > +++ b/arch/arm64/boot/dts/qcom/kodiak.dtsi
> > > > @@ -5704,6 +5704,7 @@ dp_in: endpoint {
> > > >                                     port@1 {
> > > >                                             reg = <1>;
> > > >                                             mdss_dp_out: endpoint {
> > > > +                                                   data-lanes = <0 1>;
> > >
> > > This is not true. The SoC has 4 lanes going from the DP controller to
> > > the QMP PHY.
> > >
> >
> > Does this property really denote the number of lanes and mapping the
> > internal pipe between DP TX and PHY? Doesn't it tell how the external
> > mapping looks like?
> 
> The external mappings are described as a part of the QMP PHY (see
> sc7180-ecs-liva-qc710.dts as one of the recent examples). On the other
> hand, this property should describe the internal mappings (i.e.
> platforms should have 4 lanes here, in some cases in a weird order,
> like talos.dtsi).
> 

But this then denotes the internal mapping, within the SoC. In what
cases is that not a constant for the given SoC?

> Ideally SC7280 Herobrine should be updated to follow the current
> style, but it is complicated as almost nobody has the actual hardware.
> 

The "problem" Herobrine is that the DP vs USB pins are hard-wired on the
PCB, so you will always only have the fixed 2+2 configuration. The
"internal" mapping should be the same as on all other targets, but I
presume we claim that there's only 2 lanes internally to inform the OS
that it doesn't have the capability of driving 4 lanes of DP?

Regards,
Bjorn

> -- 
> With best wishes
> Dmitry

  reply	other threads:[~2026-07-15 19:57 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-29  6:40 [PATCH v2 0/3] arm64: dts: qcom: kodiak: Enable 4-lane DP via QMP Combo PHY Mahadevan P
2026-04-29  6:40 ` [PATCH v2 1/3] arm64: dts: qcom: kodiak: allow mode-switch events to reach the " Mahadevan P
2026-05-15 10:57   ` Konrad Dybcio
2026-04-29  6:40 ` [PATCH v2 2/3] arm64: dts: qcom: kodiak: move dp data-lanes to SoC dtsi Mahadevan P
2026-06-26 20:50   ` Dmitry Baryshkov
2026-06-28  2:26     ` Bjorn Andersson
2026-06-28 11:17       ` Dmitry Baryshkov
2026-07-15 19:57         ` Bjorn Andersson [this message]
2026-04-29  6:40 ` [PATCH v2 3/3] arm64: dts: qcom: kodiak: Set up 4-lane DP Mahadevan P
2026-06-26 20:51   ` Dmitry Baryshkov
2026-06-28  2:28   ` Bjorn Andersson
2026-06-28 12:21     ` Dmitry Baryshkov
2026-06-29  6:53       ` Mahadevan P
2026-05-22  3:41 ` [PATCH v2 0/3] arm64: dts: qcom: kodiak: Enable 4-lane DP via QMP Combo PHY Bjorn Andersson
2026-06-19 15:34   ` Konrad Dybcio
2026-06-21 22:11     ` Doug Anderson
2026-06-26 16:02       ` Konrad Dybcio
2026-06-26 20:49         ` Dmitry Baryshkov

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=alfj97IYZOYjfsZ0@baldur \
    --to=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=cros-qcom-dts-watchers@chromium.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mahadevan.p@oss.qualcomm.com \
    --cc=mahap@qti.qualcomm.com \
    --cc=robh@kernel.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