Skip to content
Snippets Groups Projects
Commit 1afcf9cb authored by Patrice Chotard's avatar Patrice Chotard Committed by Tom Rini
Browse files

serial: stm32x7: simplify baud rate register calculation


Simplify baud rate register formula and use the oversampling
uart feature.
This code is aligned with what is implemented in kernel driver
drivers/tty/serial/stm32-usart.c since kernel v4.9.

Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
Reviewed-by: default avatarChristophe KERELLO <christophe.kerello@st.com>
Reviewed-by: default avatarPatrick DELAUNAY <patrick.delaunay@st.com>
Acked-by: default avatarVikas MANOCHA <vikas.manocha@st.com>
parent 1113ad49
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment