]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c9fc9e347f45a073d17b9afd580c56d9193abb2
tree0d318b3ddfc4b4a693ba5664527115af39da4aea
parent2e2a28c9130f3ed96ecef7c399b6d47063af49ac
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