Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752531AbbFJUKE (ORCPT ); Wed, 10 Jun 2015 16:10:04 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:36290 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753082AbbFJUJ5 (ORCPT ); Wed, 10 Jun 2015 16:09:57 -0400 From: Daniel Thompson To: Mike Turquette , Stephen Boyd Cc: Daniel Thompson , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Maxime Coquelin , Kamil Lulko , Andreas Farber , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH v3 0/3] clk: stm32: Add clock driver for STM32F4[23]xxx devices Date: Wed, 10 Jun 2015 21:09:35 +0100 Message-Id: <1433966978-24422-1-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 2.4.2 In-Reply-To: <1432327273-6810-1-git-send-email-daniel.thompson@linaro.org> References: <1432327273-6810-1-git-send-email-daniel.thompson@linaro.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2136 Lines: 49 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 . v3: * Fix propagation of errors from clock idx lookup function (Maxime Coquelin). * Added const to a couple of static lookup tables (Maxime Coquelin). * Fixed typo in the binding docs (Maxime Coquelin). * Removed unnecessary header files and other small code simplifications (Stephen Boyd). * Remove CLK_IS_BASIC from the APB clock "multipliers" and improved commenting for the implementation (Stephen Boyd) * Fixed missing const and misplaced __initdata (Stephen Boyd) * Apply relavent review comments to existing code (Stephen Boyd) 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 (3): 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/boot/dts/stm32f429-disco.dts | 4 + arch/arm/boot/dts/stm32f429.dtsi | 79 ++--- drivers/clk/Makefile | 1 + drivers/clk/clk-stm32f4.c | 379 +++++++++++++++++++++ 5 files changed, 473 insertions(+), 55 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/st,stm32-rcc.txt create mode 100644 drivers/clk/clk-stm32f4.c -- 2.4.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/