linux/drivers/iio/accel
Irina Tirdea 6da93a6710 iio: accel: mma9551: Add runtime pm support
Add support for runtime pm to reduce the power consumed by the device
when not used.

If CONFIG_PM is not enabled, the device will be powered on at
init and only powered off on system suspend.

If CONFIG_PM is enabled, runtime pm autosuspend is used:
- for raw reads will keep the device on for a specified time
- for events it will keep the device on as long as we have at least
one event active

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Reviewed-by: Vlad Dogaru <vlad.dogaru@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-01-27 18:49:56 +00:00
..
bma180.c staging: iio: fix up merge error 2014-09-22 07:54:10 -07:00
bmc150-accel.c Merge branch 'pm-runtime' 2014-12-08 20:00:44 +01:00
hid-sensor-accel-3d.c iio: hid-sensor-accel-3d: Introduce PM 2015-01-25 22:55:42 +00:00
Kconfig iio: accel: Annotate Kconfig entries with module name information 2015-01-01 12:13:10 +00:00
kxcjk-1013.c First round of IIO new drivers, cleanups and functionality for the 3.20 cycle take 2 2015-01-21 10:13:37 +08:00
kxsd9.c iio:accel:kxsd9 fix missing mutex unlock 2013-11-17 15:22:00 +00:00
Makefile iio: add driver for Freescale MMA9551L 2014-12-12 12:28:37 +00:00
mma8452.c iio: accel: mma8452: Remove trailing whitespace 2015-01-01 12:12:09 +00:00
mma9551.c iio: accel: mma9551: Add runtime pm support 2015-01-27 18:49:56 +00:00
st_accel_buffer.c
st_accel_core.c iio:accel: Removed unnecessary parameter on common_probe function 2014-10-04 11:24:33 +01:00
st_accel_i2c.c iio:common: Set the device pointer into ST common sensors library 2014-10-04 11:26:21 +01:00
st_accel_spi.c iio:common: Set the device pointer into ST common sensors library 2014-10-04 11:26:21 +01:00
st_accel.h iio:accel: Removed unnecessary parameter on common_probe function 2014-10-04 11:24:33 +01:00