diff options
author | Stefan Wahren <wahrenst@gmx.net> | 2019-11-11 20:49:25 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-13 05:08:00 +0100 |
commit | da38802211cc3fd294211a642932edb09e3af632 (patch) | |
tree | 0b4ed56eea28ded96824cdecc237752836e22b5a /drivers/net/ethernet/broadcom/genet/bcmmii.c | |
parent | net: bcmgenet: Refactor register access in bcmgenet_mii_config (diff) | |
download | linux-da38802211cc3fd294211a642932edb09e3af632.tar.xz linux-da38802211cc3fd294211a642932edb09e3af632.zip |
net: bcmgenet: Add RGMII_RXID support
This adds the missing support for the PHY mode RGMII_RXID.
It's necessary for the Raspberry Pi 4.
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/genet/bcmmii.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/genet/bcmmii.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/genet/bcmmii.c b/drivers/net/ethernet/broadcom/genet/bcmmii.c index 021ce9e40c79..6392a2530183 100644 --- a/drivers/net/ethernet/broadcom/genet/bcmmii.c +++ b/drivers/net/ethernet/broadcom/genet/bcmmii.c @@ -270,6 +270,11 @@ int bcmgenet_mii_config(struct net_device *dev, bool init) phy_name = "external RGMII (TX delay)"; port_ctrl = PORT_MODE_EXT_GPHY; break; + + case PHY_INTERFACE_MODE_RGMII_RXID: + phy_name = "external RGMII (RX delay)"; + port_ctrl = PORT_MODE_EXT_GPHY; + break; default: dev_err(kdev, "unknown phy mode: %d\n", priv->phy_interface); return -EINVAL; |