OSDN Git Service

rtc: add support for NXP PCF85363 real-time clock
authorEric Nelson <eric@nelint.com>
Wed, 1 Nov 2017 15:01:20 +0000 (08:01 -0700)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 8 Nov 2017 06:52:22 +0000 (07:52 +0100)
commita9687aa2764dd2669602bd19dc636cbeef5293d5
treea67fb2077d52481a9b8a0ac7f4bf9385eeb57f2c
parentb6ee15efe6788113c4184843365f74fde08e6284
rtc: add support for NXP PCF85363 real-time clock

Note that alarms are not currently implemented.

64 bytes of nvmem is supported and exposed in
sysfs (# is the instance number, starting with 0):

/sys/bus/nvmem/devices/pcf85363-#/nvmem

Signed-off-by: Eric Nelson <eric@nelint.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Documentation/devicetree/bindings/rtc/pcf85363.txt [new file with mode: 0644]
drivers/rtc/Kconfig
drivers/rtc/Makefile
drivers/rtc/rtc-pcf85363.c [new file with mode: 0644]