]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita565557ecc2a99e2f6d64ad40fc64f245126cb7f
treebf974b1ba849cfc461cfa6d9b49c9a0ec4fd1c88
parent221cbebd5b6effc80541a6e6ffc401cf8bc519cd
parent9244a171519dd9884bd0c9732d3d74477472a0d1
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>