zephyr/drivers/sensor
Ramakrishna Pallala e1639b5345 device: Extend device_set_power_state API to support async requests
The existing device_set_power_state() API works only in synchronous
mode and this is not desirable for devices(ex: Gyro) which take
longer time (few 100 mSec) to suspend/resume.

To support async mode, a new callback argument is added to the API.
The device drivers can asynchronously suspend/resume and call the
callback function upon completion of the async request.

This commit adds the missing callback parameter to all the drivers
to make it compliant with the new API.

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
2019-03-14 14:26:15 +01:00
..
adt7420 sensor: adt7420: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-30 08:08:03 -06:00
adxl362 drivers: sensor: Convert adxl362 to device tree 2018-11-14 23:54:57 -05:00
adxl372 sensors: adxl372: Fixup SPI CS handling 2019-02-06 14:01:51 -06:00
ak8975 drivers: sensor: Migrate to new logger 2018-10-16 08:49:53 -04:00
amg88xx drivers: sensor: Migrate to new logger 2018-10-16 08:49:53 -04:00
apds9960 device: Extend device_set_power_state API to support async requests 2019-03-14 14:26:15 +01:00
bma280 drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
bmc150_magn drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
bme280 sensor: bme280: Converting to using device tree 2019-01-16 12:39:37 -06:00
bmg160 drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
bmi160 sensor: bmi160: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-18 12:53:53 -06:00
bmm150 drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
ccs811 sensor: ccs811: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-30 02:53:35 -06:00
dht drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
fxas21002 sensor: fxas21002: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-18 08:54:31 -06:00
fxos8700 sensor: fxos8700: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-17 13:29:46 -06:00
grove kconfig: drivers: sensor: Remove redundant dependencies 2019-03-09 09:57:44 -05:00
hdc1008 drivers: hdc1008: add macros for manufacturer and device IDs 2019-01-26 12:08:52 -05:00
hmc5883l drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
hp206c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
hts221 drivers: sensors: hts221: move static definition out of header 2019-01-29 17:50:02 +01:00
isl29035 drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
lis2dh sensor: lis2dh: Fix gcc8 compiler warning 2019-01-30 17:19:41 -06:00
lis2ds12 sensor: lis2ds12: Fixup SPI CS handling 2019-02-04 08:17:08 -06:00
lis2dw12 kconfig: drivers: sensor: Remove redundant dependencies 2019-03-09 09:57:44 -05:00
lis2mdl kconfig: Remove blank lines at the beginning/end of files 2019-03-13 07:29:42 -05:00
lis3mdl kconfig: Remove blank lines at the beginning/end of files 2019-03-13 07:29:42 -05:00
lps22hb driver: sensor: lps22hb: fix the temp sensor fractional value 2019-01-24 09:38:08 -06:00
lps25hb driver/sensor: lps25hb: align driver to auto-generated dts macros 2019-02-01 04:19:42 -06:00
lsm6ds0 driver/sensor: lsm6ds0: align driver to auto-generated dts macros 2019-02-01 04:19:42 -06:00
lsm6dsl sensor: lsm6dsl: Fixup SPI CS handling 2019-02-01 04:11:23 -06:00
lsm9ds0_gyro sensor: lsm9ds0: Remove unused define/Kconfig symbol 2019-01-31 09:10:29 -06:00
lsm9ds0_mfd sensor: lsm9ds0: Remove unused define/Kconfig symbol 2019-01-31 09:10:29 -06:00
lsm303dlhc_magn sensors: lsm303dlhc: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-16 21:33:16 -05:00
max30101 sensor: max30101: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-18 12:50:12 -06:00
max44009 drivers: Modify drivers to use DEVICE_AND_API_INIT() 2019-01-15 10:39:34 -08:00
mcp9808 drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
mpu6050 drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
ms5837 kconfig: Remove blank lines at the beginning/end of files 2019-03-13 07:29:42 -05:00
nrf5 drivers: nrf5: temp: Cleanup temp_nrf5.c source 2019-03-12 13:33:36 +01:00
pms7003 drivers: sensor: Migrate to new logger 2018-10-16 08:49:53 -04:00
qdec_nrfx device: Extend device_set_power_state API to support async requests 2019-03-14 14:26:15 +01:00
sht3xd drivers: sht3xd: update to new I2C API 2019-02-07 22:04:28 -05:00
sx9500 drivers: sensor: Migrate to new logger 2018-10-16 08:49:53 -04:00
th02 drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
tmp007 drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
tmp112 drivers: Modify drivers to use DEVICE_AND_API_INIT() 2019-01-15 10:39:34 -08:00
vl53l0x drivers/sensor/vl53l0x: Remove unnecessary lib include check 2019-02-19 07:48:10 -06:00
CMakeLists.txt driver/sensor: add LIS2DW12 sensor support 2019-02-08 15:22:42 -06:00
Kconfig driver/sensor: add LIS2DW12 sensor support 2019-02-08 15:22:42 -06:00
sensor_handlers.c all: Update reserved function names 2019-03-11 13:48:42 -04:00