Module Name:    src
Committed By:   thorpej
Date:           Thu Mar 26 00:21:28 UTC 2020

Modified Files:
        src/sys/dev/fdt: dwc3_fdt.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/fdt/dwc3_fdt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/fdt/dwc3_fdt.c
diff -u src/sys/dev/fdt/dwc3_fdt.c:1.9 src/sys/dev/fdt/dwc3_fdt.c:1.10
--- src/sys/dev/fdt/dwc3_fdt.c:1.9	Wed Jan 15 01:09:57 2020
+++ src/sys/dev/fdt/dwc3_fdt.c	Thu Mar 26 00:21:27 2020
@@ -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 <jmcne...@invisible.ca>
@@ -27,7 +27,7 @@
  */
 
 #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/bus.h>
@@ -212,6 +212,7 @@ dwc3_fdt_match(device_t parent, cfdata_t
 		"rockchip,rk3328-dwc3",
 		"rockchip,rk3399-dwc3",
 		"samsung,exynos5250-dwusb3",
+		"snps,dwc3",
 		NULL
 	};
 	struct fdt_attach_args * const faa = aux;

Reply via email to