From: Vasilij Strassheim <v.strassheim@linutronix.de>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Andrew Lunn <andrew@lunn.ch>,
Vladimir Oltean <olteanv@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Simon Horman <horms@kernel.org>,
Russell King <linux@armlinux.org.uk>,
Andrew Lunn <andrew+netdev@lunn.ch>,
Heiner Kallweit <hkallweit1@gmail.com>,
Eric Dumazet <edumazet@kernel.org>, Lee Jones <lee@kernel.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
netdev@vger.kernel.org, mfd@lists.linux.dev,
Martin Kaistra <martin.kaistra@linutronix.de>,
Benedikt Spranger <b.spranger@linutronix.de>
Subject: Re: [PATCH net-next v5 3/9] dt-bindings: net: dsa: Add SoC-e SWIP switch function
Date: Tue, 24 Nov 2026 11:40:52 +0100 [thread overview]
Message-ID: <fd998850d10838b97a3627ac7f9eafea6752846e.camel@linutronix.de> (raw)
In-Reply-To: <20261122-camouflaged-pretty-camel-79f370@quoll>
On Sun, 2026-11-22 at 15:54 +0100, Krzysztof Kozlowski wrote:
> On Fri, Nov 20, 2026 at 03:52:20PM +0100, Vasilij Strassheim wrote:
> > +$ref: dsa.yaml#/$defs/ethernet-ports
> > +
> > +properties:
> > + compatible:
> > + const: soce,swip-switch-00-04-0c-10
> > + description:
> > + This compatible identifies the register layout; its suffix gives
> > + the offsets of the core version and feature identification
> > + registers (0x00, 0x04, 0x0c, and 0x10). Port counts and optional
> > + features depend on the FPGA synthesis configuration and are
> > + detected at runtime using this register layout.
> > +
> > + reg:
> > + description:
> > + Register window of the IP core. Switch register blocks are located at
> > + offsets defined by the compatible. The MDIO controller and bus
> > + multiplexer occupy separate subregions described by sibling nodes.
> > + maxItems: 1
> > +
> > + ethernet-ports:
> > + type: object
>
> I guess this should follow:
> https://lore.kernel.org/r/20261120002549.1908299-7-prabhakar.mahadev-lad.rj@bp.renesas.com/
>
> so: additionalProperties: true
>
> > + patternProperties:
> > + '^ethernet-port@[0-9a-f]+$':
>
> and:
> '^ethernet-port@':
>
> > + type: object
>
Yes, that looks good. I will do that.
> Best regards,
> Krzysztof
>
Thanks for the tip!
Vasilij
next prev parent reply other threads:[~2026-11-24 10:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-20 14:52 [PATCH net-next v5 0/9] net: dsa: Add support for SoC-e Ethernet switch IP cores Vasilij Strassheim
2026-11-20 14:52 ` [PATCH net-next v5 1/9] dt-bindings: vendor-prefixes: Add soce Vasilij Strassheim
2026-11-20 14:52 ` [PATCH net-next v5 2/9] dt-bindings: net: Add SoC-e SWIP MDIO controller Vasilij Strassheim
[not found] ` <sashiko-outbox-227106@kernel.org>
2026-11-24 12:04 ` Vasilij Strassheim
2026-11-20 14:52 ` [PATCH net-next v5 3/9] dt-bindings: net: dsa: Add SoC-e SWIP switch function Vasilij Strassheim
2026-11-22 14:54 ` Krzysztof Kozlowski
2026-11-24 10:40 ` Vasilij Strassheim [this message]
2026-11-20 14:52 ` [PATCH net-next v5 4/9] dt-bindings: mfd: Add SoC-e SWIP parent Vasilij Strassheim
2026-11-21 10:19 ` Krzysztof Kozlowski
2026-11-23 17:59 ` Vasilij Strassheim
2026-11-20 14:52 ` [PATCH net-next v5 5/9] net: dsa: Add tag handling for SoC-e switches Vasilij Strassheim
2026-11-20 14:52 ` [PATCH net-next v5 6/9] net: mdio: Add SoC-e SWIP MDIO controller driver Vasilij Strassheim
2026-11-20 14:52 ` [PATCH net-next v5 7/9] mfd: soce: Add SWIP core driver Vasilij Strassheim
2026-11-20 14:52 ` [PATCH net-next v5 8/9] net: dsa: soce: Add basic support for SoC-e SWIP switch Vasilij Strassheim
2026-11-20 14:52 ` [PATCH net-next v5 9/9] net: dsa: soce: Add VLAN membership table support Vasilij Strassheim
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=fd998850d10838b97a3627ac7f9eafea6752846e.camel@linutronix.de \
--to=v.strassheim@linutronix.de \
--cc=andrew+netdev@lunn.ch \
--cc=andrew@lunn.ch \
--cc=b.spranger@linutronix.de \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@kernel.org \
--cc=hkallweit1@gmail.com \
--cc=horms@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=kuba@kernel.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=martin.kaistra@linutronix.de \
--cc=mfd@lists.linux.dev \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
/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
all inboxes | Powered by JetHome®