OpenCloudOS-Kernel/drivers/net/ethernet/renesas
Simon Horman 0a5d329ffd 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>
2019-04-23 18:43:49 -07:00
..
Kconfig ethernet: renesas: convert to SPDX identifiers 2018-09-10 10:11:53 -07:00
Makefile ethernet: renesas: convert to SPDX identifiers 2018-09-10 10:11:53 -07:00
ravb.h ravb: Clean up duplex handling 2018-11-23 11:14:47 -08:00
ravb_main.c ravb: Avoid unsupported internal delay mode for R-Car E3/D3 2019-04-23 18:43:49 -07:00
ravb_ptp.c ravb: do not write 1 to reserved bits 2018-09-18 20:09:57 -07:00
sh_eth.c net: sh_eth: fix a missing check of of_get_phy_mode 2019-03-12 14:51:02 -07:00
sh_eth.h sh_eth: RX checksum offload support 2019-02-04 13:31:00 -08:00