rtc: pcf8523: switch to regmap
[linux-2.6-microblaze.git] / drivers / rtc / Kconfig
index 12153d5..8dc92b4 100644 (file)
@@ -75,6 +75,15 @@ config RTC_DEBUG
          Say yes here to enable debugging support in the RTC framework
          and individual RTC drivers.
 
+config RTC_LIB_KUNIT_TEST
+       tristate "KUnit test for RTC lib functions" if !KUNIT_ALL_TESTS
+       depends on KUNIT
+       default KUNIT_ALL_TESTS
+       help
+         Enable this option to test RTC library functions.
+
+         If unsure, say N.
+
 config RTC_NVMEM
        bool "RTC non volatile storage support"
        select NVMEM
@@ -432,6 +441,7 @@ config RTC_DRV_X1205
 
 config RTC_DRV_PCF8523
        tristate "NXP PCF8523"
+       select REGMAP_I2C
        help
          If you say yes here you get support for the NXP PCF8523 RTC
          chips.
@@ -624,6 +634,7 @@ config RTC_DRV_FM3130
 
 config RTC_DRV_RX8010
        tristate "Epson RX8010SJ"
+       select REGMAP_I2C
        help
          If you say yes here you get support for the Epson RX8010SJ RTC
          chip.
@@ -1925,4 +1936,14 @@ config RTC_DRV_WILCO_EC
          This can also be built as a module. If so, the module will
          be named "rtc_wilco_ec".
 
+config RTC_DRV_MSC313
+       tristate "MStar MSC313 RTC"
+        depends on ARCH_MSTARV7 || COMPILE_TEST
+       help
+         If you say yes here you get support for the Mstar MSC313e On-Chip
+         Real Time Clock.
+
+         This driver can also be built as a module, if so, the module
+         will be called "rtc-msc313".
+
 endif # RTC_CLASS