svn commit: r346693 - in head/sys: arm/allwinner modules/allwinner modules/allwinner/axp81x

Emmanuel Vadot manu at FreeBSD.org
Thu Apr 25 18:40:25 UTC 2019


Author: manu
Date: Thu Apr 25 18:40:23 2019
New Revision: 346693
URL: https://svnweb.freebsd.org/changeset/base/346693

Log:
  arm: allwinner: Add pnp info to axp81x and compile it as module too
  
  MFC after:	1 month

Added:
  head/sys/modules/allwinner/axp81x/
  head/sys/modules/allwinner/axp81x/Makefile   (contents, props changed)
Modified:
  head/sys/arm/allwinner/axp81x.c
  head/sys/modules/allwinner/Makefile

Modified: head/sys/arm/allwinner/axp81x.c
==============================================================================
--- head/sys/arm/allwinner/axp81x.c	Thu Apr 25 18:39:41 2019	(r346692)
+++ head/sys/arm/allwinner/axp81x.c	Thu Apr 25 18:40:23 2019	(r346693)
@@ -1619,3 +1619,4 @@ EARLY_DRIVER_MODULE(ofw_gpiobus, axp8xx_pmu, ofw_gpiob
 DRIVER_MODULE(gpioc, axp8xx_pmu, gpioc_driver, gpioc_devclass, 0, 0);
 MODULE_VERSION(axp8xx, 1);
 MODULE_DEPEND(axp8xx, iicbus, 1, 1, 1);
+SIMPLEBUS_PNP_INFO(compat_data);

Modified: head/sys/modules/allwinner/Makefile
==============================================================================
--- head/sys/modules/allwinner/Makefile	Thu Apr 25 18:39:41 2019	(r346692)
+++ head/sys/modules/allwinner/Makefile	Thu Apr 25 18:40:23 2019	(r346693)
@@ -4,6 +4,7 @@
 SUBDIR = \
 	aw_sid \
 	aw_spi \
-	aw_thermal
+	aw_thermal \
+	axp81x
 
 .include <bsd.subdir.mk>

Added: head/sys/modules/allwinner/axp81x/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/modules/allwinner/axp81x/Makefile	Thu Apr 25 18:40:23 2019	(r346693)
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+.PATH: ${SRCTOP}/sys/arm/allwinner
+
+KMOD=	axp81x
+SRCS=	axp81x.c
+
+SRCS+=	\
+	bus_if.h \
+	clknode_if.h \
+	device_if.h \
+	ofw_bus_if.h \
+	iicbus_if.h
+
+.include <bsd.kmod.mk>


More information about the svn-src-head mailing list