public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Vikas Manocha <vikas.manocha@st.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 00/11] Extend clk_stm32f7 driver
Date: Wed, 15 Nov 2017 09:35:23 -0800	[thread overview]
Message-ID: <add0c26f-e5aa-e7ca-c457-1145d4f12a17@st.com> (raw)
In-Reply-To: <1510748093-16433-1-git-send-email-patrice.chotard@st.com>

LGTM.

Cheers,
Vikas

On 11/15/2017 04:14 AM, patrice.chotard at st.com wrote:
> From: Patrice Chotard <patrice.chotard@st.com>
> 
> It's the second step to prepare STM32F4 conversion to driver model and 
> device tree support. STM32F4 and STM32F7 RCC IPs are similar, differences
> between these 2 SoCs can be managed with different compatible string and
> allows to use a common clock driver. 
> 
> This series update the clk_stm32f7 driver :
> 	_ retrieve PWR IP base address from DT instead of using hardcoded value.
> 	_ update compatible string to manage differences between STM32F4 and
> 	  STM32F7
> 	_ introduce STM32F4 support.
> 	_ enable RCC MFD support which allows reset support for STM32F7/F4.
> 	_ add MMC clock configuration for MMC usag for STM32F4/F7.
> 	_ migrate some defines/struct to common include/stm32_rcc.h to 
> 	  factorize code between STM32F4/F7.
> 
> Patrice Chotard (11):
>   ARM: DTS: stm32: add pwrcfg node for stm32f746
>   clk: stm32f7: retrieve PWR base address from DT
>   clk: stm32f7: add dedicated STM32F7 compatible string
>   ARM: DTS: stm32: update rcc compatible for STM32F746
>   clk: stm32f7: add STM32F4 support
>   clk: stm32f7: rename clk_stm32f7.c to clk_stm32f.c
>   clk: stm32fx: migrate define from rcc.h to driver
>   configs: stm32f746-disco: enable MISC/DM_RESET/STM32_RESET and
>     STM32_RCC
>   dm: misc: bind STM32F4/F7 clock from rcc MFD driver
>   clk: clk_stm32fx: add clock configuration for mmc usage
>   stm32: migrate clock structs in include/stm32_rcc.h
> 
>  arch/arm/dts/stm32f7-u-boot.dtsi                   |   4 +
>  arch/arm/dts/stm32f746.dtsi                        |   9 +-
>  arch/arm/include/asm/arch-stm32f4/stm32.h          |  35 ---
>  arch/arm/include/asm/arch-stm32f4/stm32_pwr.h      |  23 ++
>  arch/arm/include/asm/arch-stm32f7/rcc.h            |  31 ---
>  arch/arm/include/asm/arch-stm32f7/stm32.h          |  41 ----
>  arch/arm/include/asm/arch-stm32f7/stm32_pwr.h      |  25 ++
>  arch/arm/mach-stm32/stm32f4/clock.c                |  27 +-
>  arch/arm/mach-stm32/stm32f4/timer.c                |   1 +
>  arch/arm/mach-stm32/stm32f7/timer.c                |   1 +
>  board/st/stm32f429-discovery/stm32f429-discovery.c |   1 +
>  configs/stm32f746-disco_defconfig                  |   4 +
>  drivers/clk/Kconfig                                |   8 +
>  drivers/clk/Makefile                               |   2 +-
>  drivers/clk/{clk_stm32f7.c => clk_stm32f.c}        | 272 +++++++++++++++------
>  drivers/misc/stm32_rcc.c                           |  42 +++-
>  include/dt-bindings/mfd/stm32f7-rcc.h              |   1 +
>  include/stm32_rcc.h                                |  91 +++++++
>  18 files changed, 401 insertions(+), 217 deletions(-)
>  create mode 100644 arch/arm/include/asm/arch-stm32f4/stm32_pwr.h
>  delete mode 100644 arch/arm/include/asm/arch-stm32f7/rcc.h
>  create mode 100644 arch/arm/include/asm/arch-stm32f7/stm32_pwr.h
>  rename drivers/clk/{clk_stm32f7.c => clk_stm32f.c} (56%)
>  create mode 100644 include/stm32_rcc.h
> 

      parent reply	other threads:[~2017-11-15 17:35 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-15 12:14 [U-Boot] [PATCH 00/11] Extend clk_stm32f7 driver patrice.chotard at st.com
2017-11-15 12:14 ` [U-Boot] [PATCH 01/11] ARM: DTS: stm32: add pwrcfg node for stm32f746 patrice.chotard at st.com
2017-11-30 15:33   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 02/11] clk: stm32f7: retrieve PWR base address from DT patrice.chotard at st.com
2017-11-30 15:33   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 03/11] clk: stm32f7: add dedicated STM32F7 compatible string patrice.chotard at st.com
2017-11-30 15:33   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 04/11] ARM: DTS: stm32: update rcc compatible for STM32F746 patrice.chotard at st.com
2017-11-30 15:33   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 05/11] clk: stm32f7: add STM32F4 support patrice.chotard at st.com
2017-11-30 15:33   ` [U-Boot] [U-Boot,05/11] " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 06/11] clk: stm32f7: rename clk_stm32f7.c to clk_stm32f.c patrice.chotard at st.com
2017-11-30 15:33   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 07/11] clk: stm32fx: migrate define from rcc.h to driver patrice.chotard at st.com
2017-11-30 15:34   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 08/11] configs: stm32f746-disco: enable MISC/DM_RESET/STM32_RESET and STM32_RCC patrice.chotard at st.com
2017-11-30 15:34   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 09/11] dm: misc: bind STM32F4/F7 clock from rcc MFD driver patrice.chotard at st.com
2017-11-30 15:34   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 10/11] clk: clk_stm32fx: add clock configuration for mmc usage patrice.chotard at st.com
2017-11-30 15:34   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 11/11] stm32: migrate clock structs in include/stm32_rcc.h patrice.chotard at st.com
2017-11-30 15:34   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 17:35 ` Vikas Manocha [this message]

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=add0c26f-e5aa-e7ca-c457-1145d4f12a17@st.com \
    --to=vikas.manocha@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox