iio: add documentation for current attribute
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Wed, 17 Sep 2014 00:11:00 +0000 (01:11 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 21 Sep 2014 13:02:18 +0000 (14:02 +0100)
Add documentation for input current raw sysfs attribute.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/ABI/testing/sysfs-bus-iio

index d760b0224ef7b99f30632f07bf7a0986c6ce92e5..1ac9ac20f53097f72e4b750aae35591597c3c4ba 100644 (file)
@@ -1028,3 +1028,12 @@ Contact: linux-iio@vger.kernel.org
 Description:
                Raw value of rotation from true/magnetic north measured with
                or without compensation from tilt sensors.
+
+What:          /sys/bus/iio/devices/iio:deviceX/in_currentX_raw
+KernelVersion: 3.18
+Contact:       linux-iio@vger.kernel.org
+Description:
+               Raw current measurement from channel X. Units are in milliamps
+               after application of scale and offset. If no offset or scale is
+               present, output should be considered as processed with the
+               unit in milliamps.