diff options
author | Fabrice Gasnier <fabrice.gasnier@foss.st.com> | 2021-04-13 20:40:15 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-22 13:11:25 +0300 |
commit | 2aa1bbb21f26de43b55a9d9cab9c0370c15a86ed (patch) | |
tree | 2406b41b59ee2238ad354361782291f1bd9457b3 /drivers/tty/serial/Kconfig | |
parent | 31db3ce05b1a7c045ff462761a9c6c8ebe25d620 (diff) | |
download | linux-2aa1bbb21f26de43b55a9d9cab9c0370c15a86ed.tar.xz |
serial: stm32: add FIFO threshold configuration
Add the support for two optional DT properties, to configure RX and TX
FIFO thresholds:
- rx-threshold
- tx-threshold
This replaces hard-coded 8 bytes threshold. Keep 8 as the default value if
not specified, for backward compatibility.
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Signed-off-by: Erwan Le Ray <erwan.leray@foss.st.com>
Changes in v2:
Change added properties naming as proposed by Rob Herring.
Link: https://lore.kernel.org/r/20210413174015.23011-5-erwan.leray@foss.st.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
0 files changed, 0 insertions, 0 deletions