diff options
author | Tom Rini | 2022-02-23 13:34:14 -0500 |
---|---|---|
committer | Tom Rini | 2022-02-23 13:34:14 -0500 |
commit | 90de95f7443cb06f014824976251f126ac6f71c0 (patch) | |
tree | ea6f3370f054f7ea2f72a25a16e1cdc31b1055c9 /drivers/phy | |
parent | 4cb9bd834e6a63ab56797b362a288709e867ccfb (diff) | |
parent | 4cea6ed92da456fe234b4f3439707ff29c6a790e (diff) |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-usb
- OMAP EHCI updates
Diffstat (limited to 'drivers/phy')
-rw-r--r-- | drivers/phy/nop-phy.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/phy/nop-phy.c b/drivers/phy/nop-phy.c index b08eedd4d42..e2ee6e92068 100644 --- a/drivers/phy/nop-phy.c +++ b/drivers/phy/nop-phy.c @@ -28,7 +28,7 @@ static int nop_phy_reset(struct phy *phy) if (!dm_gpio_is_valid(&priv->reset_gpio)) return 0; - return dm_gpio_set_value(&priv->reset_gpio, false); + return dm_gpio_set_value(&priv->reset_gpio, true); } #endif @@ -44,7 +44,8 @@ static int nop_phy_init(struct phy *phy) } #if CONFIG_IS_ENABLED(DM_GPIO) - ret = nop_phy_reset(phy); + /* Take phy out of reset */ + ret = dm_gpio_set_value(&priv->reset_gpio, false); if (ret) { if (CONFIG_IS_ENABLED(CLK)) clk_disable_bulk(&priv->bulk); |