linux/drivers/phy/broadcom
Al Cooper 6a469cf7f3 phy: usb: Leave some clocks running during suspend
[ Upstream commit 42fed57046 ]

The PHY client driver does a phy_exit() call on suspend or rmmod and
the PHY driver needs to know the difference because some clocks need
to be kept running for suspend but can be shutdown on unbind/rmmod
(or if there are no PHY clients at all).

The fix is to use a PM notifier so the driver can tell if a PHY
client is calling exit() because of a system suspend or a driver
unbind/rmmod.

Signed-off-by: Al Cooper <alcooperx@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20211201180653.35097-2-alcooperx@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-02-23 12:03:17 +01:00
..
Kconfig phy: broadcom: Kconfig: Fix PHY_BRCM_USB config option 2022-02-16 12:56:22 +01:00
Makefile phy: bcm63xx-usbh: Add BCM63xx USBH driver 2020-07-21 22:59:58 +05:30
phy-bcm63xx-usbh.c phy: bcm63xx-usbh: Add BCM63xx USBH driver 2020-07-21 22:59:58 +05:30
phy-bcm-cygnus-pcie.c phy: broadcom: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:46 +05:30
phy-bcm-kona-usb2.c phy: broadcom: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:46 +05:30
phy-bcm-ns2-pcie.c
phy-bcm-ns2-usbdrd.c phy: broadcom: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:46 +05:30
phy-bcm-ns-usb2.c phy: broadcom: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:46 +05:30
phy-bcm-ns-usb3.c phy: bcm-ns-usb3: Remove redundant dev_err call in bcm_ns_usb3_mdio_probe() 2021-06-14 11:00:52 +05:30
phy-bcm-sr-pcie.c phy: broadcom: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:46 +05:30
phy-bcm-sr-usb.c phy: broadcom: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:46 +05:30
phy-brcm-sata.c phy: phy-brcm-sata: remove unneeded semicolon 2021-02-04 13:37:26 +05:30
phy-brcm-usb-init-synopsys.c phy: usb: Fix incorrect clearing of tca_drv_sel bit in SETUP reg for 7211 2020-10-28 21:40:56 +05:30
phy-brcm-usb-init.c phy: usb: Add support for wake and USB low power mode for 7211 S2/S5 2020-01-08 12:58:06 +05:30
phy-brcm-usb-init.h phy: usb: Fix misuse of IS_ENABLED 2021-05-14 17:40:37 +05:30
phy-brcm-usb.c phy: usb: Leave some clocks running during suspend 2022-02-23 12:03:17 +01:00