diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-11-08 19:44:43 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-11-08 19:44:43 +0000 |
commit | ffd27cb9de74d8a34c2ad482cf1337b9f50d25db (patch) | |
tree | 5a35db6c82aedc2e7720e354d4bd2fb48b9c92bb | |
parent | 123235ee2127f8f803badf53a4c1ce066642f9c1 (diff) |
Add support for "allwinner,sun9i-a80-mmc-clk" compatible clocks.
-rw-r--r-- | sys/arch/armv7/sunxi/sxiccmu.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/armv7/sunxi/sxiccmu.c b/sys/arch/armv7/sunxi/sxiccmu.c index f7175f96df4..744e83e3441 100644 --- a/sys/arch/armv7/sunxi/sxiccmu.c +++ b/sys/arch/armv7/sunxi/sxiccmu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sxiccmu.c,v 1.22 2016/11/08 19:25:44 kettenis Exp $ */ +/* $OpenBSD: sxiccmu.c,v 1.23 2016/11/08 19:44:42 kettenis Exp $ */ /* * Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org> * Copyright (c) 2013 Artturi Alm @@ -286,6 +286,11 @@ struct sxiccmu_device sxiccmu_devices[] = { .get_frequency = sxiccmu_gen_get_frequency, .enable = sxiccmu_gate_enable }, + { + .compat = "allwinner,sun9i-a80-mmc-clk", + .set_frequency = sxiccmu_mmc_set_frequency, + .enable = sxiccmu_mmc_enable + }, }; void |