mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, prahlad.valluru@oss.qualcomm.com,
	Prahlad Valluru <vvalluru@qti.qualcomm.com>
Subject: Re: [PATCH v3 1/2] arm64: dts: qcom: monaco: add lt8713sx bridge with displayport
Date: Mon, 9 Mar 2026 14:38:41 +0530	[thread overview]
Message-ID: <aa6OGbZjT2SdTxJL@hu-vishsain-blr.qualcomm.com> (raw)
In-Reply-To: <wvjfla4rk2qxzayloov6ofna73kl22nls2a6h5uzvap4kasfh2@nqvpdsassfcx>

On Sun, Feb 22, 2026 at 09:16:54PM +0200, Dmitry Baryshkov wrote:
> On Sun, Feb 22, 2026 at 04:56:45AM +0530, Vishnu Saini wrote:
> > On Sun, Dec 28, 2025 at 05:49:30PM +0200, Dmitry Baryshkov wrote:
> > > On Sun, Dec 28, 2025 at 07:10:38PM +0530, Vishnu Saini wrote:
> > > > Monaco-evk has LT8713sx which act as DP to 3 DP output
> > > > converter. Edp PHY from monaco soc is connected to lt8713sx
> > > > as input and output of lt8713sx is connected to 3 mini DP ports.
> > > > 
> > > > Two ports are available in mainboard and one port
> > > > is available on Mezz board.
> > > > 
> > > > lt8713sx is connected to soc over i2c0 and with reset gpio
> > > > connected to pin6 of ioexpander5.
> > > > 
> > > > Enable the edp nodes from monaco and enable lontium lt8713sx
> > > > bridge node.
> > > > 
> > > > Co-developed-by: Prahlad Valluru <vvalluru@qti.qualcomm.com>
> > > > Signed-off-by: Prahlad Valluru <vvalluru@qti.qualcomm.com>
> > > > Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
> > > > ---
> > > >  arch/arm64/boot/dts/qcom/monaco-evk.dts | 89 +++++++++++++++++++++++++++++++++
> > > >  arch/arm64/boot/dts/qcom/monaco.dtsi    |  6 +++
> > > >  2 files changed, 95 insertions(+)
> > > > 
> > > 
> > > > @@ -396,10 +456,39 @@ expander6: gpio@3e {
> > > >  	};
> > > >  };
> > > >  
> > > > +&mdss {
> > > > +	status = "okay";
> > > > +};
> > > > +
> > > > +&mdss_dp0 {
> > > > +	pinctrl-0 = <&dp_hot_plug_det>;
> > > > +	pinctrl-names = "default";
> > > 
> > > Is there a single HPD? How does it work? What happens if either of
> > > connected displays sends a HPD pulse signal?
> > 
> > Yes, from the SoC’s point of view there is a single HPD.
> > LT8713SX aggregates multiple downstream HPDs from connected displays into one upstream HPD to soc.
> > When any display is connected, the bridge firmware notices that one downstream port changed state and
> > It aggregates a single HPD to soc. The SoC treats this as a DP interrupt and AUX transactions start.
> 
> Are HPD Pulse IRQs also combined?
yes, HPD Pulse IRQs are also combined. The bridge behaviour is similar to DP MST dongles.
When any display is asserted, SOC will receive a short IRQ pulse and performs AUX/DPCD transactions
to determines SST/MST topology.

> >  
> > > > +
> > > > +	status = "okay";
> > > > +};
> > > > +
> > > > +&mdss_dp0_out {
> > > > +	data-lanes = <0 1 2 3>;
> > > > +	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
> > > > +	remote-endpoint = <&lt8713sx_dp_in>;
> > > 
> > > Does the bridge use DP signalling or does it use USB-C signalling here?
> > > And even if it is DP signalling, it should be correctly described as
> > > it uses signals coming from the QMP PHY. See how it's done for laptops
> > > with DP-HDMI convertors.
> > Yes, the LT8713SX is using native DP signalling, not USB‑C DP Alt‑Mode.
> > The QMP DP PHY is already implicitly part of the mdss_dp0 pipeline,
> > similar to other Qualcomm platforms where external DP bridges are connected. Because of that, I intentionally modeled the connection as:
> > MDSS DP controller -> LT8713SX bridge
> > This keeps the DT consistent with existing Qualcomm DP bridge descriptions, where the PHY is not represented as a separate graph endpoint unless there is external lane muxing or alternative signalling paths.
> > If you feel strongly that the DT should explicitly model:
> > MDSS DP controller -> QMP DP PHY → LT8713SX bridge
> > I can update the graph accordingly. Otherwise, please let me know if documenting this more clearly in the binding or commit message would be sufficient.
> 
> Please check how (and why) other boards handle the similar usecase of
> DP-to-HDMI bridges. To put it short, in your DT there is no notion that
> it is a native DP rather than USB-C signalling.

Sorry i couldn't find any good reference for DP-HDMI bridges to check signaling. I checked these
DP-HDMI bridges PS175, PS176, PS186, PS195, PS196, RTD2171, RTD2142, TI DP159, VM5200 but none of them 
wire DT graph endpoints, Please let me know if there are any specific DP-HDMI bridge you are referring to.

I looked for other references where USB‑C signaling is used, in those case the datapath always involves a
USB‑C controller/Type‑C mux/switch explicitly represented in the DT.
For native DP signaling, the common pattern is that the DP controller output is wired directly to a
DP connector/bridge, without any UCB‑C components in the path.


> > 
> > > > +};
> > > > +
> > > > +&mdss_dp0_phy {
> > > > +	vdda-phy-supply = <&vreg_l5a>;
> > > > +	vdda-pll-supply = <&vreg_l4a>;
> > > > +
> > > > +	status = "okay";
> > > > +};
> > > > +
> 
> -- 
> With best wishes
> Dmitry

  reply	other threads:[~2026-03-09  9:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-28 13:40 [PATCH v3 0/2] Enable lt8713sx bridge with displayport for monaco-evk Vishnu Saini
2025-12-28 13:40 ` [PATCH v3 1/2] arm64: dts: qcom: monaco: add lt8713sx bridge with displayport Vishnu Saini
2025-12-28 15:49   ` Dmitry Baryshkov
2026-02-21 23:26     ` Vishnu Saini
2026-02-22 19:16       ` Dmitry Baryshkov
2026-03-09  9:08         ` Vishnu Saini [this message]
2026-03-09 19:19           ` Dmitry Baryshkov
2026-03-13  9:23             ` Vishnu Saini
2026-03-13 17:01               ` Dmitry Baryshkov
2026-03-16  3:14                 ` Vishnu Saini
2025-12-28 13:40 ` [PATCH v3 2/2] arm64: defconfig: Enable Lontium LT8713sx driver Vishnu Saini
2025-12-28 15:44   ` Dmitry Baryshkov
2025-12-28 15:43 ` [PATCH v3 0/2] Enable lt8713sx bridge with displayport for monaco-evk Dmitry Baryshkov
2025-12-29 20:39 ` Rob Herring
2026-01-21 14:12 ` Bjorn Andersson
2026-02-21 23:41   ` Vishnu Saini

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=aa6OGbZjT2SdTxJL@hu-vishsain-blr.qualcomm.com \
    --to=vishnu.saini@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.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=prahlad.valluru@oss.qualcomm.com \
    --cc=robh@kernel.org \
    --cc=vvalluru@qti.qualcomm.com \
    /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

all inboxes | Powered by JetHome®