Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/sunxi add dma and codec gates
details: https://anonhg.NetBSD.org/src/rev/8483e7b08931
branches: trunk
changeset: 356665:8483e7b08931
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Oct 07 19:41:51 2017 +0000
description:
add dma and codec gates
diffstat:
sys/arch/arm/sunxi/sun6i_a31_ccu.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (38 lines):
diff -r 33a26af15362 -r 8483e7b08931 sys/arch/arm/sunxi/sun6i_a31_ccu.c
--- a/sys/arch/arm/sunxi/sun6i_a31_ccu.c Sat Oct 07 19:39:19 2017 +0000
+++ b/sys/arch/arm/sunxi/sun6i_a31_ccu.c Sat Oct 07 19:41:51 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun6i_a31_ccu.c,v 1.2 2017/07/02 13:36:46 jmcneill Exp $ */
+/* $NetBSD: sun6i_a31_ccu.c,v 1.3 2017/10/07 19:41:51 jmcneill Exp $ */
/*-
* Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: sun6i_a31_ccu.c,v 1.2 2017/07/02 13:36:46 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: sun6i_a31_ccu.c,v 1.3 2017/10/07 19:41:51 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -185,6 +185,8 @@
SD3_CLK_REG, __BITS(17, 16), __BITS(3,0), __BITS(25, 24), __BIT(31),
SUNXI_CCU_NM_POWER_OF_TWO|SUNXI_CCU_NM_ROUND_DOWN),
+ SUNXI_CCU_GATE(A31_CLK_AHB1_DMA, "ahb1-dma", "ahb1",
+ AHB1_GATING_REG0, 6),
SUNXI_CCU_GATE(A31_CLK_AHB1_MMC0, "ahb1-mmc0", "ahb1",
AHB1_GATING_REG0, 8),
SUNXI_CCU_GATE(A31_CLK_AHB1_MMC1, "ahb1-mmc1", "ahb1",
@@ -208,7 +210,9 @@
SUNXI_CCU_GATE(A31_CLK_AHB1_OHCI2, "ahb1-ohci2", "ahb1",
AHB1_GATING_REG0, 31),
- SUNXI_CCU_GATE(A31_CLK_APB1_PIO, "ahb1-pio", "apb1",
+ SUNXI_CCU_GATE(A31_CLK_APB1_CODEC, "apb1-codec", "apb1",
+ APB1_GATING_REG, 0),
+ SUNXI_CCU_GATE(A31_CLK_APB1_PIO, "apb1-pio", "apb1",
APB1_GATING_REG, 5),
SUNXI_CCU_GATE(A31_CLK_APB2_I2C0, "apb2-i2c0", "apb2",
Home |
Main Index |
Thread Index |
Old Index