Lines Matching +full:broken +full:- +full:turn +full:- +full:around

1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/pse-pd/pse.h>
32 if (PTR_ERR(psec) == -ENOENT) in fwnode_find_pse_control()
50 if (err == -ENOENT) in fwnode_find_mii_timestamper()
56 mii_ts = ERR_PTR(-EINVAL); in fwnode_find_mii_timestamper()
77 if (rc == -EPROBE_DEFER) in fwnode_mdiobus_phy_device_register()
78 rc = driver_deferred_probe_check_state(&phy->mdio.dev); in fwnode_mdiobus_phy_device_register()
79 if (rc == -EPROBE_DEFER) in fwnode_mdiobus_phy_device_register()
83 phy->irq = rc; in fwnode_mdiobus_phy_device_register()
84 mdio->irq[addr] = rc; in fwnode_mdiobus_phy_device_register()
86 phy->irq = mdio->irq[addr]; in fwnode_mdiobus_phy_device_register()
89 if (fwnode_property_read_bool(child, "broken-turn-around")) in fwnode_mdiobus_phy_device_register()
90 mdio->phy_ignore_ta_mask |= 1 << addr; in fwnode_mdiobus_phy_device_register()
92 fwnode_property_read_u32(child, "reset-assert-us", in fwnode_mdiobus_phy_device_register()
93 &phy->mdio.reset_assert_delay); in fwnode_mdiobus_phy_device_register()
94 fwnode_property_read_u32(child, "reset-deassert-us", in fwnode_mdiobus_phy_device_register()
95 &phy->mdio.reset_deassert_delay); in fwnode_mdiobus_phy_device_register()
101 device_set_node(&phy->mdio.dev, child); in fwnode_mdiobus_phy_device_register()
108 device_set_node(&phy->mdio.dev, NULL); in fwnode_mdiobus_phy_device_register()
113 dev_dbg(&mdio->dev, "registered phy %p fwnode at address %i\n", in fwnode_mdiobus_phy_device_register()
139 is_c45 = fwnode_device_is_compatible(child, "ethernet-phy-ieee802.3-c45"); in fwnode_mdiobus_register_phy()
150 phy->irq = bus->irq[addr]; in fwnode_mdiobus_register_phy()
155 phy->mdio.dev.fwnode = fwnode_handle_get(child); in fwnode_mdiobus_register_phy()
160 phy->mdio.dev.fwnode = NULL; in fwnode_mdiobus_register_phy()
170 phy->psec = psec; in fwnode_mdiobus_register_phy()
172 /* phy->mii_ts may already be defined by the PHY driver. A in fwnode_mdiobus_register_phy()
177 phy->mii_ts = mii_ts; in fwnode_mdiobus_register_phy()