Skip to content

Commit c2b2db7

Browse files
larsclausenjic23
authored andcommitted
iio: Update unit of the voltage scale in the documentation
The documentation says that the result of raw * scale should be in microvolts, but in reallity all drivers actually report the scale so that the result is in millivolts. So update the documentation to match reallity. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
1 parent bfbab2b commit c2b2db7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/ABI/testing/sysfs-bus-iio

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Description:
7979
correspond to externally available input one of the named
8080
versions may be used. The number must always be specified and
8181
unique to allow association with event codes. Units after
82-
application of scale and offset are microvolts.
82+
application of scale and offset are millivolts.
8383

8484
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_raw
8585
KernelVersion: 2.6.35
@@ -90,7 +90,7 @@ Description:
9090
physically equivalent inputs when non differential readings are
9191
separately available. In differential only parts, then all that
9292
is required is a consistent labeling. Units after application
93-
of scale and offset are microvolts.
93+
of scale and offset are millivolts.
9494

9595
What: /sys/bus/iio/devices/iio:deviceX/in_capacitanceY_raw
9696
KernelVersion: 3.2

0 commit comments

Comments
 (0)