diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2022-11-04 12:02:25 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-11-15 21:01:51 +0100 |
commit | 8d816c1eaa752546fa3221f5027af0a667ff0c8f (patch) | |
tree | 26d7b3ced5b0bf31e8ae37a8f8704dca982f3a99 /drivers/rtc/rtc-bq32k.c | |
parent | f8513363b0b7155afaee09cca777fc608dc957e3 (diff) |
rtc: isl12022: add support for temperature sensor
The isl12022 has built-in temperature compensation effective over the
range -40C to +85C. It exposes the average of the last two temperature
measurements as a 10-bit value in half-Kelvins. Make this available
via the hwmon framework.
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Link: https://lore.kernel.org/r/20221104110225.2219761-1-linux@rasmusvillemoes.dk
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-bq32k.c')
0 files changed, 0 insertions, 0 deletions