microchip_t1: Add driver for Microchip LAN87XX T1 PHYs
PATCH v2 1/1 microchip_t1: Add driver for Microchip LAN87XX T1 PHYs
Add driver for Microchip LAN87XX T1 PHYs
This patch support driver for Microchp T1 PHYs.
There will be followup patches to this driver to support T1 PHY features such as cable diagnostics, signal quality indicator(SQI), sleep and wakeup (TC10) support.
---
v0 - v1:
* Rename microchipT1phy.c file to microchip_t1.c
* Remove microchipT1phy.h include file
* Add SPDX license identifier
* Remove remove probe and remove functions
* Update LAN87XX_INTERRUPT_MASK write as suggested
v1 - v2:
* Update comments with C++ style
* Update suggestion for naming and style
--- drivers/net/phy/Kconfig | 5 +++ drivers/net/phy/Makefile | 1 + drivers/net/phy/microchip_t1.c | 74 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+) create mode 100644 drivers/net/phy/microchip_t1.c
drivers/net/phy/Kconfig +5 -0
@@ -354,6 +354,11 @@ config MICROCHIP_PHY help Supports the LAN88XX PHYs. +config MICROCHIP_T1_PHY + tristate "Microchip T1 PHYs" + ---help--- + Supports the LAN87XX PHYs. + config MICROSEMI_PHY tristate "Microsemi PHYs" ---help---
drivers/net/phy/Makefile +1 -0
@@ -70,6 +70,7 @@ obj-$(CONFIG_MESON_GXL_PHY) += meson-gxl.o obj-$(CONFIG_MICREL_KS8995MA) += spi_ks8995.o obj-$(CONFIG_MICREL_PHY) += micrel.o obj-$(CONFIG_MICROCHIP_PHY) += microchip.o +obj-$(CONFIG_MICROCHIP_T1_PHY) += microchip_t1.o obj-$(CONFIG_MICROSEMI_PHY) += mscc.o obj-$(CONFIG_NATIONAL_PHY) += national.o obj-$(CONFIG_QSEMI_PHY) += qsemi.o
drivers/net/phy/microchip_t1.c new file +74 -0
74 lines not on this page · raw message
Signature · 1 line
2.14.1
From: Nisar Sayed <[email protected]>
Date: Wed, 2 May 2018 21:09:17 +0530
Quoted 8 lines
Add driver for Microchip LAN87XX T1 PHYs
This patch support driver for Microchp T1 PHYs.
There will be followup patches to this driver to support T1 PHY features such as cable diagnostics, signal quality indicator(SQI), sleep and wakeup (TC10) support.Signed-off-by Nisar Sayed <[email protected]>
Quoted 10 lines
---
v0 - v1:
* RenamemicrochipT1phy.cfile tomicrochip_t1.c
* RemovemicrochipT1phy.hinclude file
* Add SPDX license identifier
* Remove remove probe and remove functions
* UpdateLAN87XX_INTERRUPT_MASKwrite as suggested
v1 - v2:
* Update comments with C++ style
* Update suggestion for naming and style
Applied, thanks.