]> git.dujemihanovic.xyz Git - u-boot.git/commit
generic-phy: add generic_phy_get_by_node()
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 30 Mar 2020 09:27:23 +0000 (11:27 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 20 Apr 2020 12:19:10 +0000 (14:19 +0200)
commitc2b9aa98bf44e9537222c5c8d6ea365d5220f2e4
tree4d793d9f3d6f3cc928115e9ec264faa6759649ae
parentc8ccca921adef0fa6bba58d5b4b49a07d0862159
generic-phy: add generic_phy_get_by_node()

Add generic_phy_get_by_node() to get a PHY phandle from a node instead
of a udevice.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
[narmstrong: fixed by including ofnode.h in generic-phy.h]
drivers/phy/phy-uclass.c
include/generic-phy.h