linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] add phy shared storage
@ 2020-05-04 16:38 Michael Walle
  2020-05-04 16:38 ` [PATCH net-next 1/3] net: phy: add concept of shared storage for PHYs Michael Walle
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Michael Walle @ 2020-05-04 16:38 UTC (permalink / raw)
  To: linux-kernel, netdev
  Cc: Andrew Lunn, Florian Fainelli, Heiner Kallweit, Russell King,
	David S . Miller, Vladimir Oltean, Antoine Tenart, Michael Walle

Introduce the concept of a shared PHY storage which can be used by some
QSGMII PHYs to ease initialization and access to global per-package
registers.

Changes since RFC:
 - check return code of kzalloc()
 - fix local variable ordering (reverse christmas tree)
 - add priv_size argument to phy_package_join()
 - add Tested-by tag, thanks Vladimir.

Michael Walle (3):
  net: phy: add concept of shared storage for PHYs
  net: phy: bcm54140: use phy_package_shared
  net: phy: mscc: use phy_package_shared

 drivers/net/phy/bcm54140.c       |  57 +++----------
 drivers/net/phy/mdio_bus.c       |   1 +
 drivers/net/phy/mscc/mscc.h      |   1 -
 drivers/net/phy/mscc/mscc_main.c | 101 +++++++---------------
 drivers/net/phy/phy_device.c     | 138 +++++++++++++++++++++++++++++++
 include/linux/phy.h              |  89 ++++++++++++++++++++
 6 files changed, 270 insertions(+), 117 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-05-04 17:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-04 16:38 [PATCH net-next 0/3] add phy shared storage Michael Walle
2020-05-04 16:38 ` [PATCH net-next 1/3] net: phy: add concept of shared storage for PHYs Michael Walle
2020-05-04 17:45   ` Florian Fainelli
2020-05-04 16:38 ` [PATCH net-next 2/3] net: phy: bcm54140: use phy_package_shared Michael Walle
2020-05-04 16:38 ` [PATCH net-next 3/3] net: phy: mscc: " Michael Walle

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).