Merge branch 'RGMII-Internal-delay-common-property'
authorDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2020 23:05:21 +0000 (16:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2020 23:05:21 +0000 (16:05 -0700)
commitd0a45b5ca508bf7e18155abb2093ec60db995b9a
treebf974b1ba849cfc461cfa6d9b49c9a0ec4fd1c88
parent17604218c87b30982d6e426b85979652a5cde7ea
parent8095295292b564583bb5bee5ba69924c2fd40434
Merge branch 'RGMII-Internal-delay-common-property'

Dan Murphy says:

====================
RGMII Internal delay common property

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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>