diff options
author | Simon Horman <horms+renesas@verge.net.au> | 2019-04-23 16:01:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-24 04:43:49 +0300 |
commit | 0a5d329ffd1be394e3e4176eb11ca51dfde03c40 (patch) | |
tree | 4d78b3040abeb9360555434d914774db7d1eea35 /net/ipv4/fib_semantics.c | |
parent | c98f4822ed7e02ff91fd29707218779718cf60f9 (diff) | |
download | linux-0a5d329ffd1be394e3e4176eb11ca51dfde03c40.tar.xz |
ravb: Avoid unsupported internal delay mode for R-Car E3/D3
According to the R-Car Gen3 Hardware Manual Rev 1.50 of Nov 30, 2018, the
TX clock internal delay mode isn't supported on R-Car E3 (r8a77990) or D3
(r8a77995). And by extension it is also not supported by RZ/G2E (r9a774c0).
This matches all ES versions of the affected SoCs as it is
not clear if this problem will be resolved in newer chips.
This can be revisited, as necessary.
This patch does not error-out if PHY_INTERFACE_MODE_RGMII_ID or
PHY_INTERFACE_MODE_RGMII_TXID are used on SoCs where TX clock delay
mode is not supported as there is a risk of introducing a regression
when used in conjunction with older DT blobs present in the field.
Rather, a warning is logged in such cases.
Based on work by Kazuya Mizuguchi.
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_semantics.c')
0 files changed, 0 insertions, 0 deletions