Add a new driver, ds13rtc, that handles all DS13xx series i2c RTC chips.
authorian <ian@FreeBSD.org>
Sun, 13 Aug 2017 21:02:40 +0000 (21:02 +0000)
committerian <ian@FreeBSD.org>
Sun, 13 Aug 2017 21:02:40 +0000 (21:02 +0000)
commit75b9060f3c7405a1e121330a671c84867ba6130b
treedaa5061f5c4e0f9699df906311724beb7b64eba9
parent690dc669685cf5ef7b82251b82ee027aa00f21b1
Add a new driver, ds13rtc, that handles all DS13xx series i2c RTC chips.

This driver supports only basic timekeeping functionality.  It completely
replaces the ds133x driver.  It can also replace the ds1374 driver, but that
will take a few other changes in MIPS code and config, and will be committed
separately.  It does NOT replace the existing ds1307 driver, which provides
access to some of the extended features on the 1307 chip, such as controlling
the square wave output signal.  If both ds1307 and ds13rtc drivers are
present, the ds1307 driver will outbid and win control of the device.

This driver can be configured with FDT data, or by using hints on non-FDT
systems.  In addition to the standard hints for i2c devices, it requires
a "chiptype" string of the form "dallas,ds13xx" where 'xx' is the chip id
(i.e., the same format as FDT compat strings).
sys/conf/NOTES
sys/conf/files
sys/dev/iicbus/ds133x.c [deleted file]
sys/dev/iicbus/ds13rtc.c [new file with mode: 0644]
sys/modules/i2c/Makefile
sys/modules/i2c/ds13rtc/Makefile [new file with mode: 0644]