[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200930.150418.1891146291368222087.davem@davemloft.net>
Date: Wed, 30 Sep 2020 15:04:18 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: calvin.johnson@....nxp.com
Cc: grant.likely@....com, rafael@...nel.org, jeremy.linton@....com,
andrew@...n.ch, andy.shevchenko@...il.com, f.fainelli@...il.com,
linux@...linux.org.uk, cristian.sovaiala@....com,
florinlaurentiu.chiculita@....com, ioana.ciornei@....com,
madalin.bucur@....nxp.com, heikki.krogerus@...ux.intel.com,
linux-kernel@...r.kernel.org, linux.cj@...il.com,
netdev@...r.kernel.org, linux-acpi@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, diana.craciun@....com,
laurentiu.tudor@....com, hkallweit1@...il.com, kuba@...nel.org
Subject: Re: [net-next PATCH v1 4/7] net: mdiobus: Introduce
fwnode_mdiobus_register_phy()
From: Calvin Johnson <calvin.johnson@....nxp.com>
Date: Wed, 30 Sep 2020 21:34:27 +0530
> --- a/drivers/net/phy/mdio_bus.c
> +++ b/drivers/net/phy/mdio_bus.c
> @@ -106,6 +106,46 @@ int mdiobus_unregister_device(struct mdio_device *mdiodev)
> }
> EXPORT_SYMBOL(mdiobus_unregister_device);
>
> +int fwnode_mdiobus_register_phy(struct mii_bus *bus,
> + struct fwnode_handle *child, u32 addr)
> +{
> + struct phy_device *phy;
> + bool is_c45;
> + const char *cp;
> + u32 phy_id;
> + int rc;
Reverse christmas tree here please.
Powered by blists - more mailing lists