linux-stable/drivers/iio/proximity
Andreas Klinger 2251157b33 iio: srf04: add power management feature
Add suspend and resume operations for being used by optional power
management.

The suspend function is switching off an GPIO which can be used by the
hardware to switch power off. The resume function is switching the GPIO
on and sleeps an adjustable time to give the device a chance to be up
and running.

If activated the driver gets into autosuspend after some time of
inactivity.

Suggested-by: Franz Parzer <rpi-receiver@htl-steyr.ac.at>
Signed-off-by: Andreas Klinger <ak@it-klinger.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-02-14 12:08:23 +00:00
..
as3935.c iio: as3935: Drop GPIO includes 2019-12-15 11:42:15 +00:00
isl29501.c iio: light: isl29501: Simplify code to kill compiler warning 2018-09-02 09:56:49 +01:00
Kconfig iio: ping: add parallax ping sensors 2019-12-01 10:23:04 +00:00
Makefile iio: ping: add parallax ping sensors 2019-12-01 10:23:04 +00:00
mb1232.c mb1232.c: add distance iio sensor with i2c 2019-04-04 20:20:17 +01:00
ping.c iio: ping: add parallax ping sensors 2019-12-01 10:23:04 +00:00
pulsedlight-lidar-lite-v2.c iio: proximity: pulsedlight v2: Tidy up an endian issue 2019-10-18 19:57:47 +01:00
rfd77402.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 330 2019-06-05 17:37:06 +02:00
srf04.c iio: srf04: add power management feature 2020-02-14 12:08:23 +00:00
srf08.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 330 2019-06-05 17:37:06 +02:00
sx9500.c iio: proximity: sx9500: fix iio_triggered_buffer_{predisable,postenable} positions 2019-10-07 21:31:19 +01:00
vl53l0x-i2c.c iio: proximity: Add driver support for ST's VL53L0X ToF ranging sensor. 2018-09-22 16:42:56 +01:00