rtc: add support for DS3232 device
authorHan Nandor <nandor.han@vaisala.com>
Tue, 12 Nov 2019 08:39:38 +0000 (08:39 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 10 Jan 2020 15:25:13 +0000 (10:25 -0500)
commit0b326fc296435ce27aa41320b6f7eb9266da39ef
tree7125947dd7a3b9d2a192cc44134cd36c3677c4c4
parentc82abaa5d63f5259fd64c59bd70010310b4c4e4b
rtc: add support for DS3232 device

DS3232 is an i2c RTC with 236 bytes of battery-backed SRAM.

Add an RTC driver for DS3232 device, which provides time and
date support. Also read and write functions are provided,
which can be used to access the SRAM memory.

Signed-off-by: Nandor Han <nandor.han@vaisala.com>
doc/device-tree-bindings/rtc/ds3232.txt [new file with mode: 0644]
drivers/rtc/Kconfig
drivers/rtc/Makefile
drivers/rtc/ds3232.c [new file with mode: 0644]