]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: ethernet: fec: Allow the MDIO preamble to be disabled
authorAndrew Lunn <andrew@lunn.ch>
Sun, 19 Apr 2020 22:04:02 +0000 (00:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 19:37:08 +0000 (12:37 -0700)
commit3c01eb62d1bd85a5dd1d22d74339728666ae2c45
treef8aa28032665f846453415cddc78b8dca8b84580
parent3e782985cb3ce00a32c372b37d8feefdae18ddf1
net: ethernet: fec: Allow the MDIO preamble to be disabled

An MDIO transaction normally starts with 32 1s as a preamble. However
not all devices requires such a preamble. Add a device tree property
which allows the preamble to be suppressed. This will half the size of
the MDIO transaction, allowing faster transactions. But it should only
be used when all devices on the bus support suppressed preamble.

Suggested-by: Chris Healy <Chris.Healy@zii.aero>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/mdio.yaml
drivers/net/ethernet/freescale/fec_main.c