[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170705211953.d6cwqoe24beze2qu@piout.net>
Date: Wed, 5 Jul 2017 23:19:53 +0200
From: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
To: Kirill Esipov <yesipov@...il.com>
Cc: a.zummo@...ertech.it, linux-rtc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] rtc: ds3232: add temperature support
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@...il.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
Powered by blists - more mailing lists