u-boot-brain/doc/device-tree-bindings/net
James Byrne 83f71ef558 net: phy: micrel: Use correct skew values on KSZ9021
Commit ff7bd212cb ("net: phy: micrel: fix divisor value for KSZ9031
phy skew") fixed the skew value divisor for the KSZ9031, but left the
code using the same divisor for the KSZ9021, which is incorrect.

The preceding commit c16e69f702 ("net: phy: micrel: add documentation
for Micrel KSZ90x1 binding") added the DTS documentation for the
KSZ90x1, changing it from the equivalent file in the Linux kernel to
correctly state that for this part the skew value is set in 120ps steps,
whereas the Linux documentation and driver continue to this day to use
the incorrect value of 200 that came from the original KSZ9021 datasheet
before it was corrected in revision 1.2 (Feb 2014).

This commit sorts out the resulting confusion in a consistent way by
making the following changes:

- Update the documentation to be clear about what the skew values mean,
in the same was as for the KSZ9031.

- Update the Micrel PHY driver to select the appropriate divisor for
both parts.

- Adjust all the device trees that state skew values for KSZ9021 PHYs to
use values based on 120ps steps instead of 200ps steps. This will result
in the same values being programmed into the skew registers as the
equivalent device trees in the Linux kernel do, where it incorrectly
uses 200ps steps (since that's where all these device trees were copied
from).

Signed-off-by: James Byrne <james.byrne@origamienergy.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2019-05-08 17:27:01 -05:00
..
allwinner,sun4i-emac.txt dts: sunxi: Bring in Ethernet device tree bindings 2015-04-18 11:11:36 -06:00
allwinner,sun4i-mdio.txt dts: sunxi: Bring in Ethernet device tree bindings 2015-04-18 11:11:36 -06:00
allwinner,sun7i-a20-gmac.txt dts: sunxi: Bring in Ethernet device tree bindings 2015-04-18 11:11:36 -06:00
altera_tse.txt net: convert altera_tse to driver model and phylib 2015-10-23 14:55:48 +08:00
ethernet.txt dts: sunxi: Bring in Ethernet device tree bindings 2015-04-18 11:11:36 -06:00
fixed-link.txt drivers/net/phy: add fixed-phy / fixed-link support 2017-03-26 09:58:26 -05:00
fsl-tsec-phy.txt net: tsec: Use priv->tbiaddr to initialize TBI PHY address 2016-01-28 12:23:19 -06:00
mediatek,mt7628-eth.txt net: Add MT7628 ethernet driver 2018-11-05 10:41:56 -06:00
micrel-ksz90x1.txt net: phy: micrel: Use correct skew values on KSZ9021 2019-05-08 17:27:01 -05:00
snps,dwc-qos-ethernet.txt dt: net: add DWC EQoS binding 2016-11-07 11:28:15 -06:00
stmmac.txt dts: sunxi: Bring in Ethernet device tree bindings 2015-04-18 11:11:36 -06:00
ti,dp83867.txt net: phy: ti: Add binding for the CLK_OUT pin muxing 2018-10-10 12:28:54 -05:00