All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Vasilij Strassheim <v.strassheim@linutronix.de>
Cc: Krzysztof Kozlowski <krzk@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 4/9] dt-bindings: mfd: Add SoC-e SWIP parent
Date: Tue, 1 Dec 2026 16:48:03 -0600	[thread overview]
Message-ID: <20261201224803.GA3882869-robh@kernel.org> (raw)
In-Reply-To: <4d56bd92d27429c3ac2cbcefac74c0327b3b3af8.camel@linutronix.de>

On Mon, Nov 23, 2026 at 06:59:48PM +0100, Vasilij Strassheim wrote:
> On Sat, 2026-11-21 at 11:19 +0100, Krzysztof Kozlowski wrote:
> > On Fri, Nov 20, 2026 at 03:52:21PM +0100, Vasilij Strassheim wrote:
> > > +examples:
> > > +  - |
> > > +    ip-core@80020000 {
> > > +        compatible = "soce,swip";
> > > +        reg = <0x80020000 0x10000>;
> > > +        ranges = <0x0 0x80020000 0x10000>;
> > > +        #address-cells = <1>;
> > > +        #size-cells = <1>;
> > > +
> > > +        ethernet-switch@0 {
> > > +            compatible = "soce,swip-switch-00-04-0c-10";
> > > +            reg = <0x0 0x10000>;
> > 
> > You have conflicting address spaces - this covers all other children -
> > which suggests this is artificial split of device nodes. Basically
> > comments from last version are valid. If some split of device nodes
> > makes your driver easier, it might be fine, but only under the
> > constraint of proper hardware representation. It's not proper hardware
> > representation anymore.
> 
> Yes, there is a conflicting address space here. I used the full IP-core
> range for the switch child as a shortcut, because the switch registers
> are interleaved with register areas belonging to other child functions.
> 
> However, that does not properly represent the hardware. Sorry for that.
> 
> I will describe the individual register regions for switch in the next
> version:
> 
>     reg = <0x0 0x50>, <0xb00 0x1200>,
>           <0x3000 0x14>, <0x3200 0x400>;
>     reg-names = "global", "switch", "ports", "statistics";

I still don't think this is correct. Correct me if I'm wrong, but your 
MDIO controller/mux is not a separate h/w block from the switch. So 
again, "soce,swip" and "soce,swip-switch-00-04-0c-10" nodes should be 
merged. For mdio mux, either it can be a child of the switch or not in 
DT at all and instantiated from the switch driver.

Rob

  reply	other threads:[~2026-12-01 22:48 UTC|newest]

Thread overview: 21+ 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
2026-11-21 14:53   ` sashiko-bot
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-21 14:53   ` sashiko-bot
2026-11-22 14:54   ` Krzysztof Kozlowski
2026-11-24 10:40     ` Vasilij Strassheim
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-12-01 22:48       ` Rob Herring [this message]
2026-11-21 14:53   ` sashiko-bot
2026-11-20 14:52 ` [PATCH net-next v5 5/9] net: dsa: Add tag handling for SoC-e switches Vasilij Strassheim
2026-11-21 14:53   ` sashiko-bot
2026-11-25 16:06     ` 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=20261201224803.GA3882869-robh@kernel.org \
    --to=robh@kernel.org \
    --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=v.strassheim@linutronix.de \
    /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.