Re: [PATCH v4 3/3] iio: add documentation for current attribute

Jonathan Cameron
2014-09-21T13:03:17Z

On 17/09/14 01:11, Jacob Pan wrote:
> Add documentation for input current raw sysfs attribute.
>
> Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Applied to the togreg branch of iio.git
(initially pushed out as testing for autobuilders to play - though
obviously they aren't going to do much with this patch!)

Jonathan
> ---
> Documentation/ABI/testing/sysfs-bus-iio | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> index d760b02..1ac9ac2 100644
> --- a/Documentation/ABI/testing/sysfs-bus-iio
> +++ b/Documentation/ABI/testing/sysfs-bus-iio
> @@ -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.
>