]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit13178bf2714b3eecc37008758aae8a25016200a5
tree5db38141bc0a352cc39d37df96a889b48f15c52a
parent2b408677ff20c819ab4220c1d2a026fcc0b247bf
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