hw/char: Implement STM32L4x5 USART skeleton
commit4fb37aea7e01679db44758eb9407d5a49e3dbd7a
authorArnaud Minier <arnaud.minier@telecom-paris.fr>
Fri, 29 Mar 2024 17:43:58 +0000 (29 18:43 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 25 Apr 2024 09:21:59 +0000 (25 10:21 +0100)
treee9d4ffe2caecd64d47eed9e5ebcd9fad71e07d1f
parent631f46d4ea7cb7ac0e529aacc1e7d832473f96c3
hw/char: Implement STM32L4x5 USART skeleton

Add the basic infrastructure (register read/write, type...)
to implement the STM32L4x5 USART.

Also create different types for the USART, UART and LPUART
of the STM32L4x5 to deduplicate code and enable the
implementation of different behaviors depending on the type.

Signed-off-by: Arnaud Minier <arnaud.minier@telecom-paris.fr>
Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20240329174402.60382-2-arnaud.minier@telecom-paris.fr
[PMM: update to new reset hold method signature;
 fixed a few checkpatch nits]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
MAINTAINERS
hw/char/Kconfig
hw/char/meson.build
hw/char/stm32l4x5_usart.c [new file with mode: 0644]
hw/char/trace-events
include/hw/char/stm32l4x5_usart.h [new file with mode: 0644]