linux/Documentation/w1
Luiz Sampaio c999fbbdcf w1: ds2438: support for writing to offset register
Added a sysfs entry to support writing to the offset register on page1.
This register is used to calibrate the chip canceling offset errors in the
current ADC. This means that, over time, reading the IAD register will not
return the correct current measurement, it will have an offset. Writing to
the offset register if the two's complement of the current register while
passing zero current to the load will calibrate the measurements. This
change was tested on real hardware and it was able to calibrate the chip
correctly.

Signed-off-by: Luiz Sampaio <sampaio.ime@gmail.com>
Link: https://lore.kernel.org/r/20210519223046.13798-7-sampaio.ime@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-21 14:51:33 +02:00
..
masters docs: w1: Fix a typo in omap-hdq.rst 2019-12-30 11:58:02 -07:00
slaves w1: ds2438: support for writing to offset register 2021-05-21 14:51:33 +02:00
index.rst docs: w1: Fix SPDX-License-Identifier syntax 2019-10-18 09:45:56 -06:00
w1-generic.rst docs: w1: convert to ReST and add to the kAPI group of docs 2019-07-31 14:16:17 -06:00
w1-netlink.rst docs: w1: convert to ReST and add to the kAPI group of docs 2019-07-31 14:16:17 -06:00