Ye Li | cd5bb77 | 2020-05-03 22:41:14 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright 2020 NXP |
| 4 | */ |
| 5 | |
| 6 | #ifndef _eth_phy_h_ |
| 7 | #define _eth_phy_h_ |
| 8 | |
Ye Li | cd5bb77 | 2020-05-03 22:41:14 +0800 | [diff] [blame] | 9 | #include <phy.h> |
| 10 | |
Simon Glass | 5b15d26 | 2020-07-19 10:15:57 -0600 | [diff] [blame] | 11 | struct udevice; |
| 12 | |
Ye Li | cd5bb77 | 2020-05-03 22:41:14 +0800 | [diff] [blame] | 13 | int eth_phy_binds_nodes(struct udevice *eth_dev); |
| 14 | int eth_phy_set_mdio_bus(struct udevice *eth_dev, struct mii_dev *mdio_bus); |
| 15 | struct mii_dev *eth_phy_get_mdio_bus(struct udevice *eth_dev); |
| 16 | int eth_phy_get_addr(struct udevice *dev); |
| 17 | |
| 18 | #endif |