diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2016-01-25 00:22:16 +0900 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-02-04 23:44:17 +0100 |
commit | 445c02076f1e60d2ee51503bf1288ef9f3bc8809 (patch) | |
tree | 8d9923a5a96c0d4e2f573f24b545c3582f885b39 /drivers/rtc/rtc-ds3232.c | |
parent | 8bc2a40730ec74271a0573a6882871308d069f5d (diff) | |
download | talos-obmc-linux-445c02076f1e60d2ee51503bf1288ef9f3bc8809.tar.gz talos-obmc-linux-445c02076f1e60d2ee51503bf1288ef9f3bc8809.zip |
rtc: ds1307: add temperature sensor support for ds3231
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>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-ds3232.c')
0 files changed, 0 insertions, 0 deletions