From: Vikas MANOCHA Date: Fri, 29 Sep 2017 17:29:30 +0000 Subject: [U-Boot] [PATCH v1 0/6] Update stm32x7 serial driver In-Reply-To: <1506519893-16509-1-git-send-email-patrice.chotard@st.com> References: <1506519893-16509-1-git-send-email-patrice.chotard@st.com> Message-ID: <069cbffe0ca84479a48d329742918441@SFHDAG7NODE3.st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Patrice CHOTARD ; Patrick DELAUNAY ; Christophe KERELLO > > Subject: [PATCH v1 0/6] Update stm32x7 serial driver > > From: Patrice Chotard > > 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 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