• F
    of: mdio: Add a "broken-turn-around" property · ab6016e0
    Florian Fainelli 提交于
    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: NFlorian Fainelli <f.fainelli@gmail.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    ab6016e0
of_mdio.c 8.1 KB