[PATCH v2 net-next 0/4] Add support for Qualcomm QCA807x PHYs

Robert Marko
2021-02-10T12:57:52Z

This patch series adds support for Qualcomm QCA807x PHYs.

These are really common companion PHYs on boards featuring
Qualcomm IPQ40xx, IPQ60xx and IPQ807x SoCs.

They are 2 or 5 port IEEE 802.3 clause 22 compliant
10BASE-Te, 100BASE-TX and 1000BASE-T PHY-s.

They feature 2 SerDes, one for PSGMII or QSGMII connection with MAC,
while second one is SGMII for connection to MAC or fiber.

Both models have a combo port that supports 1000BASE-X and 100BASE-FX
fiber.

Each PHY inside of QCA807x series has 2 digitally controlled output only
pins that natively drive LED-s.
But some vendors used these to driver generic LED-s controlled by
user space, so lets enable registering each PHY as GPIO controller and
add driver for it.

Robert Marko (4):
dt-bindings: net: Add QCA807x PHY
dt-bindings: net: Add bindings for Qualcomm QCA807x
net: phy: Add Qualcomm QCA807x driver
MAINTAINERS: Add entry for Qualcomm QCA807x PHY driver

.../devicetree/bindings/net/qcom,qca807x.yaml | 70 ++
MAINTAINERS | 9 +
drivers/net/phy/Kconfig | 10 +
drivers/net/phy/Makefile | 1 +
drivers/net/phy/qca807x.c | 855 ++++++++++++++++++
include/dt-bindings/net/qcom-qca807x.h | 30 +
6 files changed, 975 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/qcom,qca807x.yaml
create mode 100644 drivers/net/phy/qca807x.c
create mode 100644 include/dt-bindings/net/qcom-qca807x.h

--
2.29.2