From: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
To: Sergey Shtylyov <s.shtylyov@omp.ru>
Cc: "David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>,
Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>,
Biju Das <biju.das.jz@bp.renesas.com>,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-renesas-soc@vger.kernel.org
Subject: Re: [net-next 2/2] ravb: Add support for an optional MDIO mode
Date: Sat, 9 Mar 2024 21:44:24 +0100 [thread overview]
Message-ID: <20240309204424.GJ3735877@ragnatech.se> (raw)
In-Reply-To: <f7bb4374-0afa-b79e-e64c-bd97b6680354@omp.ru>
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@ragnatech.se>
>
> Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
>
> [...]
>
> MBR, Sergey
--
Kind Regards,
Niklas Söderlund
next prev parent reply other threads:[~2024-03-09 20:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-09 15:53 [net-next 0/2] ravb: Support describing the MDIO bus Niklas Söderlund
2024-03-09 15:53 ` [net-next 1/2] dt-bindings: net: renesas,etheravb: Add optional MDIO bus node Niklas Söderlund
2024-03-09 19:22 ` Sergey Shtylyov
2024-03-10 8:44 ` Krzysztof Kozlowski
2024-03-10 13:46 ` Niklas Söderlund
2024-03-12 12:07 ` Krzysztof Kozlowski
2024-03-09 15:53 ` [net-next 2/2] ravb: Add support for an optional MDIO mode Niklas Söderlund
2024-03-09 19:28 ` Sergey Shtylyov
2024-03-09 20:44 ` Niklas Söderlund [this message]
2024-03-11 9:24 ` Geert Uytterhoeven
2024-03-11 9:32 ` Geert Uytterhoeven
2024-03-11 11:03 ` Niklas Söderlund
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=20240309204424.GJ3735877@ragnatech.se \
--to=niklas.soderlund+renesas@ragnatech.se \
--cc=biju.das.jz@bp.renesas.com \
--cc=claudiu.beznea.uj@bp.renesas.com \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=geert+renesas@glider.be \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=kuba@kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh+dt@kernel.org \
--cc=s.shtylyov@omp.ru \
--cc=yoshihiro.shimoda.uh@renesas.com \
/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;
as well as URLs for NNTP newsgroup(s).