zephyr/soc
Daniel Leung 2ac3a85273 soc: mec1501: wait for UART FIFO clear before deep sleep
It is observed that after each test, weird characters appear on
console. This problem goes away if deep sleep is disabled.
The theory is that the CPU runs to deep sleep (_sys_suspend())
faster than UART can shift all the bits out. If we spin wait
for UART FIFO to clear, this is no longer an issue. This is
circumstantial evidence to the theory. So for now, put in
a workaround to spin wait for UART FIFO to clear before
going into deep sleep.

Relates to #22885

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2020-02-28 20:18:13 +02:00
..
arc kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
arm soc: mec1501: wait for UART FIFO clear before deep sleep 2020-02-28 20:18:13 +02:00
nios2 kconfig: Replace defconfig singe-symbol 'if's with 'depends on' 2020-02-12 10:32:13 -06:00
posix kconfig: Replace defconfig singe-symbol 'if's with 'depends on' 2020-02-12 10:32:13 -06:00
riscv kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
x86 kconfig: Replace defconfig singe-symbol 'if's with 'depends on' 2020-02-12 10:32:13 -06:00
xtensa kconfig: Replace defconfig singe-symbol 'if's with 'depends on' 2020-02-12 10:32:13 -06:00
Kconfig soc: kconfig: add SOC_DEPRECATED_RELEASE 2020-01-13 10:21:12 -05:00