mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
c999fbbdcf
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
w1_ds28e04.c | ||
w1_ds28e17.c | ||
w1_ds250x.c | ||
w1_ds2405.c | ||
w1_ds2406.c | ||
w1_ds2408.c | ||
w1_ds2413.c | ||
w1_ds2423.c | ||
w1_ds2430.c | ||
w1_ds2431.c | ||
w1_ds2433.c | ||
w1_ds2438.c | ||
w1_ds2780.c | ||
w1_ds2780.h | ||
w1_ds2781.c | ||
w1_ds2781.h | ||
w1_ds2805.c | ||
w1_smem.c | ||
w1_therm.c |