From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 524FF606A322 for ; Fri, 4 Dec 2026 13:25:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=My3p0WWX; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=oWGnyKCA DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=qVD456jVBZpwc75lc7A377CohfoyFroYmPVNU+Slap4=; b=My3p0WWX11wVg7BzIERYtxViTO pRnFsQlynilEvZ4mOMZQvdeP2atOFxSxa+XR6WcBoeoI+8Ysr5oK0twgWOITbPqsTooy+tQK3ZDup EWqC8NIJpU00t0aqn9j9ppBwbixW3ZfpYxGg9gU5YArkRnttu64ZOHYW6SyJmtPmksA/yzJZsDm+3 5s9muDYHgcD1jB1UdgqJq/zvnrlJRiEPKRls2WlyEIc+gKG42RiBldXOsR+VC97rQ3h7wttnxZ4i5 BEr1Wbifj+E0sBtTMckxHDGR8a5v1LyKL7lZl4vuI+jm8jG9PC6r9Or1oeeB2xN3HyOS6dprPrCXa qW4dFTUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZTHX-00000000NnO-3bJP; Fri, 04 Dec 2026 13:24:59 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZTGT-00000000NiU-2PaT for linux-arm-kernel@lists.infradead.org; Fri, 04 Dec 2026 13:24:07 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id EF894463B5; Fri, 4 Dec 2026 13:23:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 792FA1F00934; Fri, 4 Dec 2026 13:23:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796390632; bh=qVD456jVBZpwc75lc7A377CohfoyFroYmPVNU+Slap4=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=oWGnyKCA47pLHwej47onyd8yKSmDN3zII6kMLKQ5hKLI7cOCva8ZdYc/6are5/+wK nK7jkW9eHZ8hFIdV8YIeWlCjMSUYqi3UKe9GNQgdbUyjVagRtQiHFh6tqEtDeRMez7 7uz9s2Rb1oBd5PI4cqQx0mHyNvsjWegu1NHiBt8pDoUYCoYsxHsH9vgjmPQs2OXibQ 9EVxvyu2xykxToADILmAaguXVdSaw+4oIiwqm6LK8rvww36KTZ7GKbAvUX10pZjCbM Oh9sfSp4Ntkzq2wDCLOIycku6ajYmAHTtjLWIHloT+tu6iCGZd+yrwOEjdqevkW4sc nSnG94clgwjBQ== Date: Fri, 4 Dec 2026 07:23:50 -0600 From: Rob Herring To: Jisheng Zhang Cc: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , Conor Dooley , Sebastian Hesselbarth , Maxime Chevallier , Maxime Coquelin , Alexandre Torgue , 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 Message-ID: <20261204132350.GA2486400-robh@kernel.org> References: <20261202151531.28480-1-jszhang@kernel.org> <20261202151531.28480-2-jszhang@kernel.org> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261202151531.28480-2-jszhang@kernel.org> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-16.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 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 > --- > .../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 > + > +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