2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 03:04:01 +08:00
linux-next/drivers/phy/broadcom
Al Cooper 0aa0c12262 phy: phy-brcm-usb-init: DRD mode can cause crash on startup
This is caused by a bug in the BDC core. When the BDC core comes
out of reset and it's not selected, it gets a backup clock. When
the BDC core is selected, it get's the main clock. If HOST mode
is then selected the BDC core has the main clock shut off but
the backup clock is not restored.

The failure scenario and cause are as follows:
- DRD mode is active
- Device mode is selected first in bootloader
- When host mode is now selected, the clock to the BDC is cut off.
- BDC registers are inaccessible and therefore the BDC driver
  crashes upon Linux boot.

The fix is to have the phy driver always force a BDC reset on
startup.

Fixes: 49859e55e3 ("phy: usb: phy-brcm-usb: Add Broadcom STB USB phy driver")
Signed-off-by: Al Cooper <alcooperx@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2017-12-29 13:00:35 +05:30
..
Kconfig phy: usb: phy-brcm-usb: Add Broadcom STB USB phy driver 2017-10-03 11:54:54 +05:30
Makefile USB/PHY patches for 4.15-rc1 2017-11-13 21:14:07 -08:00
phy-bcm-cygnus-pcie.c
phy-bcm-kona-usb2.c
phy-bcm-ns2-pcie.c
phy-bcm-ns2-usbdrd.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
phy-bcm-ns-usb2.c
phy-bcm-ns-usb3.c phy: bcm-ns-usb3: add MDIO driver using proper bus layer 2017-06-16 13:22:26 +05:30
phy-brcm-sata.c phy: brcm-sata: Allow RX equalizer tuning 2017-10-23 11:19:26 +05:30
phy-brcm-usb-init.c phy: phy-brcm-usb-init: DRD mode can cause crash on startup 2017-12-29 13:00:35 +05:30
phy-brcm-usb-init.h phy: usb: phy-brcm-usb: Add Broadcom STB USB phy driver 2017-10-03 11:54:54 +05:30
phy-brcm-usb.c phy: phy-brcm-usb: Fix two DT properties to match bindings doc 2017-12-29 13:00:35 +05:30