]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: micrel.c: add rgmii interface delay possibility to ksz9131
authorPhilippe Schenker <philippe.schenker@toradex.com>
Wed, 25 Mar 2020 17:34:24 +0000 (18:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 04:44:26 +0000 (21:44 -0700)
commitd706e67685e437df109b3639cd1d65d287ccd01c
treec91fb9d836939ed182e537e9538d6d79e085f9dd
parent10b7ee4d4c186ad8361385e2162e5418cc1957db
net: phy: micrel.c: add rgmii interface delay possibility to ksz9131

The KSZ9131 provides DLL controlled delays on RXC and TXC lines. This
patch makes use of those delays. The information which delays should
be enabled or disabled comes from the interface names, documented in
ethernet-controller.yaml:

rgmii:      Disable RXC and TXC delays
rgmii-id:   Enable RXC and TXC delays
rgmii-txid: Enable only TXC delay, disable RXC delay
rgmii-rxid: Enable onlx RXC delay, disable TXC delay

Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c