Re: [PATCH v7 3/3] xhci: tegra: USB2 pad power controls

From: Thierry Reding
Date: Thu Nov 17 2022 - 17:30:39 EST


On Fri, Nov 11, 2022 at 06:18:13PM +0800, Jim Lin wrote:
> From: Petlozu Pravareshwar <petlozup@xxxxxxxxxx>
>
> Program USB2 pad PD controls during port connect/disconnect, port
> suspend/resume, and test mode, to reduce power consumption on
> disconnect or suspend.
>
> Signed-off-by: Petlozu Pravareshwar <petlozup@xxxxxxxxxx>
> Co-developed-by: Jim Lin <jilin@xxxxxxxxxx>
> Signed-off-by: Jim Lin <jilin@xxxxxxxxxx>
>
> ---
> v2: Fix issue that wrong tegra->phys[] may be accessed on tegra124
> v3: No change on copyright
> v4: Remove hcd_to_tegra_xusb() function which is used only once.
> v5: Update .hub_control in tegra_xhci_overrides (xhci-tegra.c)
> Invoke xhci_hub_control() directly (xhci-tegra.c)
> v6: Change author to Petlozu
> Changed from u32 to u8 for variable enable_utmi_pad_after_lp0_exit
> Modified tegra_xhci_disable_phy_wake(), tegra_xhci_program_utmi_power_lp0_exit(),
> tegra_xhci_hub_control()
> v7: no change
>
> drivers/usb/host/xhci-tegra.c | 125 ++++++++++++++++++++++++++++++++++
> 1 file changed, 125 insertions(+)

Acked-by: Thierry Reding <treding@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature