1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-25 22:56:14 +00:00

The dtb I'm using for my rockpro64 has an "assigned-clocks" property so

add a call to set handle those.
This commit is contained in:
kettenis
2020-04-03 16:26:14 +00:00
parent c8713798a0
commit 3e4238e52e

View File

@@ -1,4 +1,4 @@
/* $OpenBSD: sdhc_fdt.c,v 1.4 2019/11/29 22:02:16 patrick Exp $ */
/* $OpenBSD: sdhc_fdt.c,v 1.5 2020/04/03 16:26:14 kettenis Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis
*
@@ -94,6 +94,7 @@ sdhc_fdt_attach(struct device *parent, struct device *self, void *aux)
pinctrl_byname(faa->fa_node, "default");
clock_set_assigned(faa->fa_node);
clock_enable_all(faa->fa_node);
reset_deassert_all(faa->fa_node);