]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit4967d0d52a3b5a718839d90811eff5c6cc8fb7d6
treee3c519113d1036e0e8ba3e87bb174708a9e10429
parentceadd9b3dc81bb678a5421250bb65202caabecc6
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