net: ethernet: ave: Add capability of rgmii-id mode
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Wed, 12 Feb 2020 10:55:34 +0000 (19:55 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Feb 2020 17:55:04 +0000 (09:55 -0800)
commitb9287f2ac321ecac56eb51e6231f6579683dcdae
tree0d318b3ddfc4b4a693ba5664527115af39da4aea
parent0f90522591fd09dd201065c53ebefdfe3c6b55cb
net: ethernet: ave: Add capability of rgmii-id mode

This allows you to specify the type of rgmii-id that will enable phy
internal delay in ethernet phy-mode.

This adds all RGMII cases to all of get_pinmode() except LD11, because LD11
SoC doesn't support RGMII due to the constraint of the hardware. When RGMII
phy mode is specified in the devicetree for LD11, the driver will abort
with an error.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/socionext/sni_ave.c