]> 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)
commit0c3458a1b9f7ad0a1bd911b139dc34e51456cf0f
tree0d318b3ddfc4b4a693ba5664527115af39da4aea
parentef80b67215e9a4796eb4c083e74cbd49e7fb7f20
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