net: ave: Add capability of rgmii-id mode
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Wed, 13 Jul 2022 01:59:44 +0000 (10:59 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 8 Aug 2022 15:37:57 +0000 (11:37 -0400)
commit5a28aa6a7b2c9fff1d852ba0093f47987c5b0235
treee3c519113d1036e0e8ba3e87bb174708a9e10429
parentebb8ff61ad97bd1c9721b049497ddb80030eeb0f
net: 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>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/sni_ave.c