diff options
author | Luiz Sampaio <sampaio.ime@gmail.com> | 2021-05-19 19:30:45 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-21 14:51:33 +0200 |
commit | fd6ec5d79507f99639c94f107e8a98550c9e1cf6 (patch) | |
tree | 6f2c945283a8a2c9e67e7b6968566d2099a0fac6 /Documentation/ABI/stable | |
parent | 1f5e7518f063728aee0679c5086b92d8ea429e11 (diff) | |
download | linux-stable-fd6ec5d79507f99639c94f107e8a98550c9e1cf6.tar.gz linux-stable-fd6ec5d79507f99639c94f107e8a98550c9e1cf6.tar.bz2 linux-stable-fd6ec5d79507f99639c94f107e8a98550c9e1cf6.zip |
w1: ds2438: adding support for reading page1
Added a sysfs entry to support reading the page1 registers. This registers
contain Elapsed Time Meter (ETM) data, which shows for how long the chip is
on, as well as an Offset Register data, which can be used to calibrate the
current measurement of the chip.
Signed-off-by: Luiz Sampaio <sampaio.ime@gmail.com>
Link: https://lore.kernel.org/r/20210519223046.13798-6-sampaio.ime@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/ABI/stable')
-rw-r--r-- | Documentation/ABI/stable/sysfs-driver-w1_ds2438 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/ABI/stable/sysfs-driver-w1_ds2438 b/Documentation/ABI/stable/sysfs-driver-w1_ds2438 new file mode 100644 index 000000000000..fa47437c11d9 --- /dev/null +++ b/Documentation/ABI/stable/sysfs-driver-w1_ds2438 @@ -0,0 +1,6 @@ +What: /sys/bus/w1/devices/.../page1 +Date: April 2021 +Contact: Luiz Sampaio <sampaio.ime@gmail.com> +Description: read the contents of the page1 of the DS2438 + see Documentation/w1/slaves/w1_ds2438.rst for detailed information +Users: any user space application which wants to communicate with DS2438 |