All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Coia Prant" <coiaprant@gmail.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v13 3/3] arm64: dts: rockchip: rk3568-photonicat: enable SGMII LAN port
Date: Mon, 23 Nov 2026 17:08:57 +0000	[thread overview]
Message-ID: <sashiko-outbox-229706@kernel.org> (raw)
In-Reply-To: <20261123165703.667564-4-coiaprant@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] arm64: dts: rockchip: undocumented rockchip,sgmii-mac-sel in
  combphy2
--

commit 770288b759f8f8b66f29b229b4d9964668ae4042
Author: Coia Prant <coiaprant@gmail.com>

arm64: dts: rockchip: rk3568-photonicat: enable SGMII LAN port

This commit enables the SGMII LAN port on the Ariaboard Photonicat by
configuring GMAC0, XPCS, combphy2, and the Motorcomm YT8521SC PHY on
MDIO0.

> diff --git a/arch/arm64/boot/dts/rockchip/rk3568-photonicat.dts b/arch/arm64/boot/dts/rockchip/rk3568-photonicat.dts
> index 12ae9159bea87..f3cac046565bc 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3568-photonicat.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3568-photonicat.dts

[ ... ]

> @@ -242,6 +249,7 @@ &combphy1 {
>  };
>  
>  &combphy2 {
> +	rockchip,sgmii-mac-sel = <0>;
>  	status = "okay";
>  };

[Severity: Medium]
Is rockchip,sgmii-mac-sel a valid property for combphy2?

Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml
does not define rockchip,sgmii-mac-sel and specifies additionalProperties:
false, so this fails dtbs_check.  No mainline driver parses this property
either (rk_pcs_init() in drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
selects the XPCS MII port from the GMAC controller ID), so the property
and the commit message note about routing combphy2 through it should be
dropped.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261123165703.667564-1-coiaprant@gmail.com?part=3

      reply	other threads:[~2026-11-23 17:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 16:57 [PATCH v13 0/3] arm64: dts: rockchip: add RK3568 XPCS nodes and enable SGMII on Photonicat Coia Prant
2026-11-23 16:57 ` Coia Prant
2026-11-23 16:57 ` [PATCH v13 1/3] arm64: dts: rockchip: rk3568: add XPCS node Coia Prant
2026-11-23 16:57   ` Coia Prant
2026-11-23 16:57 ` [PATCH v13 2/3] arm64: dts: rockchip: rk3568-photonicat: add RGMII PHY LEDs Coia Prant
2026-11-23 16:57   ` Coia Prant
2026-11-23 16:57 ` [PATCH v13 3/3] arm64: dts: rockchip: rk3568-photonicat: enable SGMII LAN port Coia Prant
2026-11-23 16:57   ` Coia Prant
2026-11-23 17:08   ` sashiko-bot [this message]

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=sashiko-outbox-229706@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=coiaprant@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.