All of lore.kernel.org
 help / color / mirror / Atom feed
From: patrice.chotard at st.com <patrice.chotard@st.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v1 0/6] Update stm32x7 serial driver
Date: Wed, 27 Sep 2017 15:44:47 +0200	[thread overview]
Message-ID: <1506519893-16509-1-git-send-email-patrice.chotard@st.com> (raw)

From: Patrice Chotard <patrice.chotard@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

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

             reply	other threads:[~2017-09-27 13:44 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-27 13:44 patrice.chotard at st.com [this message]
2017-09-27 13:44 ` [U-Boot] [PATCH v1 1/6] serial: stm32x7: cleanup code patrice.chotard at st.com
2017-09-29  6:12   ` Bo Shen
2017-09-29 11:40     ` Patrice CHOTARD
2017-10-09 17:00   ` [U-Boot] [U-Boot,v1,1/6] " Tom Rini
2017-09-27 13:44 ` [U-Boot] [PATCH v1 2/6] serial: stm32x7: remove stm32f7-usart and stm32h7-usart compatible patrice.chotard at st.com
2017-10-09 17:01   ` [U-Boot] [U-Boot, v1, " Tom Rini
2017-09-27 13:44 ` [U-Boot] [PATCH v1 3/6] serial: stm32x7: prepare the ground to STM32F4 support patrice.chotard at st.com
2017-09-29  6:24   ` Bo Shen
2017-09-29 11:45     ` Patrice CHOTARD
2017-10-09 17:01   ` [U-Boot] [U-Boot, v1, " Tom Rini
2017-09-27 13:44 ` [U-Boot] [PATCH v1 4/6] serial: stm32x7: add fifo support for STM32H7 patrice.chotard at st.com
2017-10-09 17:01   ` [U-Boot] [U-Boot, v1, " Tom Rini
2017-09-27 13:44 ` [U-Boot] [PATCH v1 5/6] serial: stm32x7: add STM32F4 support patrice.chotard at st.com
2017-09-29  6:26   ` Bo Shen
2017-09-29 11:52     ` Patrice CHOTARD
2017-09-30  4:11       ` Bo Shen
2017-10-09 17:01   ` [U-Boot] [U-Boot,v1,5/6] " Tom Rini
2017-09-27 13:44 ` [U-Boot] [PATCH v1 6/6] serial: stm32x7: remove useless CONFIG_CLK and OF_CONTROL flag patrice.chotard at st.com
2017-10-09 17:01   ` [U-Boot] [U-Boot, v1, " Tom Rini
2017-09-29 17:29 ` [U-Boot] [PATCH v1 0/6] Update stm32x7 serial driver Vikas MANOCHA

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1506519893-16509-1-git-send-email-patrice.chotard@st.com \
    --to=patrice.chotard@st.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.