[PATCH 0/2] usb: dwc2: fix phy dependecy

Daniel Brát danek.brat at gmail.com
Wed Sep 8 00:46:20 PDT 2021


I had problems getting USB working on my Raspberry Pi 3B+. I tracked
the problem down to the dwc2 driver failing in its probe function
due to CONFIG_GENERIC_PHY not enabled. I fixed the phy dependency
in dwc2 and also enabled phy core in rpi_defconfig.

Daniel Brát (2):
  usb: dwc2: Make having a phy optional
  ARM: rpi_defconfig: Enable PHY core for dwc2 usb driver

 arch/arm/configs/rpi_defconfig |  2 ++
 drivers/usb/dwc2/dwc2.c        | 38 ++++++++++++++++++++--------------
 2 files changed, 24 insertions(+), 16 deletions(-)

-- 
2.17.1




More information about the barebox mailing list