From: sashiko-bot@kernel.org
To: "Jisheng Zhang" <jszhang@kernel.org>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH net-next v4 1/2] dt-bindings: net: Add Synaptics SL2610 DWMAC
Date: Thu, 03 Dec 2026 15:37:42 +0000 [thread overview]
Message-ID: <sashiko-outbox-248127@kernel.org> (raw)
In-Reply-To: <20261202151531.28480-2-jszhang@kernel.org>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: net: non-canonical property order in
syna,sl2610-dwmac.yaml
--
commit 0cc8894344bffab71c7f1c74f0470990193e499a
Author: Jisheng Zhang <jszhang@kernel.org>
dt-bindings: net: Add Synaptics SL2610 DWMAC
This commit adds a Device Tree binding schema for the Synaptics SL2610
DesignWare Ethernet MAC and registers its compatible string in the common
DWMAC binding.
> diff --git a/Documentation/devicetree/bindings/net/syna,sl2610-dwmac.yaml b/Documentation/devicetree/bindings/net/syna,sl2610-dwmac.yaml
> new file mode 100644
> index 0000000000000..37f91fdfddb1e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/net/syna,sl2610-dwmac.yaml
> @@ -0,0 +1,124 @@
[ ... ]
> +properties:
> + compatible:
> + items:
> + - const: syna,sl2610-dwmac
> + - const: snps,dwmac-5.20
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + interrupt-names:
> + const: macirq
> +
> + clocks:
> + items:
> + - description: MAC clock
> + - description: Peripheral register interface clock
> + - description: PTP reference clock
> +
> + clock-names:
> + items:
> + - const: stmmaceth
> + - const: pclk
> + - const: ptp_ref
> +
> + resets:
> + maxItems: 1
> +
> + reset-names:
> + const: stmmaceth
> +
> + power-domains:
> + maxItems: 1
> +
> + syna,syscon:
> + $ref: /schemas/types.yaml#/definitions/phandle-array
> + items:
> + - items:
> + - description: Phandle to the SL2610 system controller.
> + - description: Offset of the Ethernet interface control register.
> + description:
> + Phandle and register offset used to configure the Ethernet PHY
> + interface mode.
> +
> + phy-mode:
> + enum:
> + - rmii
> + - rgmii
> + - rgmii-id
> + - rgmii-rxid
> + - rgmii-txid
> +
> +required:
> + - compatible
> + - clocks
> + - clock-names
> + - syna,syscon
> + - phy-mode
[ ... ]
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/arm-gic.h>
> + #include <dt-bindings/interrupt-controller/irq.h>
> +
> + ethernet@f7a06000 {
> + compatible = "syna,sl2610-dwmac", "snps,dwmac-5.20";
> + reg = <0xf7a06000 0x2000>;
> + interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
> + interrupt-names = "macirq";
> + clocks = <&clk 13>, <&clk 45>, <&clk 15>;
> + clock-names = "stmmaceth", "pclk", "ptp_ref";
> + resets = <&rst 6>;
> + reset-names = "stmmaceth";
> + phy-mode = "rgmii-id";
> + syna,syscon = <&chip 0xa3c>;
> + phy-handle = <&phy1>;
[Severity: Low]
In both properties and the example node, interrupts and interrupt-names
are listed before clocks and clock-names, whereas the canonical DT binding
order places clocks and clock-names before interrupts and interrupt-names.
In addition, the vendor-specific syna,syscon property is placed before the
standard phy-mode property in properties and required, and before
phy-handle in the example node.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261202151531.28480-1-jszhang@kernel.org?part=1
next prev parent reply other threads:[~2026-12-03 15:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 15:15 [PATCH net-next v4 0/2] net: stmmac: add SL2610 ethernet support Jisheng Zhang
2026-12-02 15:15 ` [PATCH net-next v4 1/2] dt-bindings: net: Add Synaptics SL2610 DWMAC Jisheng Zhang
2026-12-03 15:37 ` sashiko-bot [this message]
2026-12-04 13:23 ` Rob Herring
2026-12-02 15:15 ` [PATCH net-next v4 2/2] net: stmmac: Add glue layer for Synaptics SL2610 SoC Jisheng Zhang
2026-12-03 15:37 ` 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=sashiko-outbox-248127@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jszhang@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.