Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1681819 > unrolled thread

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

Started byAlexandre Belloni <alexandre.belloni@free-electrons.com>
First post2017-07-05 23:30 +0200
Last post2017-07-05 23:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v3] rtc: ds3232: add temperature support Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-07-05 23:30 +0200

#1681819 — Re: [PATCH v3] rtc: ds3232: add temperature support

FromAlexandre Belloni <alexandre.belloni@free-electrons.com>
Date2017-07-05 23:30 +0200
SubjectRe: [PATCH v3] rtc: ds3232: add temperature support
Message-ID<u001X-3kP-7@gated-at.bofh.it>
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 <yesipov@gmail.com>
> ---
>  drivers/rtc/Kconfig      |   8 ++++
>  drivers/rtc/rtc-ds3232.c | 119 +++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 127 insertions(+)
> 
Applied, thanks.

-- 
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web