]> git.karo-electronics.de Git - linux-beck.git/commit
iio: core: Introduce ENERGY channel type
authorIrina Tirdea <irina.tirdea@intel.com>
Sun, 11 Jan 2015 19:10:07 +0000 (21:10 +0200)
committerJonathan Cameron <jic23@kernel.org>
Tue, 27 Jan 2015 18:49:52 +0000 (18:49 +0000)
commit72c66644673a61ad85d293de7a61e54b9bdc9682
tree2e597b50fb7922d8d8bd966b1fc50c29eb40d0e0
parent9d9f780000e0a2c2582843ee83612530a16920c8
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>
Documentation/ABI/testing/sysfs-bus-iio
drivers/iio/industrialio-core.c
include/linux/iio/types.h