From: Andrew Lunn <andrew@lunn.ch>
To: hfdevel@gmx.net
Cc: Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
FUJITA Tomonori <fujita.tomonori@gmail.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next v7 1/7] net: phy: Add swnode support to mdiobus_scan
Date: Sat, 22 Mar 2025 16:49:01 +0100 [thread overview]
Message-ID: <676cc9cb-6f6c-45c3-9f6d-e73747661de6@lunn.ch> (raw)
In-Reply-To: <20250322-tn9510-v3a-v7-1-672a9a3d8628@gmx.net>
On Sat, Mar 22, 2025 at 11:45:52AM +0100, Hans-Frieder Vogt via B4 Relay wrote:
> From: Hans-Frieder Vogt <hfdevel@gmx.net>
>
> This patch will allow to use a swnode/fwnode defined for a phy_device. The
> MDIO bus (mii_bus) needs to contain nodes for the PHY devices, named
> "ethernet-phy@i", with i being the MDIO address (0 .. PHY_MAX_ADDR - 1).
>
> The fwnode is only attached to the phy_device if there isn't already an
> fwnode attached.
>
> fwnode_get_named_child_node will increase the usage counter of the fwnode.
> However, no new code is needed to decrease the counter again, since this is
> already implemented in the phy_device_release function.
>
> Signed-off-by: Hans-Frieder Vogt <hfdevel@gmx.net>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
next prev parent reply other threads:[~2025-03-22 15:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-22 10:45 [PATCH net-next v7 0/7] net: tn40xx: add support for AQR105 based cards Hans-Frieder Vogt via B4 Relay
2025-03-22 10:45 ` [PATCH net-next v7 1/7] net: phy: Add swnode support to mdiobus_scan Hans-Frieder Vogt via B4 Relay
2025-03-22 15:49 ` Andrew Lunn [this message]
2025-03-22 10:45 ` [PATCH net-next v7 2/7] net: phy: aquantia: add probe function to aqr105 for firmware loading Hans-Frieder Vogt via B4 Relay
2025-03-22 10:45 ` [PATCH net-next v7 3/7] net: phy: aquantia: search for firmware-name in fwnode Hans-Frieder Vogt via B4 Relay
2025-03-22 10:45 ` [PATCH net-next v7 4/7] net: phy: aquantia: add essential functions to aqr105 driver Hans-Frieder Vogt via B4 Relay
2025-03-22 10:45 ` [PATCH net-next v7 5/7] net: tn40xx: create swnode for mdio and aqr105 phy and add to mdiobus Hans-Frieder Vogt via B4 Relay
2025-03-22 15:50 ` Andrew Lunn
2025-03-22 10:45 ` [PATCH net-next v7 6/7] net: tn40xx: prepare tn40xx driver to find phy of the TN9510 card Hans-Frieder Vogt via B4 Relay
2025-03-22 10:45 ` [PATCH net-next v7 7/7] net: tn40xx: add pci-id of the aqr105-based Tehuti TN4010 cards Hans-Frieder Vogt via B4 Relay
2025-03-22 15:50 ` Andrew Lunn
2025-03-25 21:00 ` [PATCH net-next v7 0/7] net: tn40xx: add support for AQR105 based cards patchwork-bot+netdevbpf
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=676cc9cb-6f6c-45c3-9f6d-e73747661de6@lunn.ch \
--to=andrew@lunn.ch \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=fujita.tomonori@gmail.com \
--cc=hfdevel@gmx.net \
--cc=hkallweit1@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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
all inboxes | Powered by JetHome®