aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2019-04-25 18:40:23 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2019-04-25 18:40:23 +0000
commitdbc8d8a261dcb63a7a45f038647ed97aab81eaf7 (patch)
tree4c04295493b9978f2cff9da89a8c1ee1f2171c8a
parentf9b1c6a02979574e29eb977687c7524aaeabd202 (diff)
Notes
-rw-r--r--sys/arm/allwinner/axp81x.c1
-rw-r--r--sys/modules/allwinner/Makefile3
-rw-r--r--sys/modules/allwinner/axp81x/Makefile15
3 files changed, 18 insertions, 1 deletions
diff --git a/sys/arm/allwinner/axp81x.c b/sys/arm/allwinner/axp81x.c
index 8301a44c654f..277788f1f7ac 100644
--- a/sys/arm/allwinner/axp81x.c
+++ b/sys/arm/allwinner/axp81x.c
@@ -1619,3 +1619,4 @@ EARLY_DRIVER_MODULE(ofw_gpiobus, axp8xx_pmu, ofw_gpiobus_driver,
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);
diff --git a/sys/modules/allwinner/Makefile b/sys/modules/allwinner/Makefile
index 111d657badd9..6c7ccc1f5b9d 100644
--- a/sys/modules/allwinner/Makefile
+++ b/sys/modules/allwinner/Makefile
@@ -4,6 +4,7 @@
SUBDIR = \
aw_sid \
aw_spi \
- aw_thermal
+ aw_thermal \
+ axp81x
.include <bsd.subdir.mk>
diff --git a/sys/modules/allwinner/axp81x/Makefile b/sys/modules/allwinner/axp81x/Makefile
new file mode 100644
index 000000000000..890046f355d2
--- /dev/null
+++ b/sys/modules/allwinner/axp81x/Makefile
@@ -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>