]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: r8a7796: Use rgmii-txid phy-mode for EthernetAVB
authorKazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Wed, 1 Feb 2017 08:42:03 +0000 (09:42 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 6 Mar 2017 08:54:26 +0000 (09:54 +0100)
commit24c93a7901f8afd0ce6edda2ae889cd0a7d632c3
tree9e62dc41a66a05ba1bc04fe7a3793c6269d09a5b
parent0229a7e8148e4e1228db9f4ee127029064589cc1
arm64: dts: r8a7796: Use rgmii-txid phy-mode for EthernetAVB

Since commit 527a2db915e9 ("ravb: Add tx and rx clock internal delays mode
of APSR") the EthernetAVB driver enables tx and rx clock internal delay
modes (TDM and RDM) depending on the phy mode as follows:

    phy mode   | ASPR delay mode
    -----------+----------------
    rgmii-id   | TDM and RDM
    rgmii-rxid | RDM
    rgmii-txid | TDM

And prior to the above commit no internal delay mode settings were
implemented for any phy mode.

With this and the above change present tx internal delay mode is enabled
which has been observed to address failures in the case of 1Gbps
communication using the by salvator-x board with the KSZ9031RNX phy. This
has been reported to occur with both the r8a7795 (H3) and r8a7796 (M3-W)
SoCs.

With the above patch present but this patch present tx and rx internal
delay modes are enabled; and with the above patch and this present absent
no internal delay modes are enabled. In both cases failures have been
observed when using 1Gbps communication in the environments described
above.

Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a7796.dtsi