summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sirf/clk-atlas7.c
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2015-06-10 22:09:37 +0200
committerStephen Boyd <sboyd@codeaurora.org>2015-06-23 01:17:01 +0200
commit358bdf892f6bfacf20884b54a35ab038321f06f9 (patch)
treec4505e8178f562ebf7798a38cd03226f1c6e8cfb /drivers/clk/sirf/clk-atlas7.c
parentdt-bindings: Document the STM32F4 clock bindings (diff)
downloadlinux-358bdf892f6bfacf20884b54a35ab038321f06f9.tar.xz
linux-358bdf892f6bfacf20884b54a35ab038321f06f9.zip
clk: stm32: Add clock driver for STM32F4[23]xxx devices
The driver supports decoding and statically modelling PLL state (i.e. we inherit state from bootloader) and provides support for all peripherals that support simple one-bit gated clocks. The covers all peripherals whose clocks come from the AHB, APB1 or APB2 buses. It has been tested on an STM32F429I-Discovery board. The clock counts for TIM2, USART1 and SYSTICK are all set correctly and the wall clock looks OK when checked with a stopwatch. I have also tested a prototype driver for the RNG hardware. The RNG clock is correctly enabled by the framework (also did inverse test and proved that by changing DT to configure the wrong clock bit then we observe the RNG driver to fail). Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> Reviewed-by: Maxime Coquelin <mcoquelin.stm32@gmail.com> [sboyd@codeaurora.org: Silence sparse warnings] Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/sirf/clk-atlas7.c')
0 files changed, 0 insertions, 0 deletions