Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/sys/arch/arm/sunxi Pull up following revision(s) (request...



details:   https://anonhg.NetBSD.org/src/rev/ff6e56bcf384
branches:  netbsd-8
changeset: 434527:ff6e56bcf384
user:      snj <snj%NetBSD.org@localhost>
date:      Sun Jan 07 09:19:40 2018 +0000

description:
Pull up following revision(s) (requested by nat in ticket #466):
        sys/arch/arm/sunxi/sun8i_h3_codec.c: revision 1.3
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 fe16cbf548eb -r ff6e56bcf384 sys/arch/arm/sunxi/sun8i_h3_codec.c
--- a/sys/arch/arm/sunxi/sun8i_h3_codec.c       Tue Jan 02 11:21:28 2018 +0000
+++ b/sys/arch/arm/sunxi/sun8i_h3_codec.c       Sun Jan 07 09:19:40 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun8i_h3_codec.c,v 1.2.2.2 2017/08/09 05:49:50 snj Exp $ */
+/* $NetBSD: sun8i_h3_codec.c,v 1.2.2.3 2018/01/07 09:19:40 snj 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.2.2 2017/08/09 05:49:50 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sun8i_h3_codec.c,v 1.2.2.3 2018/01/07 09:19:40 snj 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