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 Attach H6 gpio



details:   https://anonhg.NetBSD.org/src/rev/abe01fd189a2
branches:  trunk
changeset: 320846:abe01fd189a2
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Mar 03 01:19:07 2018 +0000

description:
Attach H6 gpio

diffstat:

 sys/arch/arm/sunxi/sunxi_gpio.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 2ea571a730a1 -r abe01fd189a2 sys/arch/arm/sunxi/sunxi_gpio.c
--- a/sys/arch/arm/sunxi/sunxi_gpio.c   Sat Mar 03 00:27:51 2018 +0000
+++ b/sys/arch/arm/sunxi/sunxi_gpio.c   Sat Mar 03 01:19:07 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_gpio.c,v 1.18 2017/11/07 07:19:13 skrll Exp $ */
+/* $NetBSD: sunxi_gpio.c,v 1.19 2018/03/03 01:19:07 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "opt_soc.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_gpio.c,v 1.18 2017/11/07 07:19:13 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_gpio.c,v 1.19 2018/03/03 01:19:07 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -106,6 +106,10 @@
        { "allwinner,sun50i-h5-pinctrl",        (uintptr_t)&sun8i_h3_padconf },
        { "allwinner,sun50i-h5-r-pinctrl",      (uintptr_t)&sun8i_h3_r_padconf },
 #endif
+#ifdef SOC_SUN50I_H6
+       { "allwinner,sun50i-h6-pinctrl",        (uintptr_t)&sun50i_h6_padconf },
+       { "allwinner,sun50i-h6-r-pinctrl",      (uintptr_t)&sun50i_h6_r_padconf },
+#endif
        { NULL }
 };
 



Home | Main Index | Thread Index | Old Index