rtc: rv3029: Add thermometer hwmon support
authorMichael Büsch <m@bues.ch>
Thu, 10 Mar 2016 17:34:46 +0000 (18:34 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 14 Mar 2016 16:08:40 +0000 (17:08 +0100)
commita696b31e2feeaa0ef99242adb9e771b0d3369a81
tree5db38141bc0a352cc39d37df96a889b48f15c52a
parent39387dc2cf22bc5e9c310a4991c6a40852df4217
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>
drivers/rtc/Kconfig
drivers/rtc/rtc-rv3029c2.c