Re: [PATCH v4 1/2] staging: iio: Documentation sysfs-bus-iio addpower_mode

From: Jonathan Cameron
Date: Sat Aug 17 2013 - 15:29:51 EST


On 08/16/13 13:12, Oleksandr Kravchenko wrote:
> Add description about in_accelX_power_mode and
> in_accel_power_mode_available.
>
Right now this is very much chip specific so it wants to go in
sysfs-bus-iio-accel-bma180 If / when it turns up in lots of parts
we can discuss whether it is a good general purpose interface
or not.


> Signed-off-by: Oleksandr Kravchenko <o.v.kravchenko@xxxxxxxxxxxxxxx>
> ---
> Documentation/ABI/testing/sysfs-bus-iio | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> index dda81ff..1a333f3 100644
> --- a/Documentation/ABI/testing/sysfs-bus-iio
> +++ b/Documentation/ABI/testing/sysfs-bus-iio
> @@ -792,3 +792,13 @@ Contact: linux-iio@xxxxxxxxxxxxxxx
> Description:
> This attribute is used to read the amount of quadrature error
> present in the device at a given time.
> +
> +What: /sys/.../iio:deviceX/in_accelX_power_mode
> +KernelVersion: 3.11
> +Contact: linux-iio@xxxxxxxxxxxxxxx
> +Description:
> + Specifies the chip power mode.
> + low_noise: reduce noise level from ADC,
> + low_power: enable low current consumption.
> + For a list of available output power modes read
> + in_accel_power_mode_available.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/