arm: allwinner: Add pnp info to axp81x and compile it as module too
MFC after: 1 month
This commit is contained in:
parent
f9b1c6a029
commit
dbc8d8a261
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346693
@ -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);
|
||||
|
@ -4,6 +4,7 @@
|
||||
SUBDIR = \
|
||||
aw_sid \
|
||||
aw_spi \
|
||||
aw_thermal
|
||||
aw_thermal \
|
||||
axp81x
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
15
sys/modules/allwinner/axp81x/Makefile
Normal file
15
sys/modules/allwinner/axp81x/Makefile
Normal 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>
|
Loading…
Reference in New Issue
Block a user