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 v3 1/2] dt-bindings: net: Add Synaptics SL2610 DWMAC
Date: Wed, 02 Dec 2026 14:58:41 +0000 [thread overview]
Message-ID: <sashiko-outbox-246025@kernel.org> (raw)
In-Reply-To: <20261201143753.13916-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 32a30e5df7dbed46d64215a1ce0df8698875a083
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
integration of the DWMAC 5.20 Ethernet controller and adds its compatible
string to the common DWMAC schema.
> 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
[ ... ]
> +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]
This isn't a bug, but the property order in properties:, required:, and
the example node does not follow the standard DT binding convention.
clocks and clock-names should come before interrupts and interrupt-names,
and the vendor-specific syna,syscon property should be placed after
standard properties such as phy-mode and phy-handle.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261201143753.13916-1-jszhang@kernel.org?part=1
next prev parent reply other threads:[~2026-12-02 14:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 14:37 [PATCH net-next v3 0/2] net: stmmac: add SL2610 ethernet support Jisheng Zhang
2026-12-01 14:37 ` [PATCH net-next v3 1/2] dt-bindings: net: Add Synaptics SL2610 DWMAC Jisheng Zhang
2026-12-02 14:58 ` sashiko-bot [this message]
2026-12-01 14:37 ` [PATCH net-next v3 2/2] net: stmmac: Add glue layer for Synaptics SL2610 SoC Jisheng Zhang
2026-12-01 17:23 ` Andrew Lunn
2026-12-02 14:58 ` 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-246025@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox