commit | 72c66644673a61ad85d293de7a61e54b9bdc9682 | [log] [tgz] |
---|---|---|
author | Irina Tirdea <irina.tirdea@intel.com> | Sun Jan 11 21:10:07 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Tue Jan 27 18:49:52 2015 +0000 |
tree | 2e597b50fb7922d8d8bd966b1fc50c29eb40d0e0 | |
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>