# Re: \[PATCH v6 13/15\] phy: tegra: xusb: Add wake/sleepwalk for Tegra186

- From: Thierry Reding \<hidden\>
- Date: 2021-01-19 23:50:06 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2021/01/6240465
- Thread: https://ratatoskr.run/linux-tegra/2021/01/6239619/t.md

```text
On Tue, Jan 19, 2021 at 04:55:44PM +0800, JC Kuo wrote:
> This commit implements Tegra186/Tegra194 XUSB PADCTL/AO wake and
> sleepwalk operations.
> 
> Signed-off-by: JC Kuo <jckuo@nvidia.com>
> ---
> v6:
>    no change
> v5:
>    no change
> v4:
>    move sleepwalk/wake stubs from 'struct tegra_xusb_padctl_ops' to
>    'struct tegra_xusb_lane_ops'
> v3:
>    move 'ao_regs' to the top of 'struct tegra186_xusb_padctl'
>    change return data of .phy_remote_wake_detected() to 'bool'
>    change input parameter of .phy_remote_wake_detected() to 'struct phy*'
>    remove unnecessary 'else'
>    rename 'val' with 'value'
> 
>  drivers/phy/tegra/xusb-tegra186.c | 558 +++++++++++++++++++++++++++++-
>  1 file changed, 557 insertions(+), 1 deletion(-)

Acked-by: Thierry Reding <redacted>
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-devicetree/2021/01/6240465/attachment/0) (application/pgp-signature, 833 bytes)
