lkml.org 
[lkml]   [2015]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/4] clk: stm32: Add clock driver for STM32F4[23]xxx devices
Date
This patchset implements a clock driver for STM32F42xxx and STM32F43xxx
series devices. It supports decoding the state configured by the
bootloader (PLL, clock select, bus dividers) and all the gates clocks.
It does not currently support the I2S and SAI PLLs.

Relies on "Add support to STMicroeletronics STM32 family" v9 by Maxime
Coquelin: http://thread.gmane.org/gmane.linux.kernel/1961049 .

For completeness I've also included a small config patch I needed to
get my board to boot once I had rebased. I suspect Maxime may have the
same patch tucked away somewhere :-).

v2:
* Move the HSE crystal frequency to stm32f429-disco.dts (was
prevsiously in stm32f429.dtsi)
* Fixed compiler warning that I overlooked the first time round.
* Removed dead code in the .dtsi file.
* Rebased on linux-next+v9 from Maxime.


Daniel Thompson (4):
ARM: stm32: Enable clock source
dt-bindings: Document the STM32F4 clock bindings
clk: stm32: Add clock driver for STM32F4[23]xxx devices
ARM: dts: stm32f429: Adopt STM32F4 clock driver

.../devicetree/bindings/clock/st,stm32-rcc.txt | 65 ++++
arch/arm/Kconfig | 1 +
arch/arm/boot/dts/stm32f429-disco.dts | 4 +
arch/arm/boot/dts/stm32f429.dtsi | 79 ++---
drivers/clk/Makefile | 1 +
drivers/clk/clk-stm32f4.c | 364 +++++++++++++++++++++
6 files changed, 459 insertions(+), 55 deletions(-)
create mode 100644 Documentation/devicetree/bindings/clock/st,stm32-rcc.txt
create mode 100644 drivers/clk/clk-stm32f4.c

--
2.1.0



\
 
 \ /
  Last update: 2015-05-30 10:01    [W:0.217 / U:32.092 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site