Commit d0178cb2 authored by Al Cooper's avatar Al Cooper Committed by Greg Kroah-Hartman
Browse files

phy: usb: Add "wake on" functionality for newer Synopsis XHCI controllers



[ Upstream commit ae532b2b ]

Add "wake on" support for the newer Synopsis based XHCI only controller.
This works on the 72165 and 72164 and newer chips and does not work
on 7216 based systems. Also switch the USB sysclk to a slower clock
on suspend to save additional power in S2. The clock switch will only
save power on the 72165b0 and newer chips and is a nop on older chips.

Signed-off-by: default avatarAl Cooper <alcooperx@gmail.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220215032422.5179-1-f.fainelli@gmail.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Stable-dep-of: 0a92ea87 ("phy: usb: Toggle the PHY power during init")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b2cec0d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment