diff options
author | Vladimir Oltean | 2019-06-08 18:12:28 +0200 |
---|---|---|
committer | David S. Miller | 2019-06-10 05:06:54 +0200 |
commit | c05ec3d4d7df57ff286917f7fb54aec6fa4691c5 (patch) | |
tree | a80de21e64e48bd692842e7a02024920937ec49f /drivers/net/dsa/sja1105/sja1105.h | |
parent | net: dsa: sja1105: Remove duplicate rgmii_pad_mii_tx from regs (diff) | |
download | kernel-qcow2-linux-c05ec3d4d7df57ff286917f7fb54aec6fa4691c5.tar.gz kernel-qcow2-linux-c05ec3d4d7df57ff286917f7fb54aec6fa4691c5.tar.xz kernel-qcow2-linux-c05ec3d4d7df57ff286917f7fb54aec6fa4691c5.zip |
net: dsa: sja1105: Add RGMII delay support for P/Q/R/S chips
As per the DT phy-mode specification, RGMII delays are applied by the
MAC when there is no PHY present on the link.
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/sja1105/sja1105.h')
-rw-r--r-- | drivers/net/dsa/sja1105/sja1105.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/sja1105/sja1105.h b/drivers/net/dsa/sja1105/sja1105.h index 3e0f685a144c..78094db32622 100644 --- a/drivers/net/dsa/sja1105/sja1105.h +++ b/drivers/net/dsa/sja1105/sja1105.h @@ -161,6 +161,7 @@ typedef enum { SJA1105_SPEED_AUTO = 0, } sja1105_speed_t; +int sja1105pqrs_setup_rgmii_delay(const void *ctx, int port); int sja1105_clocking_setup_port(struct sja1105_private *priv, int port); int sja1105_clocking_setup(struct sja1105_private *priv); |