[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240309204424.GJ3735877@ragnatech.se>
Date: Sat, 9 Mar 2024 21:44:24 +0100
From: Niklas Söderlund <niklas.soderlund+renesas@...natech.se>
To: Sergey Shtylyov <s.shtylyov@....ru>
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>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Claudiu Beznea <claudiu.beznea.uj@...renesas.com>,
Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>,
Biju Das <biju.das.jz@...renesas.com>, netdev@...r.kernel.org,
devicetree@...r.kernel.org, linux-renesas-soc@...r.kernel.org
Subject: Re: [net-next 2/2] ravb: Add support for an optional MDIO mode
Hi Sergey,
Thanks for your review.
On 2024-03-09 22:28:47 +0300, Sergey Shtylyov wrote:
> On 3/9/24 6:53 PM, Niklas Söderlund wrote:
>
> > The driver used the OF node of the device itself when registering the
>
> s/OF/DT/, perhaps?
I thought we referred to it as DT node when talking about .dts{i,o}
files and OF node when it was used inside the kernel? The infrastructure
around its called of_get_child_by_name() and of_node_put() for example.
And I believe OF is an abbreviation for Open Firmware (?). IIRC this is
because ACPI might also be in the mix somewhere and DT != ACPI :-)
I'm happy to change this if I understood it wrong, if not I like to keep
it as is.
>
> > MDIO bus. While this works it creates a problem, it forces any MDIO bus
>
> While this works, it creates a problem: it forces any MDIO bus...
Thanks will fix.
>
> > properties to also be set on the devices OF node. This mixes the
>
> Again, DT node?
>
> > properties of two distinctly different things and is confusing.
> >
> > This change adds support for an optional mdio node to be defined as a
> > child to the device OF node. The child node can then be used to describe
> > MDIO bus properties that the MDIO core can act on when registering the
> > bus.
> >
> > If no mdio child node is found the driver fallback to the old behavior
> > and register the MDIO bus using the device OF node. This change is
> > backward compatible with old bindings in use.
> >
> > Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@...natech.se>
>
> Reviewed-by: Sergey Shtylyov <s.shtylyov@....ru>
>
> [...]
>
> MBR, Sergey
--
Kind Regards,
Niklas Söderlund
Powered by blists - more mailing lists