All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Jan Petrous (OSS)" <jan.petrous@oss.nxp.com>
Cc: devicetree@vger.kernel.org, imx@lists.linux.dev,
	vkoul@kernel.org, olteanv@gmail.com, robh@kernel.org,
	linux-phy@lists.infradead.org, Frank.Li@kernel.org,
	neil.armstrong@linaro.org, conor+dt@kernel.org,
	linux-pci@vger.kernel.org, wsa+renesas@sang-engineering.com
Subject: Re: [PATCH RFC v3 02/12] dt-bindings: net: nxp,s32-dwmac: Document pcs-handle
Date: Sun, 20 Sep 2026 06:54:59 +0000	[thread overview]
Message-ID: <20260920065500.09BD91F00893@smtp.kernel.org> (raw)
In-Reply-To: <20260919-s32g_serdes-v3-2-9d68868c1e89@oss.nxp.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dt-bindings: redundant type definition in pcs-handle contradicts commit message
--

commit 83228aa7bd3f939d2363db1fc38174d3181bfd69
Author: Jan Petrous (OSS) <jan.petrous@oss.nxp.com>

dt-bindings: net: nxp,s32-dwmac: Document pcs-handle

This commit documents the pcs-handle property for the S32 DWMAC when
routed to the embedded SerDes for SGMII. The commit message indicates
that the type is inherited from ethernet-controller.yaml and does not
need to be redefined.

> diff --git a/Documentation/devicetree/bindings/net/nxp,s32-dwmac.yaml b/Documentation/devicetree/bindings/net/nxp,s32-dwmac.yaml
> index 753a04941659b..b168decb540c6 100644
> --- a/Documentation/devicetree/bindings/net/nxp,s32-dwmac.yaml
> +++ b/Documentation/devicetree/bindings/net/nxp,s32-dwmac.yaml

[ ... ]

> @@ -81,6 +82,14 @@ properties:
>        - const: rx
>        - const: ptp_ref
>  
> +  pcs-handle:
> +    $ref: /schemas/types.yaml#/definitions/phandle-array
> +    maxItems: 1

[Severity: Medium]
The commit message states "The type already comes from the
ethernet-controller.yaml reference in the schema chain; this only records
the intent". 

Is it necessary to redefine the $ref to phandle-array and set maxItems to 1
here, or does this contradict the commit message's claim that the type
definition is omitted because it is already handled by the schema chain?

> +    description:
> +      phandle pointing to the SerDes XPCS lane child node that provides
> +      the SGMII PCS for this MAC. See
> +      Documentation/devicetree/bindings/phy/nxp,s32g-serdes.yaml.
> +
>  required:
>    - clocks
>    - clock-names

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260919-s32g_serdes-v3-0-9d68868c1e89@oss.nxp.com?part=2

WARNING: multiple messages have this Message-ID (diff)
From: sashiko-bot@kernel.org
To: "Jan Petrous (OSS)" <jan.petrous@oss.nxp.com>
Cc: devicetree@vger.kernel.org, imx@lists.linux.dev,
	vkoul@kernel.org, olteanv@gmail.com, robh@kernel.org,
	linux-phy@lists.infradead.org, Frank.Li@kernel.org,
	neil.armstrong@linaro.org, conor+dt@kernel.org,
	linux-pci@vger.kernel.org, wsa+renesas@sang-engineering.com
Subject: Re: [PATCH RFC v3 02/12] dt-bindings: net: nxp,s32-dwmac: Document pcs-handle
Date: Sun, 20 Sep 2026 06:54:59 +0000	[thread overview]
Message-ID: <20260920065500.09BD91F00893@smtp.kernel.org> (raw)
In-Reply-To: <20260919-s32g_serdes-v3-2-9d68868c1e89@oss.nxp.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dt-bindings: redundant type definition in pcs-handle contradicts commit message
--

commit 83228aa7bd3f939d2363db1fc38174d3181bfd69
Author: Jan Petrous (OSS) <jan.petrous@oss.nxp.com>

dt-bindings: net: nxp,s32-dwmac: Document pcs-handle

This commit documents the pcs-handle property for the S32 DWMAC when
routed to the embedded SerDes for SGMII. The commit message indicates
that the type is inherited from ethernet-controller.yaml and does not
need to be redefined.

> diff --git a/Documentation/devicetree/bindings/net/nxp,s32-dwmac.yaml b/Documentation/devicetree/bindings/net/nxp,s32-dwmac.yaml
> index 753a04941659b..b168decb540c6 100644
> --- a/Documentation/devicetree/bindings/net/nxp,s32-dwmac.yaml
> +++ b/Documentation/devicetree/bindings/net/nxp,s32-dwmac.yaml

[ ... ]

> @@ -81,6 +82,14 @@ properties:
>        - const: rx
>        - const: ptp_ref
>  
> +  pcs-handle:
> +    $ref: /schemas/types.yaml#/definitions/phandle-array
> +    maxItems: 1

[Severity: Medium]
The commit message states "The type already comes from the
ethernet-controller.yaml reference in the schema chain; this only records
the intent". 

Is it necessary to redefine the $ref to phandle-array and set maxItems to 1
here, or does this contradict the commit message's claim that the type
definition is omitted because it is already handled by the schema chain?

> +    description:
> +      phandle pointing to the SerDes XPCS lane child node that provides
> +      the SGMII PCS for this MAC. See
> +      Documentation/devicetree/bindings/phy/nxp,s32g-serdes.yaml.
> +
>  required:
>    - clocks
>    - clock-names

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260919-s32g_serdes-v3-0-9d68868c1e89@oss.nxp.com?part=2

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

  reply	other threads:[~2026-09-20  6:55 UTC|newest]

