From: sashiko-bot@kernel.org
To: "Srinivas Kandagatla" <srinivas.kandagatla@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org,
dri-devel@lists.freedesktop.org, conor+dt@kernel.org
Subject: Re: [PATCH 3/4] arm64: dts: qcom: Add Lenovo ThinkPad T14s Gen 7
Date: Sun, 13 Sep 2026 20:27:48 +0000 [thread overview]
Message-ID: <20260913202749.451271F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260913201835.250085-4-srinivas.kandagatla@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] Missing pinctrl configuration for `vreg_misc_3p3` regulator enable GPIO
- [Low] Unused `wcd_default` pinctrl configuration
--
commit d71c12fe04485a49b8c9508f6401f49a6f0252e9
Author: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
arm64: dts: qcom: Add Lenovo ThinkPad T14s Gen 7
Introduce a device tree for the Mahua-based Lenovo ThinkPad T14s Gen 7,
a Snapdragon X2 Elite laptop.
> diff --git a/arch/arm64/boot/dts/qcom/mahua-lenovo-thinkpad-t14s-gen7.dts b/arch/arm64/boot/dts/qcom/mahua-lenovo-thinkpad-t14s-gen7.dts
> new file mode 100644
> index 0000000000000..be5f12bfe56a4
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/mahua-lenovo-thinkpad-t14s-gen7.dts
[ ... ]
> + vreg_edp_3p3: regulator-edp-3p3 {
> + compatible = "regulator-fixed";
> +
> + regulator-name = "VREG_EDP_3P3";
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
> +
> + gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>;
> + enable-active-high;
> +
> + pinctrl-0 = <&edp_reg_en>;
> + pinctrl-names = "default";
> +
> + regulator-boot-on;
> + };
> +
> + vreg_misc_3p3: regulator-misc-3p3 {
> + compatible = "regulator-fixed";
> +
> + regulator-name = "VREG_MISC_3P3";
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
> +
> + gpio = <&pmh0110_f_e0_gpios 6 GPIO_ACTIVE_HIGH>;
> + enable-active-high;
> +
> + regulator-boot-on;
> + regulator-always-on;
> + };
[Severity: Medium]
Should vreg_misc_3p3 include pinctrl-0 = <&misc_3p3_reg_en>; and
pinctrl-names = "default"; properties?
Since the explicit pinctrl state for this GPIO (misc_3p3_reg_en) is defined
later in the file but never referenced, omitting it here might cause the PMIC
GPIO pad to lack the intended configuration (such as drive-push-pull and
power-source).
Could this fail to drive the enable pin correctly and leave the I2C touchpad
and keyboard unpowered?
[ ... ]
> +&tlmm {
> + gpio-reserved-ranges = <4 4>, /* EC TZ Secure I3C */
> + <10 2>, /* OOB UART */
> + <27 1>, /* TZ trigger */
> + <44 4>, /* TPM */
> + <139 1>; /* TZ trigger */
[ ... ]
> + tpad_default: tpad-default-state {
> + pins = "gpio3";
> + function = "gpio";
> + bias-disable;
> + };
> +
> + wcd_default: wcd-reset-n-active-state {
> + pins = "gpio191";
> + function = "gpio";
> + drive-strength = <16>;
> + bias-disable;
> + output-low;
> + };
[Severity: Low]
Is wcd_default still needed?
This pinctrl configuration is defined but never consumed by any device's
pinctrl-0 property. Since this board uses WSA8845 and DMICs for audio, it
appears a WCD audio codec reset GPIO is not required. Is this a remnant
from a reference design that can be removed?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260913201835.250085-1-srinivas.kandagatla@oss.qualcomm.com?part=3
next prev parent reply other threads:[~2026-09-13 20:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-13 20:18 [PATCH 0/4] arm64: dts: qcom: Add Lenovo ThinkPad T14s Gen 7 Srinivas Kandagatla
2026-09-13 20:18 ` [PATCH 1/4] dt-bindings: arm: qcom: add Lenovo ThinkPad T14s Gen 7 (Mahua) Srinivas Kandagatla
2026-09-15 10:47 ` Krzysztof Kozlowski
2026-09-15 13:41 ` Srinivas Kandagatla
2026-09-16 8:39 ` Krzysztof Kozlowski
2026-09-13 20:18 ` [PATCH 2/4] drm/panel-edp: add CSOT MNE007QB1-1 entry Srinivas Kandagatla
2026-09-14 7:34 ` Abel Vesa
2026-09-14 15:13 ` Doug Anderson
2026-09-14 16:27 ` Srinivas Kandagatla
2026-09-13 20:18 ` [PATCH 3/4] arm64: dts: qcom: Add Lenovo ThinkPad T14s Gen 7 Srinivas Kandagatla
2026-09-13 20:27 ` sashiko-bot [this message]
2026-09-14 7:33 ` Abel Vesa
2026-09-14 8:13 ` Konrad Dybcio
2026-09-13 20:18 ` [PATCH 4/4] firmware: qcom: scm: Allow QSEECOM on " Srinivas Kandagatla
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=20260913202749.451271F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.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.