zephyr/soc/arm/nuvoton_npcx/common
Jun Lin db74010cc7 drivers: uart: npcx: use PM constraint for the receiving
In this commit, the driver sets the PM constraint to prevent the system
from entering the suspend state for a CONFIG_UART_CONSOLE_INPUT_EXPIRED
period when data come in. The constraint releases after the
CONFIG_UART_CONSOLE_INPUT_EXPIRED time expires, .

With this change, the PM policy doesn't have to check the timestamp
by calling npcx_power_console_is_in_use() explictly. So the related
npcx_power_console_is_in_use*() functions can be removed.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
Signed-off-by: Wealian Liao <WHLIAO@nuvoton.com>
2021-12-20 17:43:58 +01:00
..
ecst
reg driver: uart_npcx: Fix uart to use PM constrain 2021-12-01 13:49:17 -06:00
CMakeLists.txt
power.c drivers: uart: npcx: use PM constraint for the receiving 2021-12-20 17:43:58 +01:00
registers.c drivers: spi: npcx: add SPI support to access the SPI flash 2021-11-01 21:48:20 -04:00
scfg.c soc: npcx: scfg: add a new function to select the host interface type 2021-08-03 13:59:42 +02:00
soc_clock.h drivers: npcx: convert NPCX drivers clock client to DEVICE_DT_GET 2021-06-27 23:02:39 -04:00
soc_dt.h soc: nuvoton_npcx: use new DT pinctrl accessors 2021-08-25 18:09:00 -04:00
soc_espi.h driver: eSPI: unify the bit fields of ACPI/KBC event data 2021-07-26 22:50:44 -04:00
soc_gpio.h
soc_host.h
soc_miwu.h
soc_pins.h soc: npcx: scfg: add a new function to select the host interface type 2021-08-03 13:59:42 +02:00
soc_power.h drivers: uart: npcx: use PM constraint for the receiving 2021-12-20 17:43:58 +01:00