Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/allwinner add A31 HDMI IRQ



details:   https://anonhg.NetBSD.org/src/rev/d7a519b26c27
branches:  trunk
changeset: 333050:d7a519b26c27
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu Oct 16 00:03:48 2014 +0000

description:
add A31 HDMI IRQ

diffstat:

 sys/arch/arm/allwinner/awin_intr.h |  3 ++-
 sys/arch/arm/allwinner/awin_io.c   |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r 49dee3bd4bf7 -r d7a519b26c27 sys/arch/arm/allwinner/awin_intr.h
--- a/sys/arch/arm/allwinner/awin_intr.h        Thu Oct 16 00:02:47 2014 +0000
+++ b/sys/arch/arm/allwinner/awin_intr.h        Thu Oct 16 00:03:48 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: awin_intr.h,v 1.7 2014/10/12 23:57:58 jmcneill Exp $ */
+/* $NetBSD: awin_intr.h,v 1.8 2014/10/16 00:03:48 jmcneill Exp $ */
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -160,5 +160,6 @@
 #define AWIN_A31_IRQ_USB3      106
 #define AWIN_A31_IRQ_USB4      108
 #define AWIN_A31_IRQ_GMAC      114
+#define AWIN_A31_IRQ_HDMI      120
 
 #endif /* _ARM_ALLWINNER_AWIN_INTR_H_ */
diff -r 49dee3bd4bf7 -r d7a519b26c27 sys/arch/arm/allwinner/awin_io.c
--- a/sys/arch/arm/allwinner/awin_io.c  Thu Oct 16 00:02:47 2014 +0000
+++ b/sys/arch/arm/allwinner/awin_io.c  Thu Oct 16 00:03:48 2014 +0000
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: awin_io.c,v 1.20 2014/10/12 23:57:58 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: awin_io.c,v 1.21 2014/10/16 00:03:48 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -110,6 +110,7 @@
        { "awinrtc", OFFANDSIZE(TMR), NOPORT, NOINTR, A10|A20 },
        { "awinrtc", OFFANDSIZE(A31_RTC), NOPORT, NOINTR, A31 },
        { "awinhdmi", OFFANDSIZE(HDMI), NOPORT, AWIN_IRQ_HDMI0, A20 },
+       { "awinhdmi", OFFANDSIZE(HDMI), NOPORT, AWIN_A31_IRQ_HDMI, A31 },
        { "awinusb", OFFANDSIZE(USB1), 0, NOINTR, A10|A20 },
        { "awinusb", OFFANDSIZE(USB2), 1, NOINTR, A10|A20 },
        { "awinusb", OFFANDSIZE(A31_USB1), 0, NOINTR, A31 },



Home | Main Index | Thread Index | Old Index