artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6c4771
)
Take controller out of reset; makes it work on rk356x.
author
kettenis
<kettenis@openbsd.org>
Fri, 10 Mar 2023 10:22:55 +0000
(10:22 +0000)
committer
kettenis
<kettenis@openbsd.org>
Fri, 10 Mar 2023 10:22:55 +0000
(10:22 +0000)
ok patrick@, mlarkin@
sys/dev/fdt/xhci_fdt.c
patch
|
blob
|
history
diff --git
a/sys/dev/fdt/xhci_fdt.c
b/sys/dev/fdt/xhci_fdt.c
index
753637b
..
28381d4
100644
(file)
--- a/
sys/dev/fdt/xhci_fdt.c
+++ b/
sys/dev/fdt/xhci_fdt.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: xhci_fdt.c,v 1.2
1 2022/12/24 12:36:06 patrick Exp $
*/
+/* $OpenBSD: xhci_fdt.c,v 1.2
2 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);