arm: allwinner: Add pnp info to axp81x and compile it as module too

MFC after:	1 month
This commit is contained in:
Emmanuel Vadot 2019-04-25 18:40:23 +00:00
parent f9b1c6a029
commit dbc8d8a261
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346693
3 changed files with 18 additions and 1 deletions

View File

@ -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);

View File

@ -4,6 +4,7 @@
SUBDIR = \
aw_sid \
aw_spi \
aw_thermal
aw_thermal \
axp81x
.include <bsd.subdir.mk>

View File

@ -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>