aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing
diff options
context:
space:
mode:
authorIrina Tirdea <irina.tirdea@intel.com>2015-01-11 14:10:07 -0500
committerJonathan Cameron <jic23@kernel.org>2015-01-27 13:49:52 -0500
commit72c66644673a61ad85d293de7a61e54b9bdc9682 (patch)
tree2e597b50fb7922d8d8bd966b1fc50c29eb40d0e0 /Documentation/ABI/testing
parent9d9f780000e0a2c2582843ee83612530a16920c8 (diff)
iio: core: Introduce ENERGY channel type
Human activity sensors report the energy burnt by the user. One of this devices is Freescale's MMA9553L (http://www.freescale.com/files/sensors/doc/ref_manual/MMA9553LSWRM.pdf) that computes the number of calories based on weight and step rate. Introduce a new channel type ENERGY to export these values. Signed-off-by: Irina Tirdea <irina.tirdea@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/ABI/testing')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-iio10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index 831db8623e4b..33118862fb8b 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -282,6 +282,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_current_scale
282What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale 282What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale
283What: /sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale 283What: /sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale
284What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_scale 284What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_scale
285What: /sys/bus/iio/devices/iio:deviceX/in_energy_scale
285What: /sys/bus/iio/devices/iio:deviceX/in_magn_scale 286What: /sys/bus/iio/devices/iio:deviceX/in_magn_scale
286What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_scale 287What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_scale
287What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_scale 288What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_scale
@@ -1049,6 +1050,15 @@ Description:
1049 For a list of available output power modes read 1050 For a list of available output power modes read
1050 in_accel_power_mode_available. 1051 in_accel_power_mode_available.
1051 1052
1053What: /sys/.../iio:deviceX/in_energy_input
1054What: /sys/.../iio:deviceX/in_energy_raw
1055KernelVersion: 3.20
1056Contact: linux-iio@vger.kernel.org
1057Description:
1058 This attribute is used to read the energy value reported by the
1059 device (e.g.: human activity sensors report energy burnt by the
1060 user). Units after application of scale are Joules.
1061
1052What: /sys/bus/iio/devices/iio:deviceX/store_eeprom 1062What: /sys/bus/iio/devices/iio:deviceX/store_eeprom
1053KernelVersion: 3.4.0 1063KernelVersion: 3.4.0
1054Contact: linux-iio@vger.kernel.org 1064Contact: linux-iio@vger.kernel.org