From: Neil Armstrong <neil.armstrong@linaro.org>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: Vinod Koul <vkoul@kernel.org>,
Kishon Vijay Abraham I <kishon@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH RFC 3/3] arm64: dts: qcom: x1e78100-lenovo-thinkpad-t14s: add HDMI nodes
Date: Fri, 22 Aug 2025 13:02:56 +0200 [thread overview]
Message-ID: <431de5f8-2dca-4ec0-9b94-fcc12480e8c9@linaro.org> (raw)
In-Reply-To: <as7pbmhfgsg3ht3s5lu25pfjjamaxyonuohkuohono3kr2mxii@posspuko4vwa>
On 22/08/2025 13:01, Dmitry Baryshkov wrote:
> On Thu, Aug 21, 2025 at 03:53:28PM +0200, Neil Armstrong wrote:
>> The Thinkpad T14s embeds a transparent 4lanes DP->HDMI transceiver
>> connected to the third QMP Combo PHY 4 lanes.
>>
>> Add all the data routing, disable mode switching and specify the
>> QMP Combo PHY should be in DP-Only mode to route the 4 lanes to
>> the underlying DP phy.
>>
>> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
>> ---
>> .../dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi | 44 ++++++++++++++++++++++
>> 1 file changed, 44 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
>> index 4cf61c2a34e31233b1adc93332bcabef22de3f86..5b62b8c3123633360f249e3ecdc8ea23f44e8e09 100644
>> --- a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
>> @@ -62,6 +62,20 @@ switch-lid {
>> };
>> };
>>
>> +
>> + hdmi-connector {
>> + compatible = "hdmi-connector";
>> + type = "a";
>> + pinctrl-0 = <&hdmi_hpd_default>;
>> + pinctrl-names = "default";
>
> If this is a DP HPD signal, it should be a part of the DP device.
>
>> +
>> + port {
>> + hdmi_con: endpoint {
>> + remote-endpoint = <&usb_1_ss2_qmpphy_out>;
>
> Please describe the transparent bridge too. It can be covered by the
> simple-bridge.yaml / simple-bridge.c
Ack, indeed it could take the pinctrl thing.
Neil
>
>
>> + };
>> + };
>> + };
>> +
>> pmic-glink {
>> compatible = "qcom,x1e80100-pmic-glink",
>> "qcom,sm8550-pmic-glink",
>> @@ -1007,6 +1021,14 @@ &mdss_dp1_out {
>> link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
>> };
>>
>> +&mdss_dp2 {
>> + status = "okay";
>> +};
>> +
>> +&mdss_dp2_out {
>> + data-lanes = <0 1 2 3>;
>> +};
>> +
>> &mdss_dp3 {
>> /delete-property/ #sound-dai-cells;
>>
>> @@ -1263,6 +1285,12 @@ &tlmm {
>> <72 2>, /* Secure EC I2C connection (?) */
>> <238 1>; /* UFS Reset */
>>
>> + hdmi_hpd_default: hdmi-hpd-default-state {
>> + pins = "gpio126";
>> + function = "usb2_dp";
>> + bias-disable;
>> + };
>> +
>> eusb3_reset_n: eusb3-reset-n-state {
>> pins = "gpio6";
>> function = "gpio";
>> @@ -1486,6 +1514,22 @@ &usb_1_ss0_qmpphy_out {
>> remote-endpoint = <&retimer_ss0_ss_in>;
>> };
>>
>> +&usb_1_ss2_qmpphy {
>> + vdda-phy-supply = <&vreg_l2j_1p2>;
>> + vdda-pll-supply = <&vreg_l2d_0p9>;
>> +
>> + qcom,combo-initial-mode = "dp";
>> +
>> + /delete-property/ mode-switch;
>> + /delete-property/ orientation-switch;
>> +
>> + status = "okay";
>> +};
>> +
>> +&usb_1_ss2_qmpphy_out {
>> + remote-endpoint = <&hdmi_con>;
>> +};
>> +
>> &usb_1_ss1_hsphy {
>> vdd-supply = <&vreg_l3j_0p8>;
>> vdda12-supply = <&vreg_l2j_1p2>;
>>
>> --
>> 2.34.1
>>
>
next prev parent reply other threads:[~2025-08-22 11:02 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-21 13:53 [PATCH RFC 0/3] phy: qcom: qmp-combo: set default qmpphy_mode from DT for Thinkpad HDMI support Neil Armstrong
2025-08-21 13:53 ` [PATCH RFC 1/3] dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: Document default phy mode Neil Armstrong
2025-08-22 10:57 ` Dmitry Baryshkov
2025-08-22 11:02 ` Neil Armstrong
2025-08-22 11:39 ` Dmitry Baryshkov
2025-08-23 6:22 ` Xilin Wu
2025-08-23 14:02 ` Dmitry Baryshkov
2025-08-21 13:53 ` [PATCH RFC 2/3] phy: qcom: qmp-combo: get default qmpphy_mode from DT Neil Armstrong
2025-08-21 13:53 ` [PATCH RFC 3/3] arm64: dts: qcom: x1e78100-lenovo-thinkpad-t14s: add HDMI nodes Neil Armstrong
2025-08-22 11:01 ` Dmitry Baryshkov
2025-08-22 11:02 ` Neil Armstrong [this message]
2025-08-22 11:40 ` Dmitry Baryshkov
2025-08-22 11:45 ` Stephan Gerhold
2025-08-22 11:57 ` Dmitry Baryshkov
2025-08-22 12:20 ` Stephan Gerhold
2025-09-06 8:41 ` Jens Glathe
2025-09-08 7:16 ` Konrad Dybcio
2025-09-08 7:17 ` Konrad Dybcio
2025-09-08 9:39 ` Dmitry Baryshkov
2025-09-08 11:40 ` Konrad Dybcio
2025-09-08 12:48 ` Dmitry Baryshkov
2025-09-08 12:37 ` Neil Armstrong
2025-09-06 8:45 ` [PATCH RFC 0/3] phy: qcom: qmp-combo: set default qmpphy_mode from DT for Thinkpad HDMI support Jens Glathe
2025-09-08 13:05 ` Neil Armstrong
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=431de5f8-2dca-4ec0-9b94-fcc12480e8c9@linaro.org \
--to=neil.armstrong@linaro.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=kishon@kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=robh@kernel.org \
--cc=vkoul@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
all inboxes | Powered by JetHome®