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

2017-06-27 Thread Alexandre Belloni
On 27/06/2017 at 18:27:42 +0300, Kirill Esipov wrote: > 2017-06-27 16:00 GMT+03:00 Alexandre Belloni > : > > On 27/06/2017 at 15:24:57 +0300, Kirill Esipov wrote: > >> 2017-06-25 19:39 GMT+03:00 Andy Shevchenko : > >> > On Thu, Jun 22, 2017 at 7:58 PM, Kirill Esipov wrote: > >> >> DS3232/DS3234 ha

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

2017-06-27 Thread Kirill Esipov
2017-06-27 16:00 GMT+03:00 Alexandre Belloni : > On 27/06/2017 at 15:24:57 +0300, Kirill Esipov wrote: >> 2017-06-25 19:39 GMT+03:00 Andy Shevchenko : >> > On Thu, Jun 22, 2017 at 7:58 PM, Kirill Esipov wrote: >> >> DS3232/DS3234 has the temperature registers with a resolution of 0.25 >> >> degree

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

2017-06-27 Thread Alexandre Belloni
On 27/06/2017 at 15:24:57 +0300, Kirill Esipov wrote: > 2017-06-25 19:39 GMT+03:00 Andy Shevchenko : > > On Thu, Jun 22, 2017 at 7:58 PM, 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

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

2017-06-27 Thread Kirill Esipov
2017-06-25 19:39 GMT+03:00 Andy Shevchenko : > On Thu, Jun 22, 2017 at 7:58 PM, 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 >>

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

2017-06-25 Thread Andy Shevchenko
On Thu, Jun 22, 2017 at 7:58 PM, 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 > +config RTC_DRV_DS3232_HWMON > +

[PATCH v2] rtc: ds3232: add temperature support

2017-06-22 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 | 9 drivers/rtc/rtc-ds3232.c | 134