[PATCH net-next v2 0/3] Add support for VSC8531_02 PHY and DT RGMII tuning

From: Harini Katakam
Date: Wed Apr 26 2023 - 06:43:37 EST


Add support for VSC8531_02 PHY ID.
Also provide an option to tune RGMII delay value via devicetree.
The default delays are retained in the driver.

v2 changes:
- Added patch to use a common vendor phy id match
- Removed dt include header patch because delays should be specied in
ps, not register values
- Updated DT binding description and commit for optional delay tuning to
be clearer on the precedence
- Updated dt property name to include vendor instead of phy device name
- Switch both VSC8531 and VSC8531-02 to use exact phy id match as they
share the same model number
- Ensure RCT
- Improve optional property read

RFC link: https://lore.kernel.org/all/20210629094038.18610-1-harini.katakam@xxxxxxxxxx/

Harini Katakam (3):
phy: mscc: Use PHY_ID_MATCH_VENDOR to minimize PHY ID table
dt-bindings: mscc: Add RGMII RX and TX delay tuning
phy: mscc: Add support for VSC8531_02 with RGMII tuning

.../bindings/net/mscc-phy-vsc8531.txt | 2 +
drivers/net/phy/mscc/mscc.h | 3 ++
drivers/net/phy/mscc/mscc_main.c | 54 +++++++++++++------
3 files changed, 42 insertions(+), 17 deletions(-)

--
2.17.1