u-boot/include/dm
Marek Behún f3dd213e15 net: introduce helpers to get PHY ofnode from MAC
Add helpers ofnode_get_phy_node() and dev_get_phy_node() and use it in
net/mdio-uclass.c function dm_eth_connect_phy_handle(). Also add
corresponding UT test.

This is useful because other part's of U-Boot may want to get PHY ofnode
without connecting a PHY.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-04-10 08:44:12 +03:00
..
platform_data WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
acpi.h acpi: Collect tables in the acpi_item list 2022-01-25 11:44:36 -07:00
device-internal.h event: Add events for device probe/remove 2022-03-10 08:28:36 -05:00
device.h dm: Use parenthesis for the device_get_ops macro argument 2022-02-09 12:26:12 -07:00
device_compat.h dm: Don't undefine dev_xxx macros 2020-10-16 09:44:27 -04:00
devres.h doc: add include/dm/devres.h to the HTML documentation 2022-01-15 10:57:21 +01:00
fdtaddr.h doc: add include/dm/fdtaddr.h to the HTML documentation 2022-01-15 10:57:21 +01:00
lists.h doc: add include/dm/lists.h to the HTML documentation 2022-01-15 10:57:21 +01:00
of.h doc: add include/dm/of*.h to the HTML documentation 2022-01-15 10:57:21 +01:00
of_access.h doc: add include/dm/of*.h to the HTML documentation 2022-01-15 10:57:21 +01:00
of_addr.h doc: add include/dm/of*.h to the HTML documentation 2022-01-15 10:57:21 +01:00
of_extra.h doc: add include/dm/of*.h to the HTML documentation 2022-01-15 10:57:21 +01:00
ofnode.h net: introduce helpers to get PHY ofnode from MAC 2022-04-10 08:44:12 +03:00
pci.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
pinctrl.h pinctrl: Increase length of pinmux status buffer 2022-03-14 15:23:26 +01:00
platdata.h doc: add include/dm/platdata.h to the HTML documentation 2022-01-15 10:57:21 +01:00
read.h net: introduce helpers to get PHY ofnode from MAC 2022-04-10 08:44:12 +03:00
root.h doc: add include/dm/root.h to the HTML documentation 2022-01-15 10:57:21 +01:00
simple_bus.h dm: core: Correctly read <ranges> of simple-bus 2021-04-15 14:22:17 +05:30
test.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
uclass-id.h efi: Add uclass for devices provided by UEFI firmware 2021-12-09 11:43:25 -08:00
uclass-internal.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
uclass.h doc: add include/dm/uclass.h to the HTML documentation 2022-01-15 10:57:21 +01:00
util.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00