On 5/20/2020 10:20 AM, Dan Murphy wrote:
Andrew/FlorianYes they should, and they should have an unit associated with the name.
On 5/20/20 11:43 AM, Andrew Lunn wrote:
OKI I read that. I also looked at a couple other drivers too.I am interested in knowing where that is documented. I want to RTM IHi Dan
grepped for a few different words but came up empty
It probably is not well documented, but one example would be
Documentation/devicetree/bindings/net/ethernet-controller.yaml
says:
ÂÂÂÂÂÂ # RX and TX delays are added by the MAC when required
ÂÂÂÂÂÂ - rgmii
ÂÂÂÂÂÂ # RGMII with internal RX and TX delays provided by the PHY,
ÂÂÂÂÂÂ # the MAC should not add the RX or TX delays in this case
ÂÂÂÂÂÂ - rgmii-id
ÂÂÂÂÂÂ # RGMII with internal RX delay provided by the PHY, the MAC
ÂÂÂÂÂÂ # should not add an RX delay in this case
ÂÂÂÂÂÂ - rgmii-rxid
ÂÂÂÂÂÂ # RGMII with internal TX delay provided by the PHY, the MAC
ÂÂÂÂÂÂ # should not add an TX delay in this case
ÂÂÂÂÂÂ Andrew
I am wondering if rx-internal-delay and tx-internal-delay should become
a common property like tx/rx fifo-depth
And properly document how to use it or at least the expectation on use.