From: sashiko-bot@kernel.org
To: "Ajit Singh" <blfizzyy@gmail.com>
Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH v2 3/3] arm64: dts: qcom: Add Vicharak Axon Mini
Date: Mon, 18 May 2026 18:08:21 +0000 [thread overview]
Message-ID: <20260518180822.1B5F4C2BCC6@smtp.kernel.org> (raw)
In-Reply-To: <20260518173039.20592-4-blfizzyy@gmail.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] The PCIe endpoints lack their power supply definitions (`vddpe-3v3-supply`), relying instead on `regulator-always-on`.
- [Medium] The USB 2.0 host controller lacks its VBUS power supply definition (`vbus-supply`), relying instead on `regulator-always-on`.
--
commit 9bf522377749eb6ea3477116679a7d9817103a9f
Author: Ajit Singh <blfizzyy@gmail.com>
arm64: dts: qcom: Add Vicharak Axon Mini
Add DTS for the Vicharak Axon Mini board based on the Qualcomm QCS6490 SoC.
This adds debug UART, eMMC, UFS, SDIO WLAN, USB 2.0 host, PCIe support along
with regulators.
> diff --git a/arch/arm64/boot/dts/qcom/qcs6490-vicharak-axon-mini.dts b/arch/arm64/boot/dts/qcom/qcs6490-vicharak-axon-mini.dts
> new file mode 100644
> index 0000000000000..e9d54804ade1d
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/qcs6490-vicharak-axon-mini.dts
[ ... ]
> + vcc_5v0_usb2_0: regulator-vcc-5v0-usb2-0 {
> + compatible = "regulator-fixed";
> + regulator-name = "vcc_5v0_usb2_0";
> + regulator-min-microvolt = <5000000>;
> + regulator-max-microvolt = <5000000>;
> +
> + vin-supply = <&vcc_5v0>;
> +
> + gpio = <&tlmm 117 GPIO_ACTIVE_HIGH>;
> + enable-active-high;
> +
> + pinctrl-0 = <&vcc5v0_usb2_0_en>;
> + pinctrl-names = "default";
> +
> + regulator-boot-on;
> + regulator-always-on;
> + };
> +
> + vcc_pcie1_3v3: regulator-vcc-pcie1-3v3 {
> + compatible = "regulator-fixed";
> + regulator-name = "vcc_pcie1_3v3";
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
> +
> + vin-supply = <&vcc_5v0>;
> +
> + gpio = <&tlmm 115 GPIO_ACTIVE_HIGH>;
> + enable-active-high;
> +
> + pinctrl-0 = <&vcc_pcie1_3v3_en>;
> + pinctrl-names = "default";
> +
> + regulator-boot-on;
> + regulator-always-on;
> + };
> +
> + vcc_pcie0_dsi_3v3: regulator-vcc-pcie0-dsi-3v3 {
> + compatible = "regulator-fixed";
> + regulator-name = "vcc_pcie0_dsi_3v3";
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
> +
> + vin-supply = <&vcc_5v0>;
> +
> + gpio = <&tlmm 114 GPIO_ACTIVE_HIGH>;
> + enable-active-high;
> +
> + pinctrl-0 = <&vcc_pcie0_dsi_3v3_en>;
> + pinctrl-names = "default";
> +
> + regulator-boot-on;
> + regulator-always-on;
> + };
[ ... ]
> +&pcie0 {
> + perst-gpios = <&tlmm 87 GPIO_ACTIVE_LOW>;
> + wake-gpios = <&tlmm 89 GPIO_ACTIVE_HIGH>;
> +
> + pinctrl-0 = <&pcie0_clkreq_n>, <&pcie0_reset_n>, <&pcie0_wake_n>;
> + pinctrl-names = "default";
> +
> + status = "okay";
> +};
Can the &pcie0 node properly power-manage its endpoint without a
vddpe-3v3-supply property?
The device tree defines vcc_pcie0_dsi_3v3 with regulator-always-on and doesn't
link it here. This breaks proper PCIe power management, as the driver cannot
turn power off during suspend or reset sequences.
[ ... ]
> +&pcie1 {
> + perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
> + wake-gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
> +
> + pinctrl-0 = <&pcie1_reset_n>, <&pcie1_wake_n>, <&pcie1_clkreq_n>;
> + pinctrl-names = "default";
> +
> + status = "okay";
> +};
Similarly here, should vcc_pcie1_3v3 be referenced as vddpe-3v3-supply for
the &pcie1 node instead of relying on regulator-always-on?
[ ... ]
> +&usb_2 {
> + dr_mode = "host";
> +
> + status = "okay";
> +};
Does the USB 2.0 host controller need a vbus-supply reference here?
The device tree defines vcc_5v0_usb2_0 as a 5V regulator but relies on
regulator-always-on instead of referencing it as vbus-supply (typically
via a usb-a-connector child node). Without this linkage, the USB driver
cannot control VBUS power when the port is inactive or suspended.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260518110435.16262-1-blfizzyy@gmail.com?part=3
next prev parent reply other threads:[~2026-05-18 18:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-18 11:04 [PATCH v1 0/3] arm64: dts: qcom: Add Vicharak Axon Mini Ajit Singh
2026-05-18 11:04 ` [PATCH v1 1/3] dt-bindings: vendor-prefixes: Add prefix for Vicharak Ajit Singh
2026-05-18 11:04 ` [PATCH v1 2/3] dt-bindings: arm: qcom: Add Vicharak Axon Mini Ajit Singh
2026-05-18 11:04 ` [PATCH v1 3/3] arm64: dts: " Ajit Singh
2026-05-18 11:30 ` sashiko-bot
2026-05-18 11:44 ` Konrad Dybcio
2026-05-18 13:30 ` Ajit Singh
2026-05-18 17:30 ` [PATCH v2 0/3] " Ajit Singh
2026-05-18 17:30 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add prefix for Vicharak Ajit Singh
2026-05-19 8:21 ` Krzysztof Kozlowski
2026-05-18 17:30 ` [PATCH v2 2/3] dt-bindings: arm: qcom: Add Vicharak Axon Mini Ajit Singh
2026-05-19 8:21 ` Krzysztof Kozlowski
2026-05-18 17:30 ` [PATCH v2 3/3] arm64: dts: " Ajit Singh
2026-05-18 18:08 ` sashiko-bot [this message]
2026-05-19 8:24 ` Krzysztof Kozlowski
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=20260518180822.1B5F4C2BCC6@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=blfizzyy@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