[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5531e16b-4bd3-4ffd-82b5-0dda7942bb5b@lunn.ch>
Date: Sat, 10 Feb 2024 02:17:48 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Christian Marangi <ansuelsmth@...il.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
Florian Fainelli <florian.fainelli@...adcom.com>,
Broadcom internal kernel review list <bcm-kernel-feedback-list@...adcom.com>,
Robert Marko <robert.marko@...tura.hr>, netdev@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-msm@...r.kernel.org
Subject: Re: [net-next PATCH v7 02/10] net: phy: add support for scanning PHY
in PHY packages nodes
On Tue, Feb 06, 2024 at 06:31:05PM +0100, Christian Marangi wrote:
> Add support for scanning PHY in PHY package nodes. PHY packages nodes
> are just container for actual PHY on the MDIO bus.
>
> Their PHY address defined in the PHY package node are absolute and
> reflect the address on the MDIO bus.
>
> mdio_bus.c and of_mdio.c is updated to now support and parse also
> PHY package subnode by checking if the node name match
> "ethernet-phy-package".
>
> As PHY package reg is mandatory and each PHY in the PHY package must
> have a reg, every invalid PHY Package node is ignored and will be
> skipped by the autoscan fallback.
>
> Signed-off-by: Christian Marangi <ansuelsmth@...il.com>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists