zephyr/drivers/serial
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 serial: RV32M1: introduce lpuart driver / DT bindings 2019-01-25 11:59:46 -05:00
Kconfig kconfig: drivers: serial: Remove redundant dependencies 2019-03-09 09:57:17 -05:00
Kconfig.altera_jtag kconfig: Remove blank lines at the beginning/end of files 2019-03-13 07:29:42 -05:00
Kconfig.cc32xx drivers: ethernet: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.cmsdk_apb drivers: uart: cmsdk_apb: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-25 08:55:06 -06:00
Kconfig.esp32 kconfig: Remove blank lines at the beginning/end of files 2019-03-13 07:29:42 -05:00
Kconfig.gecko drivers: uart_gecko: use DT_<COMPAT>_<INSTANCE>_<PROP> defines 2019-01-31 03:14:51 -06:00
Kconfig.imx drivers: ethernet: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.leuart_gecko drivers: leuart_gecko: use DT_<COMPAT>_<INSTANCE>_<PROP> defines 2019-02-01 04:18:50 -06:00
Kconfig.mcux drivers: ethernet: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.mcux_lpc_usart drivers: ethernet: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.mcux_lpsci drivers: ethernet: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.mcux_lpuart drivers: serial: Add instances to mcux lpuart shim driver 2018-09-27 05:55:55 +05:30
Kconfig.miv drivers: serial: uart_miv: Convert to use DTS 2018-11-03 06:58:23 -04:00
Kconfig.msp432p4xx drivers: ethernet: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.native_posix kconfig: drivers: serial: Remove redundant dependencies 2019-03-09 09:57:17 -05:00
Kconfig.nrfx drivers: nrfx: Add Kconfig checks for mutually exclusive peripherals 2019-03-05 13:38:18 -05:00
Kconfig.ns16550 drivers/serial: ns16550: Remove unused Kconfig symbols 2019-03-01 09:20:12 +01:00
Kconfig.nsim kconfig: drivers: serial: Remove redundant dependencies 2019-03-09 09:57:17 -05:00
Kconfig.pl011 serial: Add Support for ARM PL011 UART 2019-01-15 15:40:37 -06:00
Kconfig.psoc6 drivers: serial: Add Cypress PSoC6 UART driver 2018-09-21 18:50:59 -04:00
Kconfig.qmsi drivers: ethernet: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.rv32m1_lpuart serial: RV32M1: introduce lpuart driver / DT bindings 2019-01-25 11:59:46 -05:00
Kconfig.sam0 drivers: ethernet: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.sifive riscv: Rename the FE310 SoC to Sifive Freedom 2018-08-16 06:23:01 -07:00
Kconfig.stellaris kconfig: Hide the Stellaris serial driver on unsupported platforms 2018-12-30 16:24:50 -05:00
Kconfig.stm32 drivers/serial: stm32: Remove superfluous dependency in Kconfig 2019-01-09 08:05:24 -06:00
Kconfig.uart_sam drivers: ethernet: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.usart_sam drivers: ethernet: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
leuart_gecko.c drivers: leuart_gecko: use DT_<COMPAT>_<INSTANCE>_<PROP> defines 2019-02-01 04:18:50 -06:00
uart_altera_jtag_hal.c serial: Change poll_out signature 2018-11-29 10:18:59 -08:00
uart_cc32xx.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
uart_cmsdk_apb.c drivers: uart: cmsdk_apb: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-25 08:55:06 -06:00
uart_esp32.c serial: Change poll_out signature 2018-11-29 10:18:59 -08:00
uart_gecko.c drivers: uart_gecko: use DT_<COMPAT>_<INSTANCE>_<PROP> defines 2019-01-31 03:14:51 -06:00
uart_handlers.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
uart_imx.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
uart_mcux_lpsci.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
uart_mcux_lpuart.c drivers: serial: Fix mcux lpuart instance 2 2019-01-16 12:32:16 -06:00
uart_mcux.c drivers: serial: mcux: Introduce support for HW flow control 2019-01-30 02:53:12 -06:00
uart_miv.c drivers: serial: uart_miv: Fix trivial comment mismatch 2019-02-01 19:01:16 -05:00
uart_msp432p4xx.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
uart_native_posix.c uart: native_posix: Fix out of bounds access 2019-03-13 11:58:50 -05:00
uart_nrfx_uart.c device: Extend device_set_power_state API to support async requests 2019-03-14 14:26:15 +01:00
uart_nrfx_uarte.c drivers: serial: nrfx: Add support for UARTE2 and UARTE3 2019-01-21 10:13:34 +01:00
uart_ns16550.c uart/ns16550: Give CONFIG_NS16550_REG_SHIFT a DT_* prefix instead 2019-03-03 23:43:27 -05:00
uart_nsim.c drivers: uart_nsim: Add device tree support 2019-01-30 12:27:37 -06:00
uart_pl011.c uart: pl011: Use correct masking for ICR 2019-02-13 11:08:22 -06:00
uart_psoc6.c serial: Change poll_out signature 2018-11-29 10:18:59 -08:00
uart_qmsi.c device: Extend device_set_power_state API to support async requests 2019-03-14 14:26:15 +01:00
uart_rv32m1_lpuart.c serial: uart_rv32m1_lpuart: Fix build warnings 2019-03-02 03:51:03 +01:00
uart_sam0.c serial: uart_sam0: Don't use CONFIG_ namespace for non Kconfig 2019-02-01 19:01:16 -05:00
uart_sam.c serial: u(s)art_sam: Fixed return value of usart_sam_irq_is_pending 2019-03-07 06:24:48 -06:00
uart_sifive.c uart: sifive: Fix trivial CONFIG -> DT missed conversion 2019-01-31 11:38:40 -05:00
uart_stellaris.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
uart_stm32.c Driver: Serial STM32: Fix use of TXE IRQ 2019-01-23 04:30:58 -06:00
uart_stm32.h serial: stm32: Implement configure and config_get api calls 2019-01-16 21:49:03 -05:00
usart_mcux_lpc.c serial: Change poll_out signature 2018-11-29 10:18:59 -08:00
usart_sam.c serial: u(s)art_sam: Fixed return value of usart_sam_irq_is_pending 2019-03-07 06:24:48 -06:00