[U-Boot] [PATCH v1 0/6] Update stm32x7 serial driver

Vikas MANOCHA vikas.manocha at st.com
Fri Sep 29 17:29:30 UTC 2017


Hi,

> -----Original Message-----
> From: Patrice CHOTARD
> Sent: Wednesday, September 27, 2017 6:45 AM
> To: u-boot at lists.denx.de; albert.u.boot at aribaud.net; sjg at chromium.org; Vikas MANOCHA <vikas.manocha at st.com>
> Cc: Patrice CHOTARD <patrice.chotard at st.com>; Patrick DELAUNAY <patrick.delaunay at st.com>; Christophe KERELLO
> <christophe.kerello at st.com>
> Subject: [PATCH v1 0/6] Update stm32x7 serial driver
> 
> From: Patrice Chotard <patrice.chotard at st.com>
> 
> This series update the serial_stm32x7 driver used by both STM32F7 and STM32H7 SoCs :
> 	_ clean the code by using BIT and GENMASK macro
> 	_ remove useless CLK and OF_CONTROL flags
> 	_ add fifo support for H7
> 	_ introduce STM32F4 support
> 
> Currently, STM32F4 uses a dedicated serial driver drivers/serial/serial_stm32.c.
> whereas STM32F7 and STM32H7 uses drivers/serial/serial/serial_stm32x7.c .
> There is no reason to have 2 separate serial driver for STM32 SoCs family.
> 
> It's the first step to prepare STM32F4 conversion to driver model and device tree support. Hence this conversion will be done,
> serial_stm32x7.c driver will support alls SoCs (ie F4/F7 and H7) it will be then renamed with the generic name serial_stm32.c

For all series:
Reviewed-by: Vikas Manocha <vikas.manocha at st.com>

Cheers,
Vikas

> 
> Patrice Chotard (6):
>   serial: stm32x7: cleanup code
>   serial: stm32x7: remove stm32f7-usart and stm32h7-usart compatible
>   serial: stm32x7: prepare the ground to STM32F4 support
>   serial: stm32x7: add fifo support for STM32H7
>   serial: stm32x7: add STM32F4 support
>   serial: stm32x7: remove useless CONFIG_CLK and OF_CONTROL flag
> 
>  arch/arm/dts/stm32h743.dtsi     |  4 +-
>  drivers/serial/Kconfig          |  4 +-
>  drivers/serial/serial_stm32x7.c | 84 ++++++++++++++++++++++-------------------
>  drivers/serial/serial_stm32x7.h | 71 +++++++++++++++++++++++-----------
>  4 files changed, 99 insertions(+), 64 deletions(-)
> 
> --
> 1.9.1



More information about the U-Boot mailing list