Searched hist:"32 fb07f35675c4c3311ae370471ee1ae6cc3e694" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/phy/broadcom/ |
H A D | phy-brcm-usb-init-synopsys.c | diff 32fb07f35675c4c3311ae370471ee1ae6cc3e694 Wed Oct 05 16:30:13 CDT 2022 Justin Chen <justinpopo6@gmail.com> 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>
|
H A D | phy-brcm-usb-init.h | diff 32fb07f35675c4c3311ae370471ee1ae6cc3e694 Wed Oct 05 16:30:13 CDT 2022 Justin Chen <justinpopo6@gmail.com> 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>
|
H A D | phy-brcm-usb.c | diff 32fb07f35675c4c3311ae370471ee1ae6cc3e694 Wed Oct 05 16:30:13 CDT 2022 Justin Chen <justinpopo6@gmail.com> 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>
|
H A D | phy-brcm-usb-init.c | diff 32fb07f35675c4c3311ae370471ee1ae6cc3e694 Wed Oct 05 16:30:13 CDT 2022 Justin Chen <justinpopo6@gmail.com> 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>
|