mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 14:08:45 +00:00
usb: xhci-dwc3: Add support for USB 3.1 controllers
This adds support for the DWC_sub31 controllers such as those found on Apple's M1 SoC. This version of the controller seems to work fine with the existing driver. Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
This commit is contained in:
parent
0f513c5975
commit
53eed9adfa
1 changed files with 2 additions and 1 deletions
|
@ -74,7 +74,8 @@ int dwc3_core_init(struct dwc3 *dwc3_reg)
|
|||
|
||||
revision = readl(&dwc3_reg->g_snpsid);
|
||||
/* This should read as U3 followed by revision number */
|
||||
if ((revision & DWC3_GSNPSID_MASK) != 0x55330000) {
|
||||
if ((revision & DWC3_GSNPSID_MASK) != 0x55330000 &&
|
||||
(revision & DWC3_GSNPSID_MASK) != 0x33310000) {
|
||||
puts("this is not a DesignWare USB3 DRD Core\n");
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue