[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220819120109.3857571-1-o.rempel@pengutronix.de>
Date: Fri, 19 Aug 2022 14:01:02 +0200
From: Oleksij Rempel <o.rempel@...gutronix.de>
To: Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Russell King <linux@...linux.org.uk>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Jonathan Corbet <corbet@....net>
Cc: Oleksij Rempel <o.rempel@...gutronix.de>, kernel@...gutronix.de,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
devicetree@...r.kernel.org, linux-doc@...r.kernel.org,
David Jander <david@...tonic.nl>
Subject: [PATCH net-next v1 0/7] add generic PSE support
Add generic support for the Ethernet Power Sourcing Equipment.
Oleksij Rempel (7):
dt-bindings: net: pse-dt: add bindings for generic PSE controller
dt-bindings: net: phy: add PoDL PSE property
net: add framework to support Ethernet PSE and PDs devices
net: pse-pd: add generic PSE driver
net: mdiobus: fwnode_mdiobus_register_phy() rework error handling
net: mdiobus: search for PSE nodes by parsing PHY nodes.
ethtool: add interface to interact with Ethernet Power Equipment
.../devicetree/bindings/net/ethernet-phy.yaml | 6 +
.../bindings/net/pse-pd/generic-pse.yaml | 40 ++
Documentation/networking/ethtool-netlink.rst | 60 +++
drivers/net/Kconfig | 2 +
drivers/net/Makefile | 1 +
drivers/net/mdio/fwnode_mdio.c | 58 ++-
drivers/net/phy/phy_device.c | 2 +
drivers/net/pse-pd/Kconfig | 22 +
drivers/net/pse-pd/Makefile | 6 +
drivers/net/pse-pd/pse-core.c | 387 ++++++++++++++++++
drivers/net/pse-pd/pse_generic.c | 146 +++++++
include/linux/phy.h | 2 +
include/linux/pse-pd/pse.h | 134 ++++++
include/uapi/linux/ethtool.h | 50 +++
include/uapi/linux/ethtool_netlink.h | 17 +
net/ethtool/Makefile | 3 +-
net/ethtool/netlink.c | 19 +
net/ethtool/netlink.h | 4 +
net/ethtool/pse-pd.c | 194 +++++++++
19 files changed, 1141 insertions(+), 12 deletions(-)
create mode 100644 Documentation/devicetree/bindings/net/pse-pd/generic-pse.yaml
create mode 100644 drivers/net/pse-pd/Kconfig
create mode 100644 drivers/net/pse-pd/Makefile
create mode 100644 drivers/net/pse-pd/pse-core.c
create mode 100644 drivers/net/pse-pd/pse_generic.c
create mode 100644 include/linux/pse-pd/pse.h
create mode 100644 net/ethtool/pse-pd.c
--
2.30.2
Powered by blists - more mailing lists