From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
To: Akinobu Mita <akinobu.mita@gmail.com>
Cc: rtc-linux@googlegroups.com, lm-sensors@lm-sensors.org,
Alessandro Zummo <a.zummo@towertech.it>,
Jean Delvare <jdelvare@suse.com>,
Guenter Roeck <linux@roeck-us.net>
Subject: Re: [rtc-linux] [PATCH v4] rtc: rtc-ds1307: add temperature sensor support for ds3231
Date: Tue, 26 Jan 2016 09:37:02 +0100 [thread overview]
Message-ID: <20160126083702.GF11740@piout.net> (raw)
In-Reply-To: <1453648936-17017-1-git-send-email-akinobu.mita@gmail.com>
On 25/01/2016 at 00:22:16 +0900, Akinobu Mita wrote :
> DS3231 has the temperature registers with a resolution of 0.25
> degree celsius. This enables to get the value through hwmon.
>
> # cat /sys/class/i2c-adapter/i2c-2/2-0068/hwmon/hwmon0/temp1_input
> 21000
>
> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
> Acked-by: Guenter Roeck <linux@roeck-us.net>
> Cc: Alessandro Zummo <a.zummo@towertech.it>
> Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> Cc: Jean Delvare <jdelvare@suse.com>
> Cc: Guenter Roeck <linux@roeck-us.net>
> ---
> * v4 (all changes are suggested by Guenter Roeck)
> - drop the Cc: mailing lists in commit log
> - add Acked-by line
> - remove unnecessary header include
> - s/s32/int/
> - make ds1307_hwmon_register() a void function as the return value is not used
>
> drivers/rtc/Kconfig | 9 +++++
> drivers/rtc/rtc-ds1307.c | 88 ++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 97 insertions(+)
Applied, thanks.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2016-01-26 8:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-24 15:22 [rtc-linux] [PATCH v4] rtc: rtc-ds1307: add temperature sensor support for ds3231 Akinobu Mita
2016-01-26 8:37 ` Alexandre Belloni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160126083702.GF11740@piout.net \
--to=alexandre.belloni@free-electrons.com \
--cc=a.zummo@towertech.it \
--cc=akinobu.mita@gmail.com \
--cc=jdelvare@suse.com \
--cc=linux@roeck-us.net \
--cc=lm-sensors@lm-sensors.org \
--cc=rtc-linux@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox