summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorEric Nelson <eric@nelint.com>2017-11-01 08:01:20 -0700
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-11-08 07:52:22 +0100
commita9687aa2764dd2669602bd19dc636cbeef5293d5 (patch)
treea67fb2077d52481a9b8a0ac7f4bf9385eeb57f2c /drivers/rtc/Kconfig
parentb6ee15efe6788113c4184843365f74fde08e6284 (diff)
downloadlinux-stable-a9687aa2764dd2669602bd19dc636cbeef5293d5.tar.gz
linux-stable-a9687aa2764dd2669602bd19dc636cbeef5293d5.tar.bz2
linux-stable-a9687aa2764dd2669602bd19dc636cbeef5293d5.zip
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>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r--drivers/rtc/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 616fe53c788e..47663e03f9a8 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -433,6 +433,19 @@ config RTC_DRV_PCF85063
This driver can also be built as a module. If so, the module
will be called rtc-pcf85063.
+config RTC_DRV_PCF85363
+ tristate "NXP PCF85363"
+ depends on I2C
+ select REGMAP_I2C
+ help
+ If you say yes here you get support for the PCF85363 RTC chip.
+
+ This driver can also be built as a module. If so, the module
+ will be called rtc-pcf85363.
+
+ The nvmem interface will be named pcf85363-#, where # is the
+ zero-based instance number.
+
config RTC_DRV_PCF8563
tristate "Philips PCF8563/Epson RTC8564"
help