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

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

Re: rtc: ds3232: add temperature support

2017-06-22 Thread Kirill Esipov
2017-06-22 16:44 GMT+03:00 Guenter Roeck : > On 06/22/2017 05:07 AM, Kirill Esipov wrote: >> >> >> >> 2017-06-22 1:24 GMT+03:00 Guenter Roeck > >: >> >> On Wed, Jun 21, 2017 at 05:49:43PM +0300, Kirill Esipov wrote: >> > DS3232/DS3234 has the temperature register

Re: rtc: ds3232: add temperature support

2017-06-22 Thread Guenter Roeck
On 06/22/2017 05:07 AM, Kirill Esipov wrote: 2017-06-22 1:24 GMT+03:00 Guenter Roeck mailto:li...@roeck-us.net>>: On Wed, Jun 21, 2017 at 05:49:43PM +0300, Kirill Esipov wrote: > DS3232/DS3234 has the temperature registers with a resolution of > 0.25 degree celsius. This enables

Re: rtc: ds3232: add temperature support

2017-06-22 Thread Kirill Esipov
2017-06-22 1:24 GMT+03:00 Guenter Roeck : > On Wed, Jun 21, 2017 at 05:49:43PM +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 >

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

2017-06-21 Thread kbuild test robot
Hi Kirill, [auto build test WARNING on abelloni/rtc-next] [also build test WARNING on v4.12-rc6 next-20170621] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Kirill-Esipov/rtc-ds3232-add

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

2017-06-21 Thread kbuild test robot
Hi Kirill, [auto build test ERROR on abelloni/rtc-next] [also build test ERROR on v4.12-rc6 next-20170621] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Kirill-Esipov/rtc-ds3232-add

Re: rtc: ds3232: add temperature support

2017-06-21 Thread Guenter Roeck
On Wed, Jun 21, 2017 at 05:49:43PM +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] rtc: ds3232: add temperature support

2017-06-21 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 | 84