]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
hwmon: (tmp102) add support for update interval
authorFlaviu Nistor <flaviu.nistor@gmail.com>
Fri, 3 Apr 2026 14:06:54 +0000 (17:06 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 3 Apr 2026 18:10:05 +0000 (11:10 -0700)
commit92842776cc45f134a6a965cfe875e14633cb9a47
treecab79cfa52f72cc31c9c176918c5d8c71c99b667
parent6d50ae25666d5433108b1cd11965c0f53c355a83
hwmon: (tmp102) add support for update interval

Since the sensor supports different sampling intervals via
bits CR0 and CR1 from the CONFIG register, add support in
order for the conversion rate to be changed from user space.
Default is 4 conv/sec.

Signed-off-by: Flaviu Nistor <flaviu.nistor@gmail.com>
Link: https://lore.kernel.org/r/20260403140654.10368-1-flaviu.nistor@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/tmp102.rst
drivers/hwmon/tmp102.c