drivers: serial: stm32: Support for parity in DTS for STM32 uart.
Add support for devicetree property 'parity' for stm32 serial devices. Signed-off-by: Pauli Salmenrinne <susundberg@gmail.com>
This commit is contained in:
parent
18f2129895
commit
30003ffb86
5 changed files with 48 additions and 4 deletions
|
@ -19,6 +19,8 @@ struct uart_stm32_config {
|
|||
struct stm32_pclken pclken;
|
||||
/* initial hardware flow control, 1 for RTS/CTS */
|
||||
bool hw_flow_control;
|
||||
/* initial parity, 0 for none, 1 for odd, 2 for even */
|
||||
int parity;
|
||||
};
|
||||
|
||||
/* driver data */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue