summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorMichael Büsch <m@bues.ch>2016-03-10 18:34:46 +0100
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-03-14 17:08:40 +0100
commita696b31e2feeaa0ef99242adb9e771b0d3369a81 (patch)
tree5db38141bc0a352cc39d37df96a889b48f15c52a /drivers/rtc/Kconfig
parentrtc: rv3029: Add update_bits helper for eeprom access (diff)
downloadlinux-a696b31e2feeaa0ef99242adb9e771b0d3369a81.tar.xz
linux-a696b31e2feeaa0ef99242adb9e771b0d3369a81.zip
rtc: rv3029: Add thermometer hwmon support
This adds support to - enable/disable the thermometer - set the temperature scanning interval - read the current temperature that is used for temp compensation. via hwmon interface Signed-off-by: Michael Buesch <m@bues.ch> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r--drivers/rtc/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 987c50168fd8..d2cd206d2965 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -591,6 +591,15 @@ config RTC_DRV_RV3029C2
This driver can also be built as a module. If so, the module
will be called rtc-rv3029c2.
+config RTC_DRV_RV3029_HWMON
+ bool "HWMON support for RV3029"
+ depends on RTC_DRV_RV3029C2 && HWMON
+ depends on !(RTC_DRV_RV3029C2=y && HWMON=m)
+ default y
+ help
+ Say Y here if you want to expose temperature sensor data on
+ rtc-rv3029c2.
+
config RTC_DRV_RV8803
tristate "Micro Crystal RV8803"
help