zephyr/drivers/serial
Gerard Marull-Paretas 5a71eeb35c pm: policy: move constraints to policy API
The pm_constraint_* APIs were effectively used by the policy manager
only. This patch renames the API to the policy namespace and makes its
naming more explicit:

- pm_constraint_set -> pm_policy_state_lock_get()
- pm_constraint_release -> pm_policy_state_lock_put()
- pm_constraint_get -> pm_policy_state_lock_is_active()

The reason for these changes is that constraints can be of many types:
allow/disallow states, impose latency requirements, etc. The new naming
also makes explicit that the API calls will influence the PM policy
behavior.

All drivers and documentation have been updated accordingly.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-16 15:26:47 +01:00
..
CMakeLists.txt drivers: serial: Added support for raspberry pi 2022-02-02 16:23:35 +01:00
Kconfig uart: logging: Add configurable log level to UART drivers 2022-03-10 13:49:43 -05:00
Kconfig.altera_jtag
Kconfig.apbuart
Kconfig.b91
Kconfig.cc13xx_cc26xx
Kconfig.cc32xx
Kconfig.cmsdk_apb
Kconfig.esp32
Kconfig.gd32
Kconfig.gecko
Kconfig.imx
Kconfig.it8xxx2
Kconfig.leuart_gecko
Kconfig.litex
Kconfig.lpc11u6x
Kconfig.mcux
Kconfig.mcux_flexcomm
Kconfig.mcux_iuart
Kconfig.mcux_lpsci
Kconfig.mcux_lpuart
Kconfig.miv
Kconfig.msp432p4xx
Kconfig.native_posix kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.neorv32
Kconfig.npcx
Kconfig.nrfx kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.ns16550 kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.numicro
Kconfig.pl011 kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.psoc6
Kconfig.rcar everywhere: fix typos 2022-03-14 20:22:24 -04:00
Kconfig.rpi_pico drivers: serial: added UART interrupts for Raspberry Pi Pico board 2022-02-05 06:18:44 -05:00
Kconfig.rtt kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.rv32m1_lpuart
Kconfig.sam0
Kconfig.sifive kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.stellaris kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.stm32
Kconfig.test
Kconfig.uart_sam
Kconfig.usart_sam
Kconfig.xec kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.xen
Kconfig.xlnx drivers: serial: xlnx_ps: update referenced SoC configuration items 2022-01-21 11:34:09 -05:00
Kconfig.xmc4xxx
leuart_gecko.c drivers: serial: drop DEV_DATA/DEV_CFG usage 2022-01-19 18:16:02 +01:00
serial_test.c
uart_altera_jtag_hal.c drivers: serial: altera_jtag: remove unused config 2022-02-21 22:02:23 -05:00
uart_apbuart.c drivers: serial: drop DEV_DATA/DEV_CFG usage 2022-01-19 18:16:02 +01:00
uart_b91.c drivers: serial: telink_b91: replace Pinmux by Pinctrl 2022-02-21 19:41:44 -05:00
uart_cc13xx_cc26xx.c pm: policy: move constraints to policy API 2022-03-16 15:26:47 +01:00
uart_cc32xx.c drivers: serial: cc32xx: drop usage of uart_device_config 2022-02-21 22:02:23 -05:00
uart_cmsdk_apb.c drivers: serial: cmsdk_apb: drop usage of uart_device_config 2022-02-21 22:02:23 -05:00
uart_esp32.c drivers: uart: esp32: fix driver initialization id number 2022-02-21 22:12:55 -05:00
uart_gecko.c
uart_handlers.c
uart_hvc_xen_consoleio.c
uart_hvc_xen.c uart: logging: Add configurable log level to UART drivers 2022-03-10 13:49:43 -05:00
uart_imx.c drivers: serial: fix typos 2022-03-08 10:24:23 +01:00
uart_ite_it8xxx2.c pm: policy: move constraints to policy API 2022-03-16 15:26:47 +01:00
uart_liteuart.c drivers: remove redundant data/config casts 2022-01-19 18:16:02 +01:00
uart_lpc11u6x.c drivers: serial: drop DEV_DATA/DEV_CFG usage 2022-01-19 18:16:02 +01:00
uart_lpc11u6x.h drivers: serial: fix typos 2022-03-08 10:24:23 +01:00
uart_mchp_xec.c serial: update mchp uart module to use pinctrl 2022-03-07 11:03:06 +01:00
uart_mcux_flexcomm.c
uart_mcux_iuart.c drivers: serial: drop DEV_DATA/DEV_CFG usage 2022-01-19 18:16:02 +01:00
uart_mcux_lpsci.c
uart_mcux_lpuart.c pm: policy: move constraints to policy API 2022-03-16 15:26:47 +01:00
uart_mcux.c drivers: serial: Add pinctrl support to mcux uart driver 2022-03-03 13:00:20 -06:00
uart_miv.c drivers: serial: drop DEV_DATA/DEV_CFG usage 2022-01-19 18:16:02 +01:00
uart_msp432p4xx.c drivers: serial: msp432p4xx: drop usage of uart_device_config 2022-02-21 22:02:23 -05:00
uart_native_posix.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
uart_neorv32.c uart: logging: Add configurable log level to UART drivers 2022-03-10 13:49:43 -05:00
uart_npcx.c pm: policy: move constraints to policy API 2022-03-16 15:26:47 +01:00
uart_nrfx_uart.c drivers: serial: nrfx: Ensure that instances have some pins assigned 2022-03-09 12:05:22 +01:00
uart_nrfx_uarte.c uart: logging: Add configurable log level to UART drivers 2022-03-10 13:49:43 -05:00
uart_ns16550.c pm: policy: move constraints to policy API 2022-03-16 15:26:47 +01:00
uart_ns16550.h
uart_numicro.c drivers: serial: numicro: drop usage of uart_device_config 2022-02-21 22:02:23 -05:00
uart_pl011.c drivers: serial: fix typos 2022-03-08 10:24:23 +01:00
uart_psoc6.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
uart_rcar.c drivers: serial: rcar: drop DEV_DATA/DEV_CFG usage 2022-02-21 20:49:41 -05:00
uart_rpi_pico.c drivers: serial: rpi_pico: replaced high level API functions 2022-02-05 06:18:44 -05:00
uart_rtt.c drivers: serial: drop get_dev_data/get_dev_config usage 2022-01-19 18:16:02 +01:00
uart_rv32m1_lpuart.c
uart_sam0.c kernel: workq: Fix type errors in delayable work handlers 2022-02-02 18:43:12 -05:00
uart_sam.c drivers: serial: atmel_sam: Fix api to work with modbus 2022-02-01 16:19:24 -05:00
uart_sifive.c drivers: serial: drop DEV_DATA/DEV_CFG usage 2022-01-19 18:16:02 +01:00
uart_stellaris.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
uart_stm32.c pm: policy: move constraints to policy API 2022-03-16 15:26:47 +01:00
uart_stm32.h pm: policy: move constraints to policy API 2022-03-16 15:26:47 +01:00
uart_xlnx_ps.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
uart_xlnx_uartlite.c
uart_xmc4xxx.c drivers: serial: xmc4xxx: drop usage of uart_device_config 2022-02-21 22:02:23 -05:00
usart_gd32.c
usart_sam.c drivers: serial: atmel_sam: Fix api to work with modbus 2022-02-01 16:19:24 -05:00