]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(st-uart): add initialization with the device tree
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Thu, 14 Apr 2022 09:19:03 +0000 (11:19 +0200)
committerYann Gautier <yann.gautier@st.com>
Fri, 23 Sep 2022 13:17:43 +0000 (15:17 +0200)
commitd99998f76ed2e8676be25e31e9479a90c16c7098
treee6b96cc7cc640387c0ff300e9852fe381e3fa7d0
parent7d197d6281717b18906798fc8e0e42ed91df6b9b
feat(st-uart): add initialization with the device tree

Add the pincontrol configuration and clock enable in UART driver
with information found in the device tree.

This patch avoids an issue on STM32MP13x platform because the UART
configuration is reset by the ROM code for UART serial boot
(STM32MP_UART_PROGRAMMER=1).

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Change-Id: I575fd0e1026b857059abcfd4a3166eb3a239e1fd
drivers/st/uart/stm32_uart.c