]> git.baikalelectronics.ru Git - kernel.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)
commit477a5c8a3062785de35a6ba6d9b14d245ea677cb
tree2e597b50fb7922d8d8bd966b1fc50c29eb40d0e0
parent578da398317bc9989bd4d7645835db1b1d313306
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