mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
i2c: rtc: Add module for hym8563 driver
It's used in the nanopi-r5s (cherry picked from commit 03205a8cd57feb95752142d899d026ff8f45f3e6)
This commit is contained in:
parent
8cb78c56a6
commit
e8d7fd8991
2 changed files with 15 additions and 1 deletions
|
|
@ -28,7 +28,8 @@ SUBDIR = \
|
|||
smbus \
|
||||
|
||||
.if !empty(OPT_FDT)
|
||||
SUBDIR += rv3032 \
|
||||
SUBDIR += hym8563 \
|
||||
rv3032 \
|
||||
rx8803 \
|
||||
tca64xx \
|
||||
tmp461
|
||||
|
|
|
|||
13
sys/modules/i2c/hym8563/Makefile
Normal file
13
sys/modules/i2c/hym8563/Makefile
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
.PATH: ${SRCTOP}/sys/dev/iicbus/rtc
|
||||
KMOD= hym8563
|
||||
SRCS= hym8563.c
|
||||
|
||||
SRCS+= bus_if.h \
|
||||
clock_if.h \
|
||||
device_if.h \
|
||||
iicbus_if.h \
|
||||
opt_platform.h \
|
||||
ofw_bus_if.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
Loading…
Reference in a new issue