mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
0a19f129d7
Since many temperature sensors come "preconfigured" with a lower precision, people are stuck at that precision when running on a kernel based device (unlike the Dallas 1Wire library for e.g. Arduino, which supports writing the configuration/scratchpad). This patch adds write support for the scratchpad/precision registers via w1_slave sysfs. Signed-off-by: Ben Sen <0.x29a.0@gmail.com> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
w1_bq27000.c | ||
w1_ds28e04.c | ||
w1_ds2406.c | ||
w1_ds2408.c | ||
w1_ds2413.c | ||
w1_ds2423.c | ||
w1_ds2431.c | ||
w1_ds2433.c | ||
w1_ds2760.c | ||
w1_ds2760.h | ||
w1_ds2780.c | ||
w1_ds2780.h | ||
w1_ds2781.c | ||
w1_ds2781.h | ||
w1_smem.c | ||
w1_therm.c |