linux/drivers/phy/broadcom
Justin Chen 32fb07f356 phy: usb: Improve port mode selection
Split port modes into two different variables. Supported port modes
is what the hardware supports. While port mode is how the hardware
is currently configured and can be dynamically changed through the
sysfs. We initialize all supported port modes on init even though
the port mode may not be selected because we cannot guarantee the
downstream interface from the phy will be active or not.

This also fixes an issue where port modes selected via sysfs were
not being saved through suspend/resume.

Signed-off-by: Justin Chen <justinpopo6@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/1665005418-15807-2-git-send-email-justinpopo6@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2022-11-05 13:12:55 +05:30
..
Kconfig arm64: bcmbca: Make BCM4908 drivers depend on ARCH_BCMBCA 2022-08-15 09:55:34 -07: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 treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_30.RULE (part 2) 2022-06-10 14:51:35 +02:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_30.RULE (part 2) 2022-06-10 14:51:35 +02:00
phy-bcm-ns2-usbdrd.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_30.RULE (part 2) 2022-06-10 14:51:35 +02:00
phy-bcm-ns-usb2.c phy: bcm-ns-usb2: improve printing ref clk errors 2021-11-25 10:45:04 +05:30
phy-bcm-ns-usb3.c net: Convert more users of mdiobus_* to mdiodev_* 2021-10-24 13:40:33 +01:00
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: Improve port mode selection 2022-11-05 13:12:55 +05:30
phy-brcm-usb-init.c phy: usb: Improve port mode selection 2022-11-05 13:12:55 +05:30
phy-brcm-usb-init.h phy: usb: Improve port mode selection 2022-11-05 13:12:55 +05:30
phy-brcm-usb.c phy: usb: Improve port mode selection 2022-11-05 13:12:55 +05:30