]> git.baikalelectronics.ru Git - kernel.git/commit
of: mdio: Add a "broken-turn-around" property
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 12 May 2015 17:33:25 +0000 (10:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 May 2015 17:40:55 +0000 (13:40 -0400)
commit0df47d0314c91b8ed510a43aa65982c74c4f1a81
tree6fbd6275a5fb0a7acd330ffd46dfd79a22fd7215
parent59856ed8ac7ebb925cf43ee14cb05d127922291a
of: mdio: Add a "broken-turn-around" property

Some Ethernet PHY devices/switches may not properly release the MDIO bus
during turn-around time, and fail to drive it low, which can be seen by
some controllers as a read failure, while the data clocked in is still
correct.

Add a boolean property "broken-turn-around" which is parsed by the
generic MDIO bus probing code and will set the corresponding bit in the
MDIO bus phy_ignore_ta_mask bitmask for MDIO bus drivers to utilize that
information.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/phy.txt
drivers/of/of_mdio.c