Add "snps,dwc3" to the list of compatible strings we match against.
The code already handles "snps,dwc3" not being a subordinate of an SoC-specific node, but the string was missing from the match routine. Necessitated by the sun50i-h6 device tree update on Jan 3 2020, which elimiated the "allwinner,sun50i-h6-dwc3" node and placed all of the clocks, resets, etc. directly under the "snps,dwc3" node.
This commit is contained in:
parent
5b897531ca
commit
146d5720c0
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: dwc3_fdt.c,v 1.9 2020/01/15 01:09:57 jmcneill Exp $ */
|
/* $NetBSD: dwc3_fdt.c,v 1.10 2020/03/26 00:21:27 thorpej Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2018 Jared McNeill <jmcneill@invisible.ca>
|
* Copyright (c) 2018 Jared McNeill <jmcneill@invisible.ca>
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: dwc3_fdt.c,v 1.9 2020/01/15 01:09:57 jmcneill Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: dwc3_fdt.c,v 1.10 2020/03/26 00:21:27 thorpej Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/bus.h>
|
#include <sys/bus.h>
|
||||||
|
@ -212,6 +212,7 @@ dwc3_fdt_match(device_t parent, cfdata_t cf, void *aux)
|
||||||
"rockchip,rk3328-dwc3",
|
"rockchip,rk3328-dwc3",
|
||||||
"rockchip,rk3399-dwc3",
|
"rockchip,rk3399-dwc3",
|
||||||
"samsung,exynos5250-dwusb3",
|
"samsung,exynos5250-dwusb3",
|
||||||
|
"snps,dwc3",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
struct fdt_attach_args * const faa = aux;
|
struct fdt_attach_args * const faa = aux;
|
||||||
|
|
Loading…
Reference in New Issue