zephyr/drivers/pwm
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
..
CMakeLists.txt drivers/pwm: Driver for SiFive PWM peripheral 2019-02-08 09:09:35 -06:00
Kconfig drivers/pwm: Driver for SiFive PWM peripheral 2019-02-08 09:09:35 -06:00
Kconfig.dw kconfig: pwm: Remove redundant deps. and clean up a bit 2019-03-01 13:50:06 -06:00
Kconfig.esp32 kconfig: drivers: pwm: Remove redundant deps. 2019-03-09 10:04:19 -05:00
Kconfig.imx kconfig: pwm: Remove redundant deps. and clean up a bit 2019-03-01 13:50:06 -06:00
Kconfig.mcux_ftm Kconfig: Use a short, consistent style for prompts 2018-08-15 04:10:10 -07:00
Kconfig.nrf5_sw drivers: pwm: nrf: Migrate SW PWM Kconfig options to DT 2019-03-12 13:34:01 +01:00
Kconfig.nrfx kconfig: Remove blank lines at the beginning/end of files 2019-03-13 07:29:42 -05:00
Kconfig.pca9685 kconfig: drivers: pwm: Remove redundant deps. 2019-03-09 10:04:19 -05:00
Kconfig.qmsi kconfig: pwm: Remove redundant deps. and clean up a bit 2019-03-01 13:50:06 -06:00
Kconfig.sam kconfig: pwm: Remove redundant deps. and clean up a bit 2019-03-01 13:50:06 -06:00
Kconfig.sifive kconfig: pwm: Remove redundant deps. and clean up a bit 2019-03-01 13:50:06 -06:00
Kconfig.stm32 kconfig: pwm: Remove redundant deps. and clean up a bit 2019-03-01 13:50:06 -06:00
pwm_dw.c drivers: Remove board.h include 2018-11-01 13:21:11 -04:00
pwm_handlers.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
pwm_imx.c driver: pwm: use new logger 2018-10-08 17:49:12 -04:00
pwm_led_esp32.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
pwm_mcux_ftm.c pwm: pwm_mcux_ftm: Fixed missed CONFIG_ -> DT_ conversion 2019-02-01 19:01:16 -05:00
pwm_nrf5_sw.c drivers: pwm: nrf: Migrate SW PWM Kconfig options to DT 2019-03-12 13:34:01 +01:00
pwm_nrfx.c device: Extend device_set_power_state API to support async requests 2019-03-14 14:26:15 +01:00
pwm_pca9685.c drivers: Modify drivers to use DEVICE_AND_API_INIT() 2019-01-15 10:39:34 -08:00
pwm_pca9685.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
pwm_qmsi.c device: Extend device_set_power_state API to support async requests 2019-03-14 14:26:15 +01:00
pwm_sam.c drivers: add Atmel SAM PWM driver 2019-02-08 06:55:14 -06:00
pwm_sifive.c pwm: pwm_sifive: Fix LOG Kconfig typo 2019-02-12 07:50:06 -05:00
pwm_stm32.c drivers: stm32: check clock_control_on return value 2018-12-07 11:31:48 -05:00
pwm_stm32.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00