From: kettenis Date: Fri, 10 Mar 2023 10:22:55 +0000 (+0000) Subject: Take controller out of reset; makes it work on rk356x. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c4e39560f8dbc247033aca55f65f1ca7f48d0fd3;p=openbsd Take controller out of reset; makes it work on rk356x. ok patrick@, mlarkin@ --- 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 * @@ -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);