Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1681819
| From | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3] rtc: ds3232: add temperature support |
| Date | 2017-07-05 23:30 +0200 |
| Message-ID | <u001X-3kP-7@gated-at.bofh.it> (permalink) |
| References | <tXjkv-69G-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v3] rtc: ds3232: add temperature support Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-07-05 23:30 +0200
csiph-web