Home
last modified time | relevance | path

Searched hist:"12581895158 f0ff43f277d991c62ea7d0478a836" (Results 1 – 3 of 3) sorted by relevance

/rk3399_ARM-atf/include/drivers/st/
H A Dstm32_uart.h12581895158f0ff43f277d991c62ea7d0478a836 Wed Mar 02 14:29:08 UTC 2022 Patrick Delaunay <patrick.delaunay@foss.st.com> refactor(st-uart): compute the over sampling dynamically

The parameter over_sampling of stm32_uart_init_s is not required
as it can be computed dynamically from clock rate of the serial
device and the requested baudrate.

Oversampling by 8 is allowed only for higher speed
(up to clock_rate / 8) to reduce the maximum receiver tolerance
to clock deviation.

This patch update the driver, the serial init struct and the
only user, the stm32cubeprogrammer over uart support.

Change-Id: I422731089730a288defeb7fa49886db65d0902b2
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
/rk3399_ARM-atf/drivers/st/uart/
H A Dstm32_uart.c12581895158f0ff43f277d991c62ea7d0478a836 Wed Mar 02 14:29:08 UTC 2022 Patrick Delaunay <patrick.delaunay@foss.st.com> refactor(st-uart): compute the over sampling dynamically

The parameter over_sampling of stm32_uart_init_s is not required
as it can be computed dynamically from clock rate of the serial
device and the requested baudrate.

Oversampling by 8 is allowed only for higher speed
(up to clock_rate / 8) to reduce the maximum receiver tolerance
to clock deviation.

This patch update the driver, the serial init struct and the
only user, the stm32cubeprogrammer over uart support.

Change-Id: I422731089730a288defeb7fa49886db65d0902b2
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
/rk3399_ARM-atf/plat/st/common/
H A Dstm32cubeprogrammer_uart.c12581895158f0ff43f277d991c62ea7d0478a836 Wed Mar 02 14:29:08 UTC 2022 Patrick Delaunay <patrick.delaunay@foss.st.com> refactor(st-uart): compute the over sampling dynamically

The parameter over_sampling of stm32_uart_init_s is not required
as it can be computed dynamically from clock rate of the serial
device and the requested baudrate.

Oversampling by 8 is allowed only for higher speed
(up to clock_rate / 8) to reduce the maximum receiver tolerance
to clock deviation.

This patch update the driver, the serial init struct and the
only user, the stm32cubeprogrammer over uart support.

Change-Id: I422731089730a288defeb7fa49886db65d0902b2
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>