Re: [PATCHv2 1/2] iio: Documentation: Add proximity unit

From: Jonathan Cameron
Date: Sat Jan 14 2017 - 07:58:18 EST


On 11/01/17 15:51, Enric Balletbo i Serra wrote:
> To follow iio guidelines Where possible we stick to the raw SI unit, so
> specify meters for proximity.
>
> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@xxxxxxxxxxxxx>
Please remember to add a change log to later versions of patch sets.
Saves reviewers who typically have the memory of goldfish (well I do
anyway) having to read old emails to check what they found last time!

This patch is fine on it's own. Effectively allows us to drop the
custom attribute description in sysfs-bus-iio-proximit-as3935 as well.
(Matt cc'd)

Applied to the togreg branch of iio.git.

Thanks,

Jonathan

> ---
> Documentation/ABI/testing/sysfs-bus-iio | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> index b8f220f..1bd8ed1 100644
> --- a/Documentation/ABI/testing/sysfs-bus-iio
> +++ b/Documentation/ABI/testing/sysfs-bus-iio
> @@ -1245,7 +1245,8 @@ Description:
> reflectivity of infrared or ultrasound emitted.
> Often these sensors are unit less and as such conversion
> to SI units is not possible. Higher proximity measurements
> - indicate closer objects, and vice versa.
> + indicate closer objects, and vice versa. Units after
> + application of scale and offset are meters.
>
> What: /sys/.../iio:deviceX/in_illuminance_input
> What: /sys/.../iio:deviceX/in_illuminance_raw
>