From: Rob Herring <robh@kernel.org>
To: Jisheng Zhang <jszhang@kernel.org>
Cc: Andrew Lunn <andrew@lunn.ch>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
"David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
Maxime Chevallier <maxime.chevallier@bootlin.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH net-next v4 1/2] dt-bindings: net: Add Synaptics SL2610 DWMAC
Date: Fri, 4 Dec 2026 07:23:50 -0600 [thread overview]
Message-ID: <20261204132350.GA2486400-robh@kernel.org> (raw)
In-Reply-To: <20261202151531.28480-2-jszhang@kernel.org>
On Wed, Dec 02, 2026 at 11:15:30PM +0800, Jisheng Zhang wrote:
> Describe the Synaptics SL2610 integration of DWMAC 5.20. The PHY
> interface mode and the routing of the shared MDC/MDIO signals are
> controlled through system-controller registers.
>
> Add the compatible to the common DWMAC schema and show a PHY connected
> to MAC1's MDIO bus in the example.
>
> Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
> ---
> .../devicetree/bindings/net/snps,dwmac.yaml | 1 +
> .../bindings/net/syna,sl2610-dwmac.yaml | 124 ++++++++++++++++++
> 2 files changed, 125 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/net/syna,sl2610-dwmac.yaml
Please fix sashiko issues.
>
> diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
> index 69d88a9b1925..619c389d8838 100644
> --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml
> +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
> @@ -120,6 +120,7 @@ properties:
> - sophgo,sg2044-dwmac
> - starfive,jh7100-dwmac
> - starfive,jh7110-dwmac
> + - syna,sl2610-dwmac
> - tesla,fsd-ethqos
> - thead,th1520-gmac
> - ultrarisc,dp1000-gmac
> 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 000000000000..37f91fdfddb1
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/net/syna,sl2610-dwmac.yaml
> @@ -0,0 +1,124 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/net/syna,sl2610-dwmac.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Synaptics SL2610 DesignWare Ethernet MAC
> +
> +maintainers:
> + - Jisheng Zhang <jszhang@kernel.org>
> +
> +description: |
Don't need '|'.
> + The Ethernet controllers share one external MDC/MDIO interface. Only
> + one controller may contain an enabled MDIO child node, describing all
> + devices on the shared bus. Other controllers reference those devices
> + through phy-handle and omit or disable their MDIO child nodes.
> +
> +select:
> + properties:
> + compatible:
> + contains:
> + const: syna,sl2610-dwmac
> + required:
> + - compatible
> +
> +allOf:
> + - $ref: snps,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
> +
> +dependencies:
> + resets: [reset-names]
It's a bit odd the reset is optional. Either the SoC has resets or it
doesn't.
> + reset-names: [resets]
The core schemas cover this dependency.
Rob
next prev parent reply other threads:[~2026-12-04 13:23 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
2026-12-04 13:23 ` Rob Herring [this message]
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=20261204132350.GA2486400-robh@kernel.org \
--to=robh@kernel.org \
--cc=alexandre.torgue@foss.st.com \
--cc=andrew@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=hkallweit1@gmail.com \
--cc=jszhang@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=maxime.chevallier@bootlin.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sebastian.hesselbarth@gmail.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.