mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/3] Add support for VSC8531_02 PHY and DT RGMII tuning
@ 2023-05-11 12:08 Harini Katakam
  2023-05-11 12:08 ` [PATCH net-next v3 1/3] phy: mscc: Use PHY_ID_MATCH_VENDOR to minimize PHY ID table Harini Katakam
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Harini Katakam @ 2023-05-11 12:08 UTC (permalink / raw)
  To: andrew, hkallweit1, linux, davem, kuba, edumazet, pabeni,
	vladimir.oltean, wsa+renesas, simon.horman, mkl
  Cc: netdev, linux-kernel, harinikatakamlinux, michal.simek,
	harini.katakam, radhey.shyam.pandey

Add support for VSC8531_02 PHY ID.
Also provide an option to change RGMII delay value via devicetree.

v3 changes:
- Remove patch 2/3 from v2 as custom mscc properties dont need to be
defined. rx-internal-delay-ps and tx-internal-delay-ps can be used.
- Change RGMII delay precedence as advised by Vladimir:
 phy-mode                       rgmii                          rgmii-rxid/rgmii-id
 --------------------------------------------------------------------------------------------
 rx-internal-delay-ps absent    0.2 ns                         2 ns
 rx-internal-delay-ps present   follow rx-internal-delay-ps    follow rx-internal-delay-ps
- Split VSC8531-02 and RGMII delay config into separate patches.
- Correct vendor ID
- Update commit description and subject everywhere to say RGMII delays
instead of RGMII tuning.

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


Harini Katakam (3):
  phy: mscc: Use PHY_ID_MATCH_VENDOR to minimize PHY ID table
  phy: mscc: Add support for RGMII delay configuration
  phy: mscc: Add support for VSC8531_02

 drivers/net/phy/mscc/mscc.h      |  4 ++
 drivers/net/phy/mscc/mscc_main.c | 75 ++++++++++++++++++++++----------
 2 files changed, 57 insertions(+), 22 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2023-05-13 18:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-11 12:08 [PATCH net-next v3 0/3] Add support for VSC8531_02 PHY and DT RGMII tuning Harini Katakam
2023-05-11 12:08 ` [PATCH net-next v3 1/3] phy: mscc: Use PHY_ID_MATCH_VENDOR to minimize PHY ID table Harini Katakam
2023-05-11 14:05   ` Andrew Lunn
2023-05-11 12:08 ` [PATCH net-next v3 2/3] phy: mscc: Add support for RGMII delay configuration Harini Katakam
2023-05-11 14:00   ` Simon Horman
2023-05-13 18:23   ` kernel test robot
2023-05-11 12:08 ` [PATCH net-next v3 3/3] phy: mscc: Add support for VSC8531_02 Harini Katakam
2023-05-11 14:11   ` Andrew Lunn
2023-05-11 16:17     ` Katakam, Harini
2023-05-11 14:16   ` Andrew Lunn

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

Powered by JetHome