OSDN Git Service

iio: Documentation: Add missing documentation for power attribute
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Sun, 16 Jul 2017 23:34:09 +0000 (01:34 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 17 Jul 2017 20:55:59 +0000 (21:55 +0100)
Commit c43a102e67db ("iio: ina2xx: add support for TI INA2xx Power Monitors")
introduced the in_powerY_raw attribute, but omitted the corresponding
documentation.

The description is correct for the INA2xx and the MAX9611 IIO drivers.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/ABI/testing/sysfs-bus-iio

index 2db2cdf..7eead5f 100644 (file)
@@ -119,6 +119,15 @@ Description:
                unique to allow association with event codes. Units after
                application of scale and offset are milliamps.
 
+What:          /sys/bus/iio/devices/iio:deviceX/in_powerY_raw
+KernelVersion: 4.5
+Contact:       linux-iio@vger.kernel.org
+Description:
+               Raw (unscaled no bias removal etc.) power measurement from
+               channel Y. The number must always be specified and
+               unique to allow association with event codes. Units after
+               application of scale and offset are milliwatts.
+
 What:          /sys/bus/iio/devices/iio:deviceX/in_capacitanceY_raw
 KernelVersion: 3.2
 Contact:       linux-iio@vger.kernel.org