From: sashiko-bot@kernel.org
To: "Jens Glathe" <jens.glathe@oldschoolsolutions.biz>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 3/3] arm64: dts: qcom: Add Lenovo IdeaPad Slim 5x 14Q8X9
Date: Sun, 29 Nov 2026 22:18:01 +0000 [thread overview]
Message-ID: <sashiko-outbox-240074@kernel.org> (raw)
In-Reply-To: <20261129-x1-ideapad-slim5x-v2-3-2afd9ddee194@oldschoolsolutions.biz>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] arm64: dts: qcom: swapped vdda-phy and vdda-pll supplies on
USB QMP PHYs
- [Medium] arm64: dts: qcom: missing EC reset GPIO 65 reservation on
IdeaPad Slim 5x
--
commit 59c5244ea7a55016f989af6bca0f341c60ee44d4
Author: Jens Glathe <jens.glathe@oldschoolsolutions.biz>
arm64: dts: qcom: Add Lenovo IdeaPad Slim 5x 14Q8X9
This commit adds a common DTSI and board device trees for the LCD and OLED
variants of the X1P42100-based Lenovo IdeaPad Slim 5x 14Q8X9 laptop.
> diff --git a/arch/arm64/boot/dts/qcom/x1p42100-lenovo-ideapad-slim5x.dtsi b/arch/arm64/boot/dts/qcom/x1p42100-lenovo-ideapad-slim5x.dtsi
> new file mode 100644
> index 0000000000000..b876bebbf8a1a
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/x1p42100-lenovo-ideapad-slim5x.dtsi
[ ... ]
> +&tlmm {
> + gpio-reserved-ranges = <34 2>, /* Unused */
> + <44 4>,
> + <72 2>; /* Secure EC I2C connection (?) */
[Severity: Medium]
Should gpio-reserved-ranges also reserve <65 1> for the EC reset line, as
done on other Purwa and Hamoa laptops such as in d15d83967b11 ("arm64: dts:
qcom: x1p42100-thinkbook-16: Mark the EC reset gpio as reserved")?
Leaving TLMM GPIO 65 unreserved allows it to be requested or reconfigured,
which resets the embedded controller and can leave the laptop unable to
power up until the battery is disconnected.
[ ... ]
> +&usb_1_ss0_qmpphy {
> + vdda-phy-supply = <&vreg_l2j_1p2>;
> + vdda-pll-supply = <&vreg_l1j_0p8>;
> +
> + status = "okay";
> +};
> +
> +&usb_1_ss0_qmpphy_out {
> + remote-endpoint = <&pmic_glink_ss0_ss_in>;
> +};
> +
> +&usb_1_ss1 {
> + dr_mode = "host";
> +
> + status = "okay";
> +};
> +
> +&usb_1_ss1_dwc3_hs {
> + remote-endpoint = <&pmic_glink_ss1_hs_in>;
> +};
> +
> +&usb_1_ss1_hsphy {
> + vdd-supply = <&vreg_l3j_0p8>;
> + vdda12-supply = <&vreg_l2j_1p2>;
> +
> + phys = <&smb2360_1_eusb2_repeater>;
> +
> + status = "okay";
> +};
> +
> +&usb_1_ss1_qmpphy {
> + vdda-phy-supply = <&vreg_l2j_1p2>;
> + vdda-pll-supply = <&vreg_l2d_0p9>;
> +
> + status = "okay";
> +};
[ ... ]
> +&usb_1_ss2_qmpphy {
> + vdda-phy-supply = <&vreg_l2j_1p2>;
> + vdda-pll-supply = <&vreg_l2d_0p9>;
[ ... ]
> +&usb_mp_qmpphy0 {
> + vdda-phy-supply = <&vreg_l3e_1p2>;
> + vdda-pll-supply = <&vreg_l3c_0p8>;
> +
> + status = "okay";
> +};
> +
> +&usb_mp_qmpphy1 {
> + vdda-phy-supply = <&vreg_l3e_1p2>;
> + vdda-pll-supply = <&vreg_l3c_0p8>;
> +
> + status = "okay";
> +};
[Severity: Medium]
Are vdda-phy-supply and vdda-pll-supply swapped on usb_1_ss0_qmpphy,
usb_1_ss1_qmpphy, usb_1_ss2_qmpphy, usb_mp_qmpphy0, and usb_mp_qmpphy1?
The QMP PHY expects the ~0.9V rail (vreg_l1j_0p8, vreg_l2d_0p9, or
vreg_l3c_0p8) on vdda-phy-supply and the 1.2V rail (vreg_l2j_1p2 or
vreg_l3e_1p2) on vdda-pll-supply, matching mdss_dp3_phy and the PCIe PHYs
earlier in this file as well as 7c1d0ef2969e ("arm64: dts: qcom: purwa: Fix
swapped USB QMP PHY vdda-phy/vdda-pll supplies"). Because the QMP PHY
drivers request different current loads for vdda-phy (21800 uA) and
vdda-pll (36000 uA), swapping them applies the wrong load votes to each
RPMh LDO.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261129-x1-ideapad-slim5x-v2-0-2afd9ddee194@oldschoolsolutions.biz?part=3
prev parent reply other threads:[~2026-11-29 22:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 22:01 [PATCH v2 0/3] arm64: dts: qcom: Add Lenovo IdeaPad Slim 5x 14Q8X9 Jens Glathe via B4 Relay
2026-11-29 22:01 ` [PATCH v2 1/3] dt-bindings: arm: qcom: Add Lenovo IdeaPad Slim 5 variants Jens Glathe via B4 Relay
2026-11-29 22:01 ` [PATCH v2 2/3] firmware: qcom: scm: Allow QSEECOM on Lenovo IdeaPad 5 models Jens Glathe via B4 Relay
2026-11-29 22:01 ` [PATCH v2 3/3] arm64: dts: qcom: Add Lenovo IdeaPad Slim 5x 14Q8X9 Jens Glathe via B4 Relay
2026-11-29 22:18 ` sashiko-bot [this message]
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=sashiko-outbox-240074@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jens.glathe@oldschoolsolutions.biz \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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