Re: [PATCH v3] rtc: ds3232: add temperature support

2017-07-05 Thread Alexandre Belloni
On 28/06/2017 at 14:29:09 +0300, Kirill Esipov wrote: > DS3232/DS3234 has the temperature registers with a resolution of 0.25 > degree celsius. This enables to get the value through hwmon. > > # cat /sys/class/hwmon/hwmon0/temp1_input > 37250 > > Signed-off-by: Kirill Esipov > --- >

[PATCH v3] rtc: ds3232: add temperature support

2017-06-28 Thread Kirill Esipov
DS3232/DS3234 has the temperature registers with a resolution of 0.25 degree celsius. This enables to get the value through hwmon. # cat /sys/class/hwmon/hwmon0/temp1_input 37250 Signed-off-by: Kirill Esipov --- drivers/rtc/Kconfig | 8 drivers/rtc/rtc-ds3232.c | 119