drivers: serial: stm32: dts binding, and fixup for flow control

Allows to enable initial RTS/CTS hardware flow control
in the dts.

Co-authored-by: Benoit Leforestier <benoit.leforestier@gmail.com>
Signed-off-by: Georgij Cernysiov <g.cernysiov@elco-automation.de>
This commit is contained in:
Georgij Cernysiov 2019-02-08 18:39:35 +01:00 committed by Kumar Gala
commit 04da64db76
13 changed files with 63 additions and 0 deletions

View file

@ -17,6 +17,8 @@ struct uart_stm32_config {
struct uart_device_config uconf;
/* clock subsystem driving this peripheral */
struct stm32_pclken pclken;
/* initial hardware flow control, 1 for RTS/CTS */
bool hw_flow_control;
};
/* driver data */