Re: [PATCH v3 1/2] iio: resistance: Document that resistance can be output

From: Daniel Baluta
Date: Tue Sep 22 2015 - 08:48:18 EST


On Tue, Sep 22, 2015 at 3:39 PM, Peter Rosin <peda@xxxxxxxxxxxxxx> wrote:
> From: Peter Rosin <peda@xxxxxxxxxx>
>
> Signed-off-by: Peter Rosin <peda@xxxxxxxxxx>
> ---
> Documentation/ABI/testing/sysfs-bus-iio | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> index 9398484196c4..2eea468f704d 100644
> --- a/Documentation/ABI/testing/sysfs-bus-iio
> +++ b/Documentation/ABI/testing/sysfs-bus-iio
> @@ -1475,6 +1475,8 @@ Description:
>
> What: /sys/bus/iio/devices/iio:deviceX/in_resistance_raw
> What: /sys/bus/iio/devices/iio:deviceX/in_resistanceX_raw
> +What: /sys/bus/iio/devices/iio:deviceX/out_resistance_raw
> +What: /sys/bus/iio/devices/iio:deviceX/out_resistanceX_raw
> KernelVersion: 4.3
> Contact: linux-iio@xxxxxxxxxxxxxxx
> Description:

One more thing. The description for this sections says:

  Raw (unscaled no offset etc.) resistance reading that
can be processed
  into an ohm value.

I'm not sure this still holds for out_resistanceX_raw. We have two options here:

* remove 'reading' because with the out_ file we are basically setting
the resistance
raw value OR
* add a separate section for out_ files, with proper description.

Any other comments?

thanks,
Daniel.
--
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/