rtc: pcf8523: switch to regmap
[linux-2.6-microblaze.git] / drivers / rtc / Kconfig
index d8c13fd..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.
@@ -501,11 +511,11 @@ config RTC_DRV_M41T80_WDT
          watchdog timer in the ST M41T60 and M41T80 RTC chips series.
 
 config RTC_DRV_BD70528
-       tristate "ROHM BD70528, BD71815 and BD71828 PMIC RTC"
-       depends on MFD_ROHM_BD71828 || MFD_ROHM_BD70528 && (BD70528_WATCHDOG || !BD70528_WATCHDOG)
+       tristate "ROHM BD71815 and BD71828 PMIC RTC"
+       depends on MFD_ROHM_BD71828
        help
          If you say Y here you will get support for the RTC
-         block on ROHM BD70528, BD71815 and BD71828 Power Management IC.
+         block on ROHM BD71815 and BD71828 Power Management IC.
 
          This driver can also be built as a module. If so, the module
          will be called rtc-bd70528.
@@ -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