From: sashiko-bot@kernel.org
To: "Mohd Ayaan Anwar" <mohd.anwar@oss.qualcomm.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH PRELIMINARY 4/5] arm64: dts: qcom: shikra-cqs-evk: enable the first Ethernet port
Date: Wed, 09 Sep 2026 06:24:24 +0000 [thread overview]
Message-ID: <20260909062425.030121F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260908-shikra_ethernet_dts-v1-4-69c0c5c7c124@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Ethernet PHY remains permanently unpowered because the `vdda-2p5-supply` property is ignored and the regulator defaults to off.
--
commit b5b6a106e748058add8ac1a40dcbd3ae6ad2a0d0
Author: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
arm64: dts: qcom: shikra-cqs-evk: enable the first Ethernet port
This commit enables ethernet0 for the Shikra CQS EVK board with a DP83867
RGMII PHY. It also adds a fixed 2.5V regulator controlled by a GPIO to power
the PHY.
> diff --git a/arch/arm64/boot/dts/qcom/shikra-cqs-evk.dts b/arch/arm64/boot/dts/qcom/shikra-cqs-evk.dts
> index e62ba5aef71ff..7b30c67c68e8c 100644
> --- a/arch/arm64/boot/dts/qcom/shikra-cqs-evk.dts
> +++ b/arch/arm64/boot/dts/qcom/shikra-cqs-evk.dts
> @@ -21,6 +21,42 @@ aliases {
> chosen {
> stdout-path = "serial0:115200n8";
> };
> +
> + rgmii_phy_supply: regulator-rgmii-phy {
> + compatible = "regulator-fixed";
> + regulator-name = "rgmii-phy-pwr";
[Severity: High]
Will this regulator ever be enabled by the core?
Since no consumer driver will explicitly request it (see below), and the node
is missing the regulator-always-on property, it appears the regulator core
will leave it disabled at boot.
> + regulator-min-microvolt = <2500000>;
> + regulator-max-microvolt = <2500000>;
> + gpio = <&tlmm 149 GPIO_ACTIVE_HIGH>;
> + enable-active-high;
> + pinctrl-0 = <&rgmii_phy_pwr_default>;
> + pinctrl-names = "default";
> + };
> +};
[ ... ]
> + rgmii_phy: ethernet-phy@7 {
> + compatible = "ethernet-phy-id2000.a231";
> + reg = <0x7>;
> + reset-gpios = <&tlmm 135 GPIO_ACTIVE_LOW>;
> + reset-assert-us = <10000>;
> + reset-deassert-us = <50000>;
> + vdda-2p5-supply = <&rgmii_phy_supply>;
[Severity: High]
Does the kernel actually use the vdda-2p5-supply property?
It seems this custom property is completely ignored because no driver,
including the DP83867 driver or the MDIO core, parses vdda-2p5-supply.
Without a driver acting as a consumer, the PHY will fail to power on.
It looks like this same pattern might also be replicated in patch 5/5 for
the second Ethernet port.
> + };
> + };
> };
[ ... ]
> +&tlmm {
> + rgmii_phy_pwr_default: rgmii-phy-pwr-default-state {
> + pins = "gpio149";
> + function = "gpio";
> + drive-strength = <2>;
> + bias-disable;
> + output-low;
[Severity: High]
Is it intentional to drive the enable GPIO low here at boot?
The regulator is defined as active-high above, so this default pinctrl
state explicitly turns off the active-high regulator. Combined with the
ignored supply property, this would leave the Ethernet PHY permanently
unpowered and non-functional unconditionally at boot.
> + };
> +};
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260908-shikra_ethernet_dts-v1-0-69c0c5c7c124@oss.qualcomm.com?part=4
next prev parent reply other threads:[~2026-09-09 6:24 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-08 6:23 [PATCH PRELIMINARY 0/5] arm64: dts: qcom: shikra: add Ethernet support Mohd Ayaan Anwar
2026-09-08 6:23 ` [PATCH PRELIMINARY 1/5] arm64: dts: qcom: shikra-iqs-som: fix GPIO138 reservation Mohd Ayaan Anwar
2026-09-08 12:11 ` Andrew Lunn
2026-09-08 13:43 ` Mohd Ayaan Anwar
2026-09-08 13:57 ` Andrew Lunn
2026-09-09 11:20 ` Konrad Dybcio
2026-09-09 11:19 ` Konrad Dybcio
2026-09-09 11:24 ` Krzysztof Kozlowski
2026-09-09 11:30 ` Krzysztof Kozlowski
2026-09-09 11:33 ` Krzysztof Kozlowski
2026-09-09 11:39 ` Mohd Ayaan Anwar
2026-09-09 11:34 ` Mohd Ayaan Anwar
2026-09-08 6:23 ` [PATCH PRELIMINARY 2/5] arm64: dts: qcom: shikra: add ethernet nodes Mohd Ayaan Anwar
2026-09-09 6:24 ` sashiko-bot
2026-09-08 6:23 ` [PATCH PRELIMINARY 3/5] arm64: dts: qcom: shikra-cqm-evk: enable the first Ethernet port Mohd Ayaan Anwar
2026-09-09 6:24 ` sashiko-bot
2026-09-08 6:23 ` [PATCH PRELIMINARY 4/5] arm64: dts: qcom: shikra-cqs-evk: " Mohd Ayaan Anwar
2026-09-09 6:24 ` sashiko-bot [this message]
2026-09-08 6:23 ` [PATCH PRELIMINARY 5/5] arm64: dts: qcom: shikra-iqs-evk: enable both Ethernet ports Mohd Ayaan Anwar
2026-09-09 6:24 ` sashiko-bot
2026-09-08 6:56 ` [PATCH PRELIMINARY 0/5] arm64: dts: qcom: shikra: add Ethernet support Krzysztof Kozlowski
2026-09-08 7:04 ` Mohd Ayaan Anwar
2026-09-08 7:14 ` Krzysztof Kozlowski
2026-09-08 7:23 ` Mohd Ayaan Anwar
2026-09-08 7:39 ` Mohd Ayaan Anwar
2026-09-08 8:42 ` Krzysztof Kozlowski
2026-09-08 10:02 ` Mohd Ayaan Anwar
2026-09-08 8:40 ` Krzysztof Kozlowski
2026-09-08 9:31 ` Mohd Ayaan Anwar
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=20260909062425.030121F00A3A@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=mohd.anwar@oss.qualcomm.com \
--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