Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: net: add fsl,erratum-a011043

Add an entry for erratum A011043: the MDIO_CFG[MDIO_RD_ER]
bit may be falsely set when reading internal PCS registers.
MDIO reads to internal PCS registers may result in having
the MDIO_CFG[MDIO_RD_ER] bit set, even when there is no
error and read data (MDIO_DATA[MDIO_DATA]) is correct.
Software may get false read error when reading internal
PCS registers through MDIO. As a workaround, all internal
MDIO accesses should ignore the MDIO_CFG[MDIO_RD_ER] bit.

Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Madalin Bucur and committed by
David S. Miller
2934d2c6 22e98449

+13
+13
Documentation/devicetree/bindings/net/fsl-fman.txt
··· 403 403 The settings and programming routines for internal/external 404 404 MDIO are different. Must be included for internal MDIO. 405 405 406 + - fsl,erratum-a011043 407 + Usage: optional 408 + Value type: <boolean> 409 + Definition: Indicates the presence of the A011043 erratum 410 + describing that the MDIO_CFG[MDIO_RD_ER] bit may be falsely 411 + set when reading internal PCS registers. MDIO reads to 412 + internal PCS registers may result in having the 413 + MDIO_CFG[MDIO_RD_ER] bit set, even when there is no error and 414 + read data (MDIO_DATA[MDIO_DATA]) is correct. 415 + Software may get false read error when reading internal 416 + PCS registers through MDIO. As a workaround, all internal 417 + MDIO accesses should ignore the MDIO_CFG[MDIO_RD_ER] bit. 418 + 406 419 For internal PHY device on internal mdio bus, a PHY node should be created. 407 420 See the definition of the PHY node in booting-without-of.txt for an 408 421 example of how to define a PHY (Internal PHY has no interrupt line).