From: sashiko-bot@kernel.org
To: "Adam Skladowski" <a39.skl@gmail.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v4 5/7] arm64: dts: qcom: Add LeEco Le2
Date: Fri, 21 Aug 2026 12:36:17 +0000 [thread overview]
Message-ID: <20260821123618.273DE1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260821-next-patches-v4-5-7ab02c0d4eb9@gmail.com>
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [High] The `vdd_l9_l10_l13_l14_l15_l18` property in `qcom,rpm-pm8950-regulators` is missing the mandatory `-supply` suffix.
- [High] The `&otg` node configures an `extcon` but lacks `status = "okay";`, meaning USB will remain disabled.
- [Low] The Synaptics RMI4 touchscreen `reset-gpios` is incorrectly specified as active-high (`GPIO_ACTIVE_HIGH`), contradicting the hardware's active-low requirement.
--
--- Patch [5]: [PATCH v4 5/7] arm64: dts: qcom: Add LeEco Le2 ---
commit c3c3413469ad8891e9f97013b16ab8831b5677fe
Author: Adam Skladowski <a39.skl@gmail.com>
arm64: dts: qcom: Add LeEco Le2
This patch adds a devicetree for the LeEco Le2 smartphone based on the
Eldarion/MSM8976 SoC. It includes initial support for I2C peripherals,
regulators, WLED, remoteprocs, and GPU.
> diff --git a/arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts b/arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts
> new file mode 100644
> index 0000000000000..e64335162c34b
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts
[ ... ]
> +&blsp1_i2c4 {
> + status = "okay";
> +
> + touchscreen@4b {
> + compatible = "syna,rmi4-i2c";
> + reg = <0x4b>;
> + interrupts-extended = <&tlmm 65 IRQ_TYPE_EDGE_FALLING>;
> +
> + pinctrl-0 = <&touch_default_state>;
> + pinctrl-names = "default";
> +
> + reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
[Severity: Low]
Is the reset-gpios polarity correct here?
Looking further down in the patch at touch_default_state, a bias-pull-up is
defined for this pin. This suggests the inactive state is physically high,
which would mean the reset should be active-low. While the syna,rmi4-i2c
driver may ignore this property currently, if driver support is added later,
the GPIO framework might drive the pin low when de-asserting it, keeping
the device permanently in reset.
[ ... ]
> +&mdss_dsi0_phy {
> + vddio-supply = <&pm8950_l6>;
> +};
> +
> +&otg {
> + extcon = <&tiusb320>;
> +};
[Severity: High]
Should this node include a status = "okay" property?
Without it, the OTG port will remain in the disabled state defined by the
base SoC inclusion, which prevents the USB controller driver from probing
and leaves USB/OTG functionality broken.
[ ... ]
> +&rpm_requests {
> + regulators {
> + compatible = "qcom,rpm-pm8950-regulators";
> +
> + vdd_s1-supply = <&vph_pwr>;
> + vdd_s2-supply = <&vph_pwr>;
> + vdd_s3-supply = <&vph_pwr>;
> + vdd_s4-supply = <&vph_pwr>;
> + vdd_s6-supply = <&vph_pwr>;
> + vdd_l1_l19-supply = <&pm8950_s3>;
> + vdd_l2_l23-supply = <&pm8950_s3>;
> + vdd_l3-supply = <&pm8950_s3>;
> + vdd_l5_l6_l7_l16-supply = <&pm8950_s4>;
> + vdd_l8_l11_l12_l17_l22-supply = <&vph_pwr>;
> + vdd_l9_l10_l13_l14_l15_l18 = <&vph_pwr>;
[Severity: High]
Is this property missing the mandatory -supply suffix?
The regulator framework relies on the -supply suffix to establish parent-child
relationships. Without it, the framework will fail to resolve the parent
supply, leaving regulators L9, L10, L13, L14, L15, and L18 unmapped.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260821-next-patches-v4-0-7ab02c0d4eb9@gmail.com?part=5
next prev parent reply other threads:[~2026-08-21 12:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-21 12:18 [PATCH v4 0/7] arm64: dts: qcom: Add 3 new devices Adam Skladowski
2026-08-21 12:19 ` [PATCH v4 1/7] dt-bindings: vendor-prefixes: Add LeEco Adam Skladowski
2026-08-21 12:19 ` [PATCH v4 2/7] dt-bindings: arm: qcom: Document Motorola Moto One Adam Skladowski
2026-08-21 12:19 ` [PATCH v4 3/7] arm64: dts: qcom: Add Motorola One Adam Skladowski
2026-08-21 12:37 ` sashiko-bot
2026-08-21 12:19 ` [PATCH v4 4/7] dt-bindings: arm: qcom: Document LeEco Le2 Adam Skladowski
2026-08-21 12:19 ` [PATCH v4 5/7] arm64: dts: qcom: Add " Adam Skladowski
2026-08-21 12:36 ` sashiko-bot [this message]
2026-08-21 12:19 ` [PATCH v4 6/7] dt-bindings: arm: qcom: Document Xiaomi Redmi 9T Adam Skladowski
2026-08-21 12:19 ` [PATCH v4 7/7] arm64: dts: qcom: Add " Adam Skladowski
2026-08-21 12:32 ` 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=20260821123618.273DE1F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=a39.skl@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--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.