rtc: watchdog support for rtc-m41t80 driver
[pandora-kernel.git] / drivers / rtc / Kconfig
index 361b1f4..3593233 100644 (file)
@@ -118,7 +118,7 @@ config RTC_DRV_TEST
          will be called rtc-test.
 
 comment "I2C RTC drivers"
-       depends on RTC_CLASS
+       depends on RTC_CLASS && I2C
 
 config RTC_DRV_DS1307
        tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00"
@@ -212,12 +212,31 @@ config RTC_DRV_PCF8583
          This driver can also be built as a module. If so, the module
          will be called rtc-pcf8583.
 
+config RTC_DRV_M41T80
+       tristate "ST M41T80 series RTC"
+       depends on RTC_CLASS && I2C
+       help
+         If you say Y here you will get support for the
+         ST M41T80 RTC chips series. Currently following chips are
+         supported: M41T80, M41T81, M41T82, M41T83, M41ST84, M41ST85
+         and M41ST87.
+
+         This driver can also be built as a module. If so, the module
+         will be called rtc-m41t80.
+
+config RTC_DRV_M41T80_WDT
+       bool "ST M41T80 series RTC watchdog timer"
+       depends on RTC_DRV_M41T80
+       help
+         If you say Y here you will get support for the
+         watchdog timer in ST M41T80 RTC chips series.
+
 comment "SPI RTC drivers"
-       depends on RTC_CLASS
+       depends on RTC_CLASS && SPI_MASTER
 
 config RTC_DRV_RS5C348
        tristate "Ricoh RS5C348A/B"
-       depends on RTC_CLASS && SPI
+       depends on RTC_CLASS && SPI_MASTER
        help
          If you say yes here you get support for the
          Ricoh RS5C348A and RS5C348B RTC chips.
@@ -227,7 +246,7 @@ config RTC_DRV_RS5C348
 
 config RTC_DRV_MAX6902
        tristate "Maxim 6902"
-       depends on RTC_CLASS && SPI
+       depends on RTC_CLASS && SPI_MASTER
        help
          If you say yes here you will get support for the
          Maxim MAX6902 SPI RTC chip.