Home
last modified time | relevance | path

Searched hist:c999fbbdcf778c2ea77f59e26d7448a1ab8fa8a2 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/Documentation/ABI/stable/
H A Dsysfs-driver-w1_ds2438diff c999fbbdcf778c2ea77f59e26d7448a1ab8fa8a2 Wed May 19 17:30:46 CDT 2021 Luiz Sampaio <sampaio.ime@gmail.com> 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>
/openbmc/linux/Documentation/w1/slaves/
H A Dw1_ds2438.rstdiff c999fbbdcf778c2ea77f59e26d7448a1ab8fa8a2 Wed May 19 17:30:46 CDT 2021 Luiz Sampaio <sampaio.ime@gmail.com> 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>
/openbmc/linux/drivers/w1/slaves/
H A Dw1_ds2438.cdiff c999fbbdcf778c2ea77f59e26d7448a1ab8fa8a2 Wed May 19 17:30:46 CDT 2021 Luiz Sampaio <sampaio.ime@gmail.com> 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>