linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v7 0/6] RGMII Internal delay common property
@ 2020-06-17 18:20 Dan Murphy
  2020-06-17 18:20 ` [PATCH net-next v7 1/6] dt-bindings: net: Add tx and rx internal delays Dan Murphy
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Dan Murphy @ 2020-06-17 18:20 UTC (permalink / raw)
  To: andrew, f.fainelli, hkallweit1, davem, robh
  Cc: netdev, linux-kernel, devicetree, Dan Murphy

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 and if the value is defined then the value in the firmware is
returned.

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

Dan Murphy (6):
  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
  dt-bindings: net: dp83822: Add TI dp83822 phy
  net: phy: DP83822: Add ability to advertise Fiber connection

 .../devicetree/bindings/net/ethernet-phy.yaml |  11 ++
 .../devicetree/bindings/net/ti,dp83822.yaml   |  51 +++++++++
 .../devicetree/bindings/net/ti,dp83869.yaml   |  16 ++-
 drivers/net/phy/dp83822.c                     | 108 ++++++++++++++++--
 drivers/net/phy/dp83869.c                     |  53 ++++++++-
 drivers/net/phy/phy_device.c                  |  68 +++++++++++
 include/linux/phy.h                           |   4 +
 7 files changed, 299 insertions(+), 12 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/ti,dp83822.yaml

-- 
2.26.2


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

end of thread, other threads:[~2020-07-09 20:30 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17 18:20 [PATCH net-next v7 0/6] RGMII Internal delay common property Dan Murphy
2020-06-17 18:20 ` [PATCH net-next v7 1/6] dt-bindings: net: Add tx and rx internal delays Dan Murphy
2020-06-18  1:43   ` Andrew Lunn
2020-06-18  2:01   ` Andrew Lunn
2020-06-18 13:44     ` Dan Murphy
2020-06-17 18:20 ` [PATCH net-next v7 2/6] net: phy: Add a helper to return the index for of the internal delay Dan Murphy
2020-06-18  1:51   ` Andrew Lunn
2020-06-18 13:41     ` Dan Murphy
2020-06-17 18:20 ` [PATCH net-next v7 3/6] dt-bindings: net: Add RGMII internal delay for DP83869 Dan Murphy
2020-06-17 18:20 ` [PATCH net-next v7 4/6] net: dp83869: Add RGMII internal delay configuration Dan Murphy
2020-06-17 18:20 ` [PATCH net-next v7 5/6] dt-bindings: net: dp83822: Add TI dp83822 phy Dan Murphy
2020-07-09 20:30   ` Rob Herring
2020-06-17 18:20 ` [PATCH net-next v7 6/6] net: phy: DP83822: Add ability to advertise Fiber connection Dan Murphy
2020-06-17 18:27   ` Dan Murphy
2020-06-18  0:00   ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).