From mboxrd@z Thu Jan 1 00:00:00 1970 From: patrice.chotard at st.com Date: Wed, 27 Sep 2017 15:44:47 +0200 Subject: [U-Boot] [PATCH v1 0/6] Update stm32x7 serial driver Message-ID: <1506519893-16509-1-git-send-email-patrice.chotard@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 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 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