]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
phy: usb: Add "wake on" functionality for newer Synopsis XHCI controllers
authorAl Cooper <alcooperx@gmail.com>
Tue, 15 Feb 2022 03:24:21 +0000 (19:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2025 16:15:56 +0000 (17:15 +0100)
commitd0178cb2ccea8b882f9dcb00bae4eea405449829
tree36d743619cc3f773e1a7403e61b49118d1e3a9a8
parentb2cec0d8f676dd1780983f696acfc38672064ac1
phy: usb: Add "wake on" functionality for newer Synopsis XHCI controllers

[ Upstream commit ae532b2b7aa5a3dad036aef4e0b177607172d276 ]

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: Al Cooper <alcooperx@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220215032422.5179-1-f.fainelli@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Stable-dep-of: 0a92ea87bdd6 ("phy: usb: Toggle the PHY power during init")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/phy/broadcom/phy-brcm-usb-init-synopsys.c