Messages in this thread | | | Date | Mon, 28 Sep 2020 15:42:44 +0200 | From | Thierry Reding <> | Subject | Re: [PATCH v3 11/15] phy: tegra: xusb: Tegra210 host mode VBUS control |
| |
On Wed, Sep 09, 2020 at 04:10:37PM +0800, JC Kuo wrote: > To support XUSB host controller ELPG, this commit moves VBUS control > .phy_power_on()/.phy_power_off() to .phy_init()/.phy_exit(). > When XUSB host controller enters ELPG, host driver invokes > .phy_power_off(), VBUS should remain ON so that USB devices will not > disconnect. VBUS can be turned OFF when host driver invokes > .phy_exit() which indicates disabling a USB port. > > Signed-off-by: JC Kuo <jckuo@nvidia.com> > --- > v3: > new, was a part of "phy: tegra: xusb: Add wake/sleepwalk for Tegra210" > > drivers/phy/tegra/xusb-tegra210.c | 52 ++++++++++++++++++++++++------- > 1 file changed, 40 insertions(+), 12 deletions(-)
Acked-by: Thierry Reding <treding@nvidia.com> [unhandled content-type:application/pgp-signature] | |