From: sashiko-bot@kernel.org
To: "Srinivas Kandagatla" <srinivas.kandagatla@oss.qualcomm.com>
Cc: linux-leds@vger.kernel.org, devicetree@vger.kernel.org,
robh@kernel.org, conor+dt@kernel.org, lee@kernel.org
Subject: Re: [PATCH v2 3/3] arm64: dts: qcom: mahua-t14s: wire backlight through pmk8850 pwm
Date: Wed, 25 Nov 2026 20:01:25 +0000 [thread overview]
Message-ID: <sashiko-outbox-234111@kernel.org> (raw)
In-Reply-To: <20261125195226.1563577-4-srinivas.kandagatla@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 3 potential
issues to consider:
- [Medium] arm64: dts: qcom: vreg_edp_bl keeps regulator-always-on with
pwm-backlight
- [Low] arm64: dts: qcom: misplaced pmk8850.dtsi fixup in mahua-t14s
board patch
- [Low] arm64: dts: qcom: mahua-t14s: non-alphabetical placement of
backlight node
--
commit 73071c600625bb596d61b96f98ccdc4b23428750
Author: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
arm64: dts: qcom: mahua-t14s: wire backlight through pmk8850 pwm
This commit moves the eDP backlight enable GPIO from the panel node into a
dedicated pwm-backlight node wired to the pmk8850 PWM output on the Lenovo
ThinkPad T14s Gen 7.
> diff --git a/arch/arm64/boot/dts/qcom/mahua-lenovo-thinkpad-t14s-gen7-lcd.dts b/arch/arm64/boot/dts/qcom/mahua-lenovo-thinkpad-t14s-gen7-lcd.dts
> index 2d6578edcc823..bad49ba5443f3 100644
> --- a/arch/arm64/boot/dts/qcom/mahua-lenovo-thinkpad-t14s-gen7-lcd.dts
> +++ b/arch/arm64/boot/dts/qcom/mahua-lenovo-thinkpad-t14s-gen7-lcd.dts
> @@ -156,6 +156,16 @@ vreg_edp_bl: regulator-edp-bl {
> regulator-always-on;
> };
>
> + backlight: backlight {
> + compatible = "pwm-backlight";
> + pwms = <&pmk8850_pwm 0 4266537>;
> + enable-gpios = <&tlmm 18 GPIO_ACTIVE_HIGH>;
> + power-supply = <&vreg_edp_bl>;
[Severity: Medium]
Should regulator-always-on be removed from vreg_edp_bl now that the
backlight node manages it via power-supply? With regulator-always-on still
set, regulator_disable() in pwm_backlight_power_off() will not turn off the
backlight supply rail when the display is blanked or suspended.
> +
> + pinctrl-0 = <&edp_bl_en>, <&edp_bl_pwm>;
> + pinctrl-names = "default";
> + };
> +
> vreg_misc_3p3: regulator-misc-3p3 {
[Severity: Low]
This isn't a bug, but the other top-level child nodes under the root node
are ordered alphabetically by node name, whereas backlight is inserted in
the middle of the regulator-* nodes rather than before chosen.
[ ... ]
> diff --git a/arch/arm64/boot/dts/qcom/pmk8850.dtsi b/arch/arm64/boot/dts/qcom/pmk8850.dtsi
> index 053ae42ef0fb7..dfa99cbd21d71 100644
> --- a/arch/arm64/boot/dts/qcom/pmk8850.dtsi
> +++ b/arch/arm64/boot/dts/qcom/pmk8850.dtsi
> @@ -69,9 +69,6 @@ reboot_reason: reboot-reason@48 {
>
> pmk8850_pwm: pwm {
> compatible = "qcom,pmk8850-pwm", "qcom,pmk8550-pwm";
> -
> - #address-cells = <1>;
> - #size-cells = <0>;
> #pwm-cells = <2>;
>
> status = "disabled";
[Severity: Low]
Should this removal of #address-cells and #size-cells from pmk8850.dtsi be
squashed into the preceding commit "arm64: dts: qcom: pmk8850: add PWM
node" that introduced pmk8850_pwm, rather than being included in this
board-specific patch?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261125195226.1563577-1-srinivas.kandagatla@oss.qualcomm.com?part=3
next prev parent reply other threads:[~2026-11-25 20:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 19:52 [PATCH v2 0/3] qcom: PMK8850 LPG backlight on Mahua T14s Srinivas Kandagatla
2026-11-25 19:52 ` [PATCH v2 1/3] dt-bindings: leds: qcom-lpg: add qcom,pmk8850-pwm compatible Srinivas Kandagatla
2026-11-25 19:52 ` [PATCH v2 2/3] arm64: dts: qcom: pmk8850: add PWM node Srinivas Kandagatla
2026-11-25 19:52 ` [PATCH v2 3/3] arm64: dts: qcom: mahua-t14s: wire backlight through pmk8850 pwm Srinivas Kandagatla
2026-11-25 20:01 ` sashiko-bot [this message]
2026-11-25 20:01 ` [PATCH v2 0/3] qcom: PMK8850 LPG backlight on Mahua T14s sashiko-bot
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-234111@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=lee@kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=srinivas.kandagatla@oss.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 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.