summaryrefslogtreecommitdiff
path: root/sys/dev/fdt/xhci_fdt.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2023-03-10 10:22:56 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2023-03-10 10:22:56 +0000
commitcfe35f548573731d5fb7d5325edd6ee4e3040e05 (patch)
tree2fb2ff88d5c187fc81ed4ef1ae891490d3900ccb /sys/dev/fdt/xhci_fdt.c
parent10f002a550d1180694b7907d73bc222fcd609f40 (diff)
Take controller out of reset; makes it work on rk356x.
ok patrick@, mlarkin@
Diffstat (limited to 'sys/dev/fdt/xhci_fdt.c')
-rw-r--r--sys/dev/fdt/xhci_fdt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/fdt/xhci_fdt.c b/sys/dev/fdt/xhci_fdt.c
index 753637be4aa..28381d4b737 100644
--- a/sys/dev/fdt/xhci_fdt.c
+++ b/sys/dev/fdt/xhci_fdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xhci_fdt.c,v 1.21 2022/12/24 12:36:06 patrick Exp $ */
+/* $OpenBSD: xhci_fdt.c,v 1.22 2023/03/10 10:22:55 kettenis Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
*
@@ -129,6 +129,7 @@ xhci_fdt_attach(struct device *parent, struct device *self, void *aux)
/* Set up power and clocks */
power_domain_enable(sc->sc_node);
+ reset_deassert_all(sc->sc_node);
clock_set_assigned(sc->sc_node);
clock_enable_all(sc->sc_node);