summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorBen Sen <0.x29a.0@gmail.com>2016-05-01 23:23:33 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-05-01 14:37:49 -0700
commit0a19f129d71f18e73249d54de96c835186b8607e (patch)
tree70932d81781981285d03768deaf0bc8fb4cfd36b /certs
parentae53e3740036b5350c4a10dc6fd00fbe3f5134ff (diff)
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 'certs')
0 files changed, 0 insertions, 0 deletions