i2c: rtc: Add module for hym8563 driver

It's used in the nanopi-r5s
This commit is contained in:
Emmanuel Vadot 2023-10-06 21:20:00 +02:00
parent 38cbdae33b
commit 03205a8cd5
2 changed files with 15 additions and 1 deletions

View file

@ -28,7 +28,8 @@ SUBDIR = \
smbus \
.if !empty(OPT_FDT)
SUBDIR += rv3032 \
SUBDIR += hym8563 \
rv3032 \
rx8803 \
tca64xx \
tmp461

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