Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Alexandre Hamamdjian" <azkali.limited@gmail.com>
Cc: robh@kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v6 3/4] arm64: dts: qcom: add basic devicetree for Ayaneo Pocket DS gaming console
Date: Mon, 24 Aug 2026 16:13:57 +0000	[thread overview]
Message-ID: <20260824161357.EBA301F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260824-pocketds-v6-3-370161574ca2@gmail.com>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] The PWM fan control pin is actively driven HIGH during system suspend while the fan's power supply is disabled, causing leakage current and potentially running the fan at 100% duty cycle if back-powered.
- [Low] PCIe child nodes have unit addresses that do not match the first address cell of their 'reg' property.
--

--- Patch [3]: [PATCH v6 3/4] arm64: dts: qcom: add basic devicetree for Ayaneo Pocket DS gaming console ---
commit 44774ff01d05ab46cbf94f40052649086f920bb4
Author: Teguh Sobirin <teguh@sobir.in>

arm64: dts: qcom: add basic devicetree for Ayaneo Pocket DS gaming console

Adds initial Device Tree for the Ayaneo Pocket DS gaming console based
on the QCS8550 platform, wiring up core peripherals, USB-C/DP, microSD, 
WiFi/BT, and gaming controls.

> diff --git a/arch/arm64/boot/dts/qcom/qcs8550-ayaneo-pocket-ds.dts b/arch/arm64/boot/dts/qcom/qcs8550-ayaneo-pocket-ds.dts
> new file mode 100644
> index 0000000000000..09b1c86cc3d35
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/qcs8550-ayaneo-pocket-ds.dts

[ ... ]

> +	vdd_fan_5v0: vdd-fan-5v0-regulator {
> +		compatible = "regulator-fixed";
> +
> +		regulator-name = "vdd_fan_5v0";
> +		regulator-min-microvolt = <5000000>;
> +		regulator-max-microvolt = <5000000>;
> +
> +		gpios = <&tlmm 31 GPIO_ACTIVE_HIGH>;
> +		enable-active-high;
> +
> +		pinctrl-0 = <&fan_pwr_active>;
> +		pinctrl-names = "default";
> +
> +		regulator-state-mem {
> +			regulator-off-in-suspend;
> +		};
> +	};

[ ... ]

> +&pm8550_gpios {

[ ... ]

> +	fan_pwm_sleep: fan-pwm-sleep-state {
> +		pins = "gpio9";
> +		function = "normal";
> +		output-high;

[Severity: Medium]
Does driving this pin high during suspend create a leakage path? Since
vdd_fan_5v0 is configured with regulator-off-in-suspend, actively driving
the control pin into an unpowered fan controller might cause back-powering.

> +		bias-disable;
> +		power-source = <0>;
> +		qcom,drive-strength = <3>; /* PMIC_GPIO_STRENGTH_LOW */
> +	};

[ ... ]

> +&pcie0_port0 {
> +	wifi@0 {
> +		compatible = "pci17cb,1107";
> +		reg = <0x10000 0x0 0x0 0x0 0x0>;

[Severity: Low]
Should the node name match the unit address in the reg property? It looks
like this should be wifi@10000 to avoid dtc validation warnings.

> +
> +		vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
> +		vddaon-supply = <&vreg_pmu_aon_0p59>;

[ ... ]

> +&pcie1_port0 {
> +	/* Renesas μPD720201 PCIe USB3.0 HOST CONTROLLER */
> +	usb-controller@0 {
> +		compatible = "pci1912,0014";
> +		reg = <0x10000 0x0 0x0 0x0 0x0>;

[Severity: Low]
Should this node also be named usb-controller@10000 to match the first
address cell in the reg property?

> +
> +		avdd33-supply = <&upd720201_avdd33_reg>;
> +		vdd10-supply = <&upd720201_vdd10_reg>;

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260824-pocketds-v6-0-370161574ca2@gmail.com?part=3

  reply	other threads:[~2026-08-24 16:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-24 15:58 [PATCH v6 0/4] arm64: qcom: add Ayaneo Pocket DS gaming console Alexandre Hamamdjian via B4 Relay
2026-08-24 15:58 ` [PATCH v6 1/4] dt-bindings: arm: qcom: document the Ayaneo Pocket DS Alexandre Hamamdjian via B4 Relay
2026-08-24 15:58 ` [PATCH v6 2/4] arm64: dts: qcom: sm8550: add UART11 node Alexandre Hamamdjian via B4 Relay
2026-08-24 16:09   ` sashiko-bot
2026-08-24 15:58 ` [PATCH v6 3/4] arm64: dts: qcom: add basic devicetree for Ayaneo Pocket DS gaming console Alexandre Hamamdjian via B4 Relay
2026-08-24 16:13   ` sashiko-bot [this message]
2026-08-24 15:58 ` [PATCH v6 4/4] arm64: dts: qcom: qcs8550-ayaneo-pocket-ds: add the lower DSI panel Alexandre Hamamdjian via B4 Relay
2026-08-24 16:12   ` 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=20260824161357.EBA301F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=azkali.limited@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox