diff options
| author | Tom Rini <[email protected]> | 2024-09-09 15:54:56 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-09-09 15:54:56 -0600 |
| commit | ca55cf8104c0dd78aae45fa66dd8400ef1b3d0ac (patch) | |
| tree | 90aa093631b4cbda08e4ef9244d3e51b192377cd /include | |
| parent | 48038bfb4dc2ef8ddb67c1301ffcd633fd1afa22 (diff) | |
| parent | e72e683e36a83214dbb2547d88d553b5fd816dc8 (diff) | |
Merge branch 'next' of https://source.denx.de/u-boot/custodians/u-boot-usb into next
Diffstat (limited to 'include')
| -rw-r--r-- | include/generic-phy.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/generic-phy.h b/include/generic-phy.h index eaab7491660..ba3321f4849 100644 --- a/include/generic-phy.h +++ b/include/generic-phy.h @@ -415,10 +415,13 @@ int generic_phy_power_off_bulk(struct phy_bulk *bulk); * @dev: The consumer device. * @phy: A pointer to the PHY port * @index: The index in the list of available PHYs + * @mode: PHY mode + * @submode: PHY submode * * Return: 0 if OK, or negative error code. */ -int generic_setup_phy(struct udevice *dev, struct phy *phy, int index); +int generic_setup_phy(struct udevice *dev, struct phy *phy, int index, + enum phy_mode mode, int submode); /** * generic_shutdown_phy() - Power off and de-initialize phy. @@ -509,7 +512,8 @@ static inline int generic_phy_power_off_bulk(struct phy_bulk *bulk) return 0; } -static inline int generic_setup_phy(struct udevice *dev, struct phy *phy, int index) +static inline int generic_setup_phy(struct udevice *dev, struct phy *phy, int index, + enum phy_mode mode, int submode) { return 0; } |
