Re: [PATCH v3 11/15] phy: tegra: xusb: Tegra210 host mode VBUS control

From: Thierry Reding
Date: Mon Sep 28 2020 - 09:42:51 EST


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@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature