diff options
author | Irina Tirdea <irina.tirdea@intel.com> | 2015-01-11 14:10:07 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-01-27 13:49:52 -0500 |
commit | 72c66644673a61ad85d293de7a61e54b9bdc9682 (patch) | |
tree | 2e597b50fb7922d8d8bd966b1fc50c29eb40d0e0 /Documentation/ABI/testing | |
parent | 9d9f780000e0a2c2582843ee83612530a16920c8 (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-iio | 10 |
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 | |||
282 | What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale | 282 | What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale |
283 | What: /sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale | 283 | What: /sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale |
284 | What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_scale | 284 | What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_scale |
285 | What: /sys/bus/iio/devices/iio:deviceX/in_energy_scale | ||
285 | What: /sys/bus/iio/devices/iio:deviceX/in_magn_scale | 286 | What: /sys/bus/iio/devices/iio:deviceX/in_magn_scale |
286 | What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_scale | 287 | What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_scale |
287 | What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_scale | 288 | What: /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 | ||
1053 | What: /sys/.../iio:deviceX/in_energy_input | ||
1054 | What: /sys/.../iio:deviceX/in_energy_raw | ||
1055 | KernelVersion: 3.20 | ||
1056 | Contact: linux-iio@vger.kernel.org | ||
1057 | Description: | ||
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 | |||
1052 | What: /sys/bus/iio/devices/iio:deviceX/store_eeprom | 1062 | What: /sys/bus/iio/devices/iio:deviceX/store_eeprom |
1053 | KernelVersion: 3.4.0 | 1063 | KernelVersion: 3.4.0 |
1054 | Contact: linux-iio@vger.kernel.org | 1064 | Contact: linux-iio@vger.kernel.org |