From: sashiko-bot@kernel.org
To: "Jianfeng Liu" <liujianfeng1994@gmail.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 2/3] arm64: dts: qcom: Add Acer Swift SFA14-11
Date: Tue, 22 Sep 2026 10:26:34 +0000 [thread overview]
Message-ID: <20260922102635.706901F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260922100501.8888-3-liujianfeng1994@gmail.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] dts: qcom: missing power-supply for backlight causes display blackout
- [High] dts: qcom: swapped QMP PHY regulators risk hardware damage
--
commit 11d3bb0749b2f4ee1528ce4d8e70f906912678bb
Author: Jianfeng Liu <liujianfeng1994@gmail.com>
arm64: dts: qcom: Add Acer Swift SFA14-11
This commit adds device tree support for the Acer Swift SFA14-11 laptop,
based on the Qualcomm X1E78100 SoC.
> diff --git a/arch/arm64/boot/dts/qcom/x1e78100-acer-sfa14-11.dts b/arch/arm64/boot/dts/qcom/x1e78100-acer-sfa14-11.dts
> new file mode 100644
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/x1e78100-acer-sfa14-11.dts
[ ... ]
> + backlight: backlight {
> + compatible = "pwm-backlight";
> + pwms = <&pm8550_pwm 3 500000>;
> + enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>;
> +
> + brightness-levels = <30 255>;
> + num-interpolated-steps = <225>;
> + default-brightness-level = <170>;
> +
> + pinctrl-0 = <&edp_bl_en>, <&edp_bl_pwm>;
> + pinctrl-names = "default";
> + };
[Severity: High]
Should power-supply = <&vreg_edp_bl>; be added here to ensure the backlight
regulator is claimed and remains enabled?
[ ... ]
> + vreg_edp_bl: regulator-edp-bl {
> + compatible = "regulator-fixed";
> +
> + regulator-name = "VBL9";
> + regulator-min-microvolt = <3600000>;
> + regulator-max-microvolt = <3600000>;
> +
> + gpio = <&pmc8380_3_gpios 10 GPIO_ACTIVE_HIGH>;
> + enable-active-high;
> +
> + pinctrl-0 = <&edp_bl_reg_en>;
> + pinctrl-names = "default";
> +
> + regulator-boot-on;
> + };
[Severity: High]
Does this regulator need an active consumer or regulator-always-on? It is
defined with regulator-boot-on, but without any consumers in the device tree
(such as the backlight node), the kernel regulator framework will
automatically disable it during late init, causing the display to black out.
[ ... ]
> +&usb_1_ss0_qmpphy {
> + vdda-phy-supply = <&vreg_l2j_1p2>;
> + vdda-pll-supply = <&vreg_l1j_0p8>;
> +
> + status = "okay";
> +};
[Severity: High]
Are these supplies swapped? It looks like the 1.25V regulator (vreg_l2j_1p2)
is mapped to the 0.88V core vdda-phy-supply, and the 0.88V regulator
(vreg_l1j_0p8) is mapped to the 1.2V vdda-pll-supply. Over-voltaging the
core PHY rail can cause hardware damage, and under-voltaging the PLL rail
will cause the PLL to fail to lock.
[ ... ]
> +&usb_1_ss2_qmpphy {
> + vdda-phy-supply = <&vreg_l2j_1p2>;
> + vdda-pll-supply = <&vreg_l2d_0p9>;
> +
> + /delete-property/ mode-switch;
[Severity: High]
Could the vdda-phy-supply and vdda-pll-supply be backwards here as well? The
1.25V regulator (vreg_l2j_1p2) is mapped to the 0.88V core vdda-phy-supply,
and the 0.9V regulator (vreg_l2d_0p9) is mapped to the 1.2V vdda-pll-supply.
[ ... ]
> +&usb_mp_qmpphy0 {
> + vdda-phy-supply = <&vreg_l3e_1p2>;
> + vdda-pll-supply = <&vreg_l3c_0p8>;
> +
> + status = "okay";
> +};
[Severity: High]
Is this another instance where the supplies are swapped? It looks like the
1.2V regulator (vreg_l3e_1p2) is supplied to the 0.9V core vdda-phy-supply,
and the 0.9V regulator (vreg_l3c_0p8) is supplied to the 1.2V vdda-pll-supply.
[ ... ]
> +&usb_mp_qmpphy1 {
> + vdda-phy-supply = <&vreg_l3e_1p2>;
> + vdda-pll-supply = <&vreg_l3c_0p8>;
> +
> + status = "okay";
> +};
[Severity: High]
Does this have the same swap issue as usb_mp_qmpphy0? The 1.2V regulator
(vreg_l3e_1p2) is mapped to the 0.9V vdda-phy-supply, and the 0.9V regulator
(vreg_l3c_0p8) is mapped to the 1.2V vdda-pll-supply.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260922100501.8888-1-liujianfeng1994@gmail.com?part=2
prev parent reply other threads:[~2026-09-22 10:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-22 10:04 [PATCH 0/3] Add support for Acer Swift SFA14-11 Jianfeng Liu
2026-09-22 10:04 ` [PATCH 1/3] dt-bindings: arm: qcom: Add " Jianfeng Liu
2026-09-28 6:39 ` Krzysztof Kozlowski
2026-09-28 8:23 ` Jianfeng Liu
2026-09-28 9:32 ` Krzysztof Kozlowski
2026-09-22 10:04 ` [PATCH 2/3] arm64: dts: " Jianfeng Liu
2026-09-22 10:26 ` 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=20260922102635.706901F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=liujianfeng1994@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.