rtc: always show I2C
[cascardo/linux.git] / drivers / rtc / Kconfig
index 376322f..88254d3 100644 (file)
@@ -140,7 +140,6 @@ config RTC_DRV_TEST
          will be called rtc-test.
 
 comment "I2C RTC drivers"
-       depends on I2C
 
 if I2C
 
@@ -212,6 +211,15 @@ config RTC_DRV_DS1307
          This driver can also be built as a module. If so, the module
          will be called rtc-ds1307.
 
+config RTC_DRV_DS1307_HWMON
+       bool "HWMON support for rtc-ds1307"
+       depends on RTC_DRV_DS1307 && HWMON
+       depends on !(RTC_DRV_DS1307=y && HWMON=m)
+       default y
+       help
+         Say Y here if you want to expose temperature sensor data on
+         rtc-ds1307 (only DS3231)
+
 config RTC_DRV_DS1374
        tristate "Dallas/Maxim DS1374"
        help
@@ -317,10 +325,10 @@ config RTC_DRV_MAX8997
 
 config RTC_DRV_MAX77686
        tristate "Maxim MAX77686"
-       depends on MFD_MAX77686
+       depends on MFD_MAX77686 || MFD_MAX77620
        help
          If you say yes here you will get support for the
-         RTC of Maxim MAX77686 PMIC.
+         RTC of Maxim MAX77686/MAX77620/MAX77802 PMIC.
 
          This driver can also be built as a module. If so, the module
          will be called rtc-max77686.
@@ -335,16 +343,6 @@ config RTC_DRV_RK808
          This driver can also be built as a module. If so, the module
          will be called rk808-rtc.
 
-config RTC_DRV_MAX77802
-       tristate "Maxim 77802 RTC"
-       depends on MFD_MAX77686
-       help
-         If you say yes here you will get support for the
-         RTC of Maxim MAX77802 PMIC.
-
-         This driver can also be built as a module. If so, the module
-         will be called rtc-max77802.
-
 config RTC_DRV_RS5C372
        tristate "Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A"
        help
@@ -391,16 +389,6 @@ config RTC_DRV_X1205
          This driver can also be built as a module. If so, the module
          will be called rtc-x1205.
 
-config RTC_DRV_PALMAS
-       tristate "TI Palmas RTC driver"
-       depends on MFD_PALMAS
-       help
-         If you say yes here you get support for the RTC of TI PALMA series PMIC
-         chips.
-
-         This driver can also be built as a module. If so, the module
-         will be called rtc-palma.
-
 config RTC_DRV_PCF2127
        tristate "NXP PCF2127"
        help
@@ -419,6 +407,14 @@ config RTC_DRV_PCF8523
          This driver can also be built as a module. If so, the module
          will be called rtc-pcf8523.
 
+config RTC_DRV_PCF85063
+       tristate "NXP PCF85063"
+       help
+         If you say yes here you get support for the PCF85063 RTC chip
+
+         This driver can also be built as a module. If so, the module
+         will be called rtc-pcf85063.
+
 config RTC_DRV_PCF8563
        tristate "Philips PCF8563/Epson RTC8564"
        help
@@ -429,14 +425,6 @@ config RTC_DRV_PCF8563
          This driver can also be built as a module. If so, the module
          will be called rtc-pcf8563.
 
-config RTC_DRV_PCF85063
-       tristate "nxp PCF85063"
-       help
-         If you say yes here you get support for the PCF85063 RTC chip
-
-         This driver can also be built as a module. If so, the module
-         will be called rtc-pcf85063.
-
 config RTC_DRV_PCF8583
        tristate "Philips PCF8583"
        help
@@ -501,6 +489,16 @@ config RTC_DRV_TWL4030
          This driver can also be built as a module. If so, the module
          will be called rtc-twl.
 
+config RTC_DRV_PALMAS
+       tristate "TI Palmas RTC driver"
+       depends on MFD_PALMAS
+       help
+         If you say yes here you get support for the RTC of TI PALMA series PMIC
+         chips.
+
+         This driver can also be built as a module. If so, the module
+         will be called rtc-palma.
+
 config RTC_DRV_TPS6586X
        tristate "TI TPS6586X RTC driver"
        depends on MFD_TPS6586X
@@ -595,10 +593,10 @@ config RTC_DRV_EM3027
          will be called rtc-em3027.
 
 config RTC_DRV_RV3029C2
-       tristate "Micro Crystal RTC"
+       tristate "Micro Crystal RV3029"
        help
          If you say yes here you get support for the Micro Crystal
-         RV3029-C2 RTC chips.
+         RV3029 RTC chips.
 
          This driver can also be built as a module. If so, the module
          will be called rtc-rv3029c2.
@@ -691,15 +689,6 @@ config RTC_DRV_DS1390
          This driver can also be built as a module. If so, the module
          will be called rtc-ds1390.
 
-config RTC_DRV_MAX6902
-       tristate "Maxim MAX6902"
-       help
-         If you say yes here you will get support for the
-         Maxim MAX6902 SPI RTC chip.
-
-         This driver can also be built as a module. If so, the module
-         will be called rtc-max6902.
-
 config RTC_DRV_R9701
        tristate "Epson RTC-9701JE"
        help
@@ -709,6 +698,23 @@ config RTC_DRV_R9701
          This driver can also be built as a module. If so, the module
          will be called rtc-r9701.
 
+config RTC_DRV_RX4581
+       tristate "Epson RX-4581"
+       help
+         If you say yes here you will get support for the Epson RX-4581.
+
+         This driver can also be built as a module. If so the module
+         will be called rtc-rx4581.
+
+config RTC_DRV_RX6110
+       tristate "Epson RX-6110"
+       select REGMAP_SPI
+       help
+         If you say yes here you will get support for the Epson RX-6610.
+
+         This driver can also be built as a module. If so the module
+         will be called rtc-rx6110.
+
 config RTC_DRV_RS5C348
        tristate "Ricoh RS5C348A/B"
        help
@@ -718,6 +724,15 @@ config RTC_DRV_RS5C348
          This driver can also be built as a module. If so, the module
          will be called rtc-rs5c348.
 
+config RTC_DRV_MAX6902
+       tristate "Maxim MAX6902"
+       help
+         If you say yes here you will get support for the
+         Maxim MAX6902 SPI RTC chip.
+
+         This driver can also be built as a module. If so, the module
+         will be called rtc-max6902.
+
 config RTC_DRV_DS3234
        tristate "Maxim/Dallas DS3234"
        help
@@ -736,14 +751,6 @@ config RTC_DRV_PCF2123
          This driver can also be built as a module. If so, the module
          will be called rtc-pcf2123.
 
-config RTC_DRV_RX4581
-       tristate "Epson RX-4581"
-       help
-         If you say yes here you will get support for the Epson RX-4581.
-
-         This driver can also be built as a module. If so the module
-         will be called rtc-rx4581.
-
 config RTC_DRV_MCP795
        tristate "Microchip MCP795"
        help
@@ -1144,6 +1151,16 @@ config RTC_DRV_ZYNQMP
 
 comment "on-CPU RTC drivers"
 
+config RTC_DRV_ASM9260
+       tristate "Alphascale asm9260 RTC"
+       depends on MACH_ASM9260
+       help
+         If you say yes here you get support for the RTC on the
+         Alphascale asm9260 SoC.
+
+         This driver can also be built as a module. If so, the module
+         will be called rtc-asm9260.
+
 config RTC_DRV_DAVINCI
        tristate "TI DaVinci RTC"
        depends on ARCH_DAVINCI_DM365
@@ -1360,10 +1377,11 @@ config RTC_DRV_SUN4V
 
 config RTC_DRV_SUN6I
        tristate "Allwinner A31 RTC"
-       depends on MACH_SUN6I || MACH_SUN8I
+       default MACH_SUN6I || MACH_SUN8I
+       depends on ARCH_SUNXI
        help
-         If you say Y here you will get support for the RTC found on
-         Allwinner A31.
+         If you say Y here you will get support for the RTC found in
+         some Allwinner SoCs like the A31 or the A64.
 
 config RTC_DRV_SUNXI
        tristate "Allwinner sun4i/sun7i RTC"
@@ -1603,7 +1621,7 @@ config RTC_DRV_MOXART
 
 config RTC_DRV_MT6397
        tristate "Mediatek Real Time Clock driver"
-       depends on MFD_MT6397 || COMPILE_TEST
+       depends on MFD_MT6397 || (COMPILE_TEST && IRQ_DOMAIN)
        help
          This selects the Mediatek(R) RTC driver. RTC is part of Mediatek
          MT6397 PMIC. You should enable MT6397 PMIC MFD before select
@@ -1622,6 +1640,16 @@ config RTC_DRV_XGENE
          This driver can also be built as a module, if so, the module
          will be called "rtc-xgene".
 
+config RTC_DRV_PIC32
+       tristate "Microchip PIC32 RTC"
+       depends on MACH_PIC32
+       default y
+       help
+          If you say yes here you get support for the PIC32 RTC module.
+
+          This driver can also be built as a module. If so, the module
+          will be called rtc-pic32
+
 comment "HID Sensor RTC drivers"
 
 config RTC_DRV_HID_SENSOR_TIME