linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] add phy shared storage
@ 2020-05-04 21:31 Michael Walle
  2020-05-04 21:31 ` [PATCH net-next v2 1/3] net: phy: add concept of shared storage for PHYs Michael Walle
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Michael Walle @ 2020-05-04 21:31 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 v1:
 - fix typos and add a comment, thanks Florian.
 - check for "addr < 0" in phy_package_join()
 - remove multiple blank lines and make "checkpatch.pl --strict" happy

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              |  90 ++++++++++++++++++++
 6 files changed, 271 insertions(+), 117 deletions(-)

-- 
2.20.1


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

end of thread, other threads:[~2020-05-06 10:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-04 21:31 [PATCH net-next v2 0/3] add phy shared storage Michael Walle
2020-05-04 21:31 ` [PATCH net-next v2 1/3] net: phy: add concept of shared storage for PHYs Michael Walle
2020-05-05  0:55   ` Andrew Lunn
2020-05-05  1:18   ` Florian Fainelli
2020-05-04 21:31 ` [PATCH net-next v2 2/3] net: phy: bcm54140: use phy_package_shared Michael Walle
2020-05-05  0:37   ` Andrew Lunn
2020-05-05  1:18   ` Florian Fainelli
2020-05-04 21:31 ` [PATCH net-next v2 3/3] net: phy: mscc: " Michael Walle
2020-05-05  0:39   ` Andrew Lunn
2020-05-05  1:19   ` Florian Fainelli
2020-05-06 10:16   ` Antoine Tenart

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