All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Adam Skladowski" <a39.skl@gmail.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v3 5/7] arm64: dts: qcom: Add LeEco Le2
Date: Fri, 21 Aug 2026 11:52:41 +0000	[thread overview]
Message-ID: <20260821115241.940C81F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260821-next-patches-v3-5-cd64bcef6e21@gmail.com>

Thank you for your contribution! Sashiko AI review found 4 potential issue(s) to consider:
- [High] The TUSB320 Type-C controller's interrupt is incorrectly configured with a rising edge trigger.
- [Medium] The GPU regulator `VDD_GFX` is marked `regulator-always-on`, which defeats dynamic power scaling.
- [Medium] WLED is claimed as supported but the pmi8950_wled node is left disabled.
- [Medium] The 'vdd_l9_l10_l13_l14_l15_l18-supply' property is missing from the pm8950 rpm_requests regulator node.
--

--- Patch [5]: [PATCH v3 5/7] arm64: dts: qcom: Add LeEco Le2 ---
commit cfadc21619b39e4cbfad0d3c04b195d16b58fa22
Author: Adam Skladowski <a39.skl@gmail.com>

arm64: dts: qcom: Add LeEco Le2

Adds a devicetree for the LeEco Le2 smartphone based on the
MSM8976 SoC. Supported features include I2C peripherals, WLED, GPU,
and regulators.

> 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..086fab5ae6e7c
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts

[ ... ]

> +	tiusb320: typec@47 {
> +		compatible = "ti,tusb320";
> +		reg = <0x47>;
> +		interrupts-extended = <&tlmm 21 IRQ_TYPE_EDGE_RISING>;

[Severity: High]
The TUSB320 INT_N interrupt signal is typically an active-low open-drain
output.

Will configuring it to trigger on a rising edge cause the driver to miss
Type-C events, since it would only process the interrupt when the hardware
deasserts the line?

> +
> +		pinctrl-0 = <&tusb320_int_active>;
> +		pinctrl-names = "default";
> +	};

[ ... ]

> +	pm8004_s5: s5 {
> +		regulator-name = "VDD_GFX";
> +		regulator-min-microvolt = <950000>;
> +		regulator-max-microvolt = <1165000>;
> +		regulator-enable-ramp-delay = <500>;
> +		regulator-always-on;

[Severity: Medium]
Does setting regulator-always-on for the VDD_GFX regulator defeat the Adreno
GPU driver's dynamic power scaling?

This appears to keep the GPU rail powered even when idle or suspended.

> +	};
> +};

[ ... ]

> +&pm8950_resin {
> +	linux,code = <KEY_VOLUMEDOWN>;
> +
> +	status = "okay";
> +};
> +
> +&pmi8950_wled {
> +	qcom,current-limit-microamp = <20000>;
> +	qcom,enabled-strings = <0 1>;
> +	qcom,ovp-millivolt = <29500>;

[Severity: Medium]
The commit message lists WLED as supported, but this node lacks a
status = "okay" property.

Since pmi8950.dtsi defaults the WLED node to disabled, will the driver fail
to probe?

> +};
> +
> +&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>;

[Severity: Medium]
Are we missing the vdd_l9_l10_l13_l14_l15_l18-supply property here?

Without it, the regulator core might not be able to track the parent supply
for LDOs 9, 10, 13, 14, 15, and 18.

> +
> +		pm8950_s3: s3 {
> +			regulator-min-microvolt = <1325000>;
> +			regulator-max-microvolt = <1325000>;
> +		};

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260821-next-patches-v3-0-cd64bcef6e21@gmail.com?part=5

  reply	other threads:[~2026-08-21 11:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-21 11:36 [PATCH v3 0/7] arm64: dts: qcom: Add 3 new devices Adam Skladowski
2026-08-21 11:36 ` [PATCH v3 1/7] dt-bindings: vendor-prefixes: Add LeEco Adam Skladowski
2026-08-21 11:36 ` [PATCH v3 2/7] dt-bindings: arm: qcom: Document Motorola Moto One Adam Skladowski
2026-08-21 11:36 ` [PATCH v3 3/7] arm64: dts: qcom: Add Motorola One Adam Skladowski
2026-08-21 11:47   ` sashiko-bot
2026-08-21 11:36 ` [PATCH v3 4/7] dt-bindings: arm: qcom: Document LeEco Le2 Adam Skladowski
2026-08-21 11:36 ` [PATCH v3 5/7] arm64: dts: qcom: Add " Adam Skladowski
2026-08-21 11:52   ` sashiko-bot [this message]
2026-08-21 11:36 ` [PATCH v3 6/7] dt-bindings: arm: qcom: Document Xiaomi Redmi 9T Adam Skladowski
2026-08-21 11:36 ` [PATCH v3 7/7] arm64: dts: qcom: Add " Adam Skladowski
2026-08-21 11:46   ` 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=20260821115241.940C81F00A3A@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.