Thread overview: 91+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-19  6:54 [PATCH RFC v3 00/12] Add support for the NXP S32G SerDes subsystem Jan Petrous via B4 Relay
2026-09-19  6:54 ` Jan Petrous (OSS)
2026-09-19  6:54 ` Jan Petrous via B4 Relay
2026-09-19  6:54 ` [PATCH RFC v3 01/12] dt-bindings: phy: Add " Jan Petrous via B4 Relay
2026-09-19  6:54   ` Jan Petrous (OSS)
2026-09-19  6:54   ` Jan Petrous via B4 Relay
2026-09-20  6:54   ` sashiko-bot
2026-09-20  6:54     ` sashiko-bot
2026-10-12 18:57   ` Frank Li
2026-10-12 18:57     ` Frank Li
2026-10-13 14:40     ` Jan Petrous
2026-10-13 14:40       ` Jan Petrous
2026-09-19  6:54 ` [PATCH RFC v3 02/12] dt-bindings: net: nxp,s32-dwmac: Document pcs-handle Jan Petrous via B4 Relay
2026-09-19  6:54   ` Jan Petrous (OSS)
2026-09-19  6:54   ` Jan Petrous via B4 Relay
2026-09-20  6:54   ` sashiko-bot [this message]
2026-09-20  6:54     ` sashiko-bot
2026-09-19  6:54 ` [PATCH RFC v3 03/12] dt-bindings: PCI: nxp,s32g-pcie: Fix SerDes PHY phandle in example Jan Petrous via B4 Relay
2026-09-19  6:54   ` Jan Petrous (OSS)
2026-09-19  6:54   ` Jan Petrous via B4 Relay
2026-09-20  6:54   ` sashiko-bot
2026-09-20  6:54     ` sashiko-bot
2026-10-12 18:43   ` Frank Li
2026-10-12 18:43     ` Frank Li
2026-10-13 14:37     ` Jan Petrous
2026-10-13 14:37       ` Jan Petrous
2026-09-19  6:54 ` [PATCH RFC v3 04/12] net: pcs: add NXP SerDes XPCS shared core Jan Petrous via B4 Relay
2026-09-19  6:54   ` Jan Petrous (OSS)
2026-09-19  6:54   ` Jan Petrous via B4 Relay
2026-09-19 15:31   ` Maxime Chevallier
2026-09-19 15:31     ` Maxime Chevallier
2026-09-19 16:31     ` Coia Prant
2026-09-19 16:31       ` Coia Prant
2026-10-11  6:01     ` Jan Petrous
2026-10-11  6:01       ` Jan Petrous
2026-10-12 19:47       ` Coia Prant
2026-10-12 19:47         ` Coia Prant
2026-10-13 14:47         ` Jan Petrous
2026-10-13 14:47           ` Jan Petrous
2026-09-20  6:54   ` sashiko-bot
2026-09-20  6:54     ` sashiko-bot
2026-09-20 18:39   ` Andrew Lunn
2026-09-20 18:39     ` Andrew Lunn
2026-10-11  6:03     ` Jan Petrous
2026-10-11  6:03       ` Jan Petrous
2026-09-19  6:54 ` [PATCH RFC v3 05/12] net: pcs: Add NXP S32G XPCS driver Jan Petrous via B4 Relay
2026-09-19  6:54   ` Jan Petrous (OSS)
2026-09-19  6:54   ` Jan Petrous via B4 Relay
2026-09-20  6:54   ` sashiko-bot
2026-09-20  6:54     ` sashiko-bot
2026-09-20 17:07   ` Andrew Lunn
2026-09-20 17:07     ` Andrew Lunn
2026-10-11  5:56     ` Jan Petrous
2026-10-11  5:56       ` Jan Petrous
2026-09-19  6:54 ` [PATCH RFC v3 06/12] phy: freescale: s32g: Add SerDes subsystem PHY Jan Petrous via B4 Relay
2026-09-19  6:54   ` Jan Petrous (OSS)
2026-09-19  6:54   ` Jan Petrous via B4 Relay
2026-09-20  6:54   ` sashiko-bot
2026-09-20  6:54     ` sashiko-bot
2026-09-19  6:54 ` [PATCH RFC v3 07/12] net: stmmac: dwmac-s32: Add SGMII support Jan Petrous via B4 Relay
2026-09-19  6:54   ` Jan Petrous (OSS)
2026-09-19  6:54   ` Jan Petrous via B4 Relay
2026-09-19 12:04   ` Maxime Chevallier
2026-09-19 12:04     ` Maxime Chevallier
2026-10-11  5:53     ` Jan Petrous
2026-10-11  5:53       ` Jan Petrous
2026-09-20  6:54   ` sashiko-bot
2026-09-20  6:54     ` sashiko-bot
2026-09-19  6:54 ` [PATCH RFC v3 08/12] MAINTAINERS: Add NXP S32G SerDes and SerDes xPCS core entries Jan Petrous via B4 Relay
2026-09-19  6:54   ` Jan Petrous (OSS)
2026-09-19  6:54   ` Jan Petrous via B4 Relay
2026-09-19  6:54 ` [PATCH RFC v3 09/12] arm64: dts: s32g: Add SCMI reset controller Jan Petrous via B4 Relay
2026-09-19  6:54   ` Jan Petrous (OSS)
2026-09-19  6:54   ` Jan Petrous via B4 Relay
2026-09-20  6:54   ` sashiko-bot
2026-09-20  6:54     ` sashiko-bot
2026-09-19  6:54 ` [PATCH RFC v3 10/12] arm64: dts: s32g: Add SerDes controller nodes Jan Petrous via B4 Relay
2026-09-19  6:54   ` Jan Petrous (OSS)
2026-09-19  6:54   ` Jan Petrous via B4 Relay
2026-09-20  6:55   ` sashiko-bot
2026-09-20  6:55     ` sashiko-bot
2026-09-19  6:54 ` [PATCH RFC v3 11/12] arm64: dts: s32g: Add PCIe " Jan Petrous via B4 Relay
2026-09-19  6:54   ` Jan Petrous (OSS)
2026-09-19  6:54   ` Jan Petrous via B4 Relay
2026-09-20  6:55   ` sashiko-bot
2026-09-20  6:55     ` sashiko-bot
2026-09-19  6:54 ` [PATCH RFC v3 12/12] arm64: dts: s32g: Add S32G3-RDB3 SerDes routing variants Jan Petrous via B4 Relay
2026-09-19  6:54   ` Jan Petrous (OSS)
2026-09-19  6:54   ` Jan Petrous via B4 Relay
2026-09-20  6:55   ` sashiko-bot
2026-09-20  6:55     ` 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=20260920065500.09BD91F00893@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=Frank.Li@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=imx@lists.linux.dev \
    --cc=jan.petrous@oss.nxp.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=neil.armstrong@linaro.org \
    --cc=olteanv@gmail.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=vkoul@kernel.org \
    --cc=wsa+renesas@sang-engineering.com \
    /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.