diff options
author | Ben Sen <0.x29a.0@gmail.com> | 2016-05-01 21:23:33 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-05-01 21:37:49 (GMT) |
commit | 0a19f129d71f18e73249d54de96c835186b8607e (patch) | |
tree | 70932d81781981285d03768deaf0bc8fb4cfd36b /drivers/power/reset/ltc2952-poweroff.c | |
parent | ae53e3740036b5350c4a10dc6fd00fbe3f5134ff (diff) | |
download | linux-0a19f129d71f18e73249d54de96c835186b8607e.tar.xz |
w1: add ability to set (SRAM) and store (EEPROM) configuration for temp sensors like DS18B20
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>
Diffstat (limited to 'drivers/power/reset/ltc2952-poweroff.c')
0 files changed, 0 insertions, 0 deletions