[PATCH net-next v4 0/7] microchip_t1s: Update on Microchip 10BASE-T1S PHY driver

From: Parthiban Veerasooran
Date: Thu Oct 10 2024 - 04:42:24 EST


This patch series contain the below updates:
- Restructured lan865x_write_cfg_params() and lan865x_read_cfg_params()
functions arguments to more generic.
- Updated new/improved initial settings of LAN865X Rev.B0 from latest
AN1760.
- Added support for LAN865X Rev.B1 from latest AN1760.
- Moved LAN867X reset handling to a new function for flexibility.
- Added support for LAN867X Rev.C1/C2 from latest AN1699.
- Disabled/enabled collision detection based on PLCA setting.

v2:
- Fixed indexing issue in the configuration parameter setup.

v3:
- Replaced 0x1F with GENMASK(4, 0).
- Corrected typo.
- Cover letter updated with proper details.
- All the patches commit messages changed to imperative mode.

v4:
- Removed 0x3F masking in the configuration calculation and adjusted
GENMASK() as FIELD_PREP() already masks.
- Added comment for 5-bit signed value calculation and handling.

Parthiban Veerasooran (7):
net: phy: microchip_t1s: restructure cfg read/write functions
arguments
net: phy: microchip_t1s: update new initial settings for LAN865X
Rev.B0
net: phy: microchip_t1s: add support for Microchip's LAN865X Rev.B1
net: phy: microchip_t1s: move LAN867X reset handling to a new function
net: phy: microchip_t1s: add support for Microchip's LAN867X Rev.C1
net: phy: microchip_t1s: add support for Microchip's LAN867X Rev.C2
net: phy: microchip_t1s: configure collision detection based on PLCA
mode

drivers/net/phy/Kconfig | 4 +-
drivers/net/phy/microchip_t1s.c | 300 +++++++++++++++++++++++++-------
2 files changed, 240 insertions(+), 64 deletions(-)


base-commit: 09cf85ef183a5603db49d542264ddbece3258e55
--
2.34.1