Skip to content

RGMII Internal delay common property

Dan Murphy linux-devicetree lkml netdev 11 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v11 Latest5 patches 1 replyIn review
  2. v105 patches 1 replySuperseded
  3. v95 patches 4 repliesSuperseded
Earlier versions · 8
VersionPostedPatchesRepliesStatus
v85 patches1 replySuperseded
v76 patches8 repliesSuperseded
v64 patches6 repliesSuperseded
v54 patches5 repliesSuperseded
v44 patches5 repliesSuperseded
v34 patches7 repliesSuperseded
v24 patches9 repliesSuperseded
v1 RFC4 patches3 repliesSuperseded

Patches in v11 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dt-bindings: net: Add tx and rx internal delaysDocumentation/devicetree/bindings/net/ethernet-phy.yaml+12 -00 replies
2/5net: phy: Add a helper to return the index for of the internal delaydrivers/net/phy/phy_device.c include/linux/phy.h+103 -00 replies
3/5dt-bindings: net: Add RGMII internal delay for DP83869Documentation/devicetree/bindings/net/ti,dp83869.yaml+15 -10 replies
4/5net: dp83869: Add RGMII internal delay configurationdrivers/net/phy/dp83869.c+50 -30 replies
5/5net: phy: DP83822: Add setting the fixed internal delaydrivers/net/phy/dp83822.c+69 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v11 yet.

Read the v11 thread

Cover letter [PATCH net-next v11 0/5] RGMII Internal delay common property

Hello

The RGMII internal delay is a common setting found in most RGMII capable PHY devices. It was found that many vendor specific device tree properties exist to do the same function. This creates a common property to be used for PHY's that have internal delays for the Rx and Tx paths.

If the internal delay is tunable then the caller needs to pass the internal delay array and the return will be the index in the array that was found in the firmware node.

If the internal delay is fixed then the caller only needs to indicate which delay to return. There is no need for a fixed delay to add device properties since the value is not configurable. Per the ethernet-controller.yaml the interface type indicates that the PHY should provide the delay.

This series contains examples of both a configurable delay and a fixed delay.

Dan Murphy (5):
dt-bindings: net: Add tx and rx internal delays
net: phy: Add a helper to return the index for of the internal delay
dt-bindings: net: Add RGMII internal delay for DP83869
net: dp83869: Add RGMII internal delay configuration
net: phy: DP83822: Add setting the fixed internal delay

 .../devicetree/bindings/net/ethernet-phy.yaml | 12 +++
 .../devicetree/bindings/net/ti,dp83869.yaml   | 16 ++-
 drivers/net/phy/dp83822.c                     | 79 +++++++++++++--
 drivers/net/phy/dp83869.c                     | 53 +++++++++-
 drivers/net/phy/phy_device.c                  | 99 +++++++++++++++++++
 include/linux/phy.h                           |  4 +
 6 files changed, 249 insertions(+), 14 deletions(-)
Signature · 1 line
2.26.2