Devicetree
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] Add support for VSC8531_02 PHY and DT RGMII tuning
@ 2023-04-26 10:43 Harini Katakam
  2023-04-26 10:43 ` [PATCH net-next v2 1/3] phy: mscc: Use PHY_ID_MATCH_VENDOR to minimize PHY ID table Harini Katakam
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Harini Katakam @ 2023-04-26 10:43 UTC (permalink / raw)
  To: robh+dt, andrew, hkallweit1, linux, davem, kuba, edumazet, pabeni,
	vladimir.oltean, wsa+renesas, krzysztof.kozlowski+dt,
	simon.horman
  Cc: netdev, devicetree, linux-kernel, harinikatakamlinux,
	michal.simek, harini.katakam, radhey.shyam.pandey

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@xilinx.com/

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-04-26 17:39 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-26 10:43 [PATCH net-next v2 0/3] Add support for VSC8531_02 PHY and DT RGMII tuning Harini Katakam
2023-04-26 10:43 ` [PATCH net-next v2 1/3] phy: mscc: Use PHY_ID_MATCH_VENDOR to minimize PHY ID table Harini Katakam
2023-04-26 13:39   ` Andrew Lunn
2023-04-26 17:27     ` Katakam, Harini
2023-04-26 10:43 ` [PATCH net-next v2 2/3] dt-bindings: mscc: Add RGMII RX and TX delay tuning Harini Katakam
2023-04-26 11:10   ` Vladimir Oltean
2023-04-26 13:42   ` Andrew Lunn
2023-04-26 10:43 ` [PATCH net-next v2 3/3] phy: mscc: Add support for VSC8531_02 with RGMII tuning Harini Katakam
2023-04-26 11:18   ` Vladimir Oltean
2023-04-26 12:21     ` Katakam, Harini
2023-04-26 14:18       ` Vladimir Oltean
2023-04-26 17:39         ` Katakam, Harini
2023-04-26 13:48   ` Andrew Lunn
2023-04-26 17:30     ` Katakam, Harini
2023-04-26 15:00   ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox