Commit 98069c3f authored by Roland Stigge's avatar Roland Stigge Committed by Greg Kroah-Hartman
Browse files

Staging: iio: Documented output / DAC interface



Added documentation for:
* /sys/bus/iio/devices/deviceX/outY_scale
* /sys/bus/iio/devices/deviceX/outY_raw
* /sys/bus/iio/devices/deviceX/outY&Z_raw

Signed-off-by: default avatarRoland Stigge <stigge@antcom.de>
Acked-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent c331e766
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -168,6 +168,7 @@ Description:
What:		/sys/bus/iio/devices/deviceX/inY_scale
What:		/sys/bus/iio/devices/deviceX/inY_supply_scale
What:		/sys/bus/iio/devices/deviceX/in_scale
What:		/sys/bus/iio/devices/deviceX/outY_scale
What:		/sys/bus/iio/devices/deviceX/accel_scale
What:		/sys/bus/iio/devices/deviceX/accel_peak_scale
What:		/sys/bus/iio/devices/deviceX/gyro_scale
@@ -222,6 +223,23 @@ Description:
		If a discrete set of scale values are available, they
		are listed in this attribute.

What:		/sys/bus/iio/devices/deviceX/outY_raw
KernelVersion:	2.6.37
Contact:	linux-iio@vger.kernel.org
Description:
		Raw (unscaled, no bias etc.) output voltage for
		channel Y.  The number must always be specified and
		unique if the output corresponds to a single channel.

What:		/sys/bus/iio/devices/deviceX/outY&Z_raw
KernelVersion:	2.6.37
Contact:	linux-iio@vger.kernel.org
Description:
		Raw (unscaled, no bias etc.) output voltage for an aggregate of
		channel Y, channel Z, etc.  This interface is available in cases
		where a single output sets the value for multiple channels
		simultaneously.

What:		/sys/bus/iio/devices/deviceX/deviceX:eventY
KernelVersion:	2.6.35
Contact:	linux-iio@vger.kernel.org