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 The reset bit for the analog portion of t...
details: https://anonhg.NetBSD.org/src/rev/1843f5ce413e
branches: trunk
changeset: 358316:1843f5ce413e
user: nat <nat%NetBSD.org@localhost>
date: Thu Dec 21 11:52:00 2017 +0000
description:
The reset bit for the analog portion of the codec is bit 28. As per
Allwinner H3 datasheet.
Ok jmcneill@.
diffstat:
sys/arch/arm/sunxi/sun8i_h3_codec.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r c0b0ccd75c45 -r 1843f5ce413e sys/arch/arm/sunxi/sun8i_h3_codec.c
--- a/sys/arch/arm/sunxi/sun8i_h3_codec.c Thu Dec 21 09:56:47 2017 +0000
+++ b/sys/arch/arm/sunxi/sun8i_h3_codec.c Thu Dec 21 11:52:00 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun8i_h3_codec.c,v 1.2 2017/08/07 21:50:34 jmcneill Exp $ */
+/* $NetBSD: sun8i_h3_codec.c,v 1.3 2017/12/21 11:52:00 nat Exp $ */
/*-
* Copyright (c) 2014-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sun8i_h3_codec.c,v 1.2 2017/08/07 21:50:34 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sun8i_h3_codec.c,v 1.3 2017/12/21 11:52:00 nat Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -42,8 +42,8 @@
#include <arm/sunxi/sunxi_codec.h>
#define H3_PR_CFG 0x00
+#define H3_AC_PR_RST __BIT(28)
#define H3_AC_PR_RW __BIT(24)
-#define H3_AC_PR_RST __BIT(18)
#define H3_AC_PR_ADDR __BITS(20,16)
#define H3_ACDA_PR_WDAT __BITS(15,8)
#define H3_ACDA_PR_RDAT __BITS(7,0)
Home |
Main Index |
Thread Index |
Old Index