summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/da9062-thermal.c
diff options
context:
space:
mode:
authorSherry Sun <sherry.sun@nxp.com>2022-12-14 11:11:35 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-19 15:05:36 +0100
commitc4c81db5cf8bc53d6160c3abf26d382c841aa434 (patch)
treed459ebdbb6e205d72fb86eb60a5a8e6dba05d096 /drivers/thermal/da9062-thermal.c
parent4029dfc034febb54f6dd8ea83568accc943bc088 (diff)
downloadlinux-stable-c4c81db5cf8bc53d6160c3abf26d382c841aa434.tar.gz
linux-stable-c4c81db5cf8bc53d6160c3abf26d382c841aa434.tar.bz2
linux-stable-c4c81db5cf8bc53d6160c3abf26d382c841aa434.zip
tty: serial: fsl_lpuart: disable the CTS when send break signal
LPUART IP has a bug that it treats the CTS as higher priority than the break signal, which cause the break signal sending through UARTCTRL_SBK may impacted by the CTS input if the HW flow control is enabled. Add this workaround patch to fix the IP bug, we can disable CTS before asserting SBK to avoid any interference from CTS, and re-enable it when break off. Such as for the bluetooth chip power save feature, host can let the BT chip get into sleep state by sending a UART break signal, and wake it up by turning off the UART break. If the BT chip enters the sleep mode successfully, it will pull up the CTS line, if the BT chip is woken up, it will pull down the CTS line. If without this workaround patch, the UART TX pin cannot send the break signal successfully as it affected by the BT CTS pin. After adding this patch, the BT power save feature can work well. Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Link: https://lore.kernel.org/r/20221214031137.28815-2-sherry.sun@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/thermal/da9062-thermal.c')
0 files changed, 0 insertions, 0 deletions