From: Michael Walle <michael@walle.cc>
To: linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Cc: Andrew Lunn <andrew@lunn.ch>,
Florian Fainelli <f.fainelli@gmail.com>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
"David S . Miller" <davem@davemloft.net>,
Vladimir Oltean <vladimir.oltean@nxp.com>,
Antoine Tenart <antoine.tenart@bootlin.com>,
Michael Walle <michael@walle.cc>
Subject: [PATCH net-next v2 0/3] add phy shared storage
Date: Mon, 4 May 2020 23:31:33 +0200 [thread overview]
Message-ID: <20200504213136.26458-1-michael@walle.cc> (raw)
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
next reply other threads:[~2020-05-04 21:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-04 21:31 Michael Walle [this message]
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
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=20200504213136.26458-1-michael@walle.cc \
--to=michael@walle.cc \
--cc=andrew@lunn.ch \
--cc=antoine.tenart@bootlin.com \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=hkallweit1@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=vladimir.oltean@nxp.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®