From patchwork Fri Feb 20 18:01:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Coquelin X-Patchwork-Id: 442090 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 87E1314017C for ; Sat, 21 Feb 2015 05:05:57 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754903AbbBTSB5 (ORCPT ); Fri, 20 Feb 2015 13:01:57 -0500 Received: from mail-wg0-f65.google.com ([74.125.82.65]:64542 "EHLO mail-wg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754853AbbBTSBz (ORCPT ); Fri, 20 Feb 2015 13:01:55 -0500 Received: by mail-wg0-f65.google.com with SMTP id k14so4321774wgh.0; Fri, 20 Feb 2015 10:01:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=n4SBXwWLOSb0nl8RV4byvhy6Cgw9zQaOMFtDKQg8XwE=; b=BoHNEgzmth/G4jeF63a7xrXOkszvUcxzaDwXG3du0QMa+fnc/QkureQggBroBTymdx gkPSV3iXHazjGaQmbduJmBdH0N7/smPzksiEOa3GtzkTw5WezIyuun2q3opRv7A7vNWp OZQIzzWsjTsRQlD1rOzxgzP2Ick1KOTncVbn8BeJRTTHhwJWN5vA/0PaNXmsKk1Yyj5o S6WkVJX0P0CAblRt5A/+ZWX2Uy+w5EzM5vut29bglNVkyA/SmB83nUQFK93Bb21ZmPSy 2NGCSTgi0Ty09SjV+w0hcR8u4p0PmKcQL0xbTYuXVPzeoQnu7MFXrMbWIRE6EbpKPLaA 4rKg== X-Received: by 10.180.82.129 with SMTP id i1mr17925049wiy.77.1424455311985; Fri, 20 Feb 2015 10:01:51 -0800 (PST) Received: from lmecul0520.st.com. (169.20.90.92.rev.sfr.net. [92.90.20.169]) by mx.google.com with ESMTPSA id hs7sm3398370wib.4.2015.02.20.10.01.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Feb 2015 10:01:51 -0800 (PST) From: Maxime Coquelin To: u.kleine-koenig@pengutronix.de, afaerber@suse.de, geert@linux-m68k.org, Rob Herring , Philipp Zabel , Jonathan Corbet , Maxime Coquelin , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Daniel Lezcano , Thomas Gleixner , Linus Walleij , Greg Kroah-Hartman , Jiri Slaby , Arnd Bergmann , Andrew Morton , "David S. Miller" , Mauro Carvalho Chehab , Joe Perches , Antti Palosaari , Tejun Heo , Will Deacon , Nikolay Borisov , Rusty Russell , Kees Cook , Michal Marek , linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-serial@vger.kernel.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org Subject: [PATCH v2 08/18] dt-bindings: Document the STM32 timer bindings Date: Fri, 20 Feb 2015 19:01:07 +0100 Message-Id: <1424455277-29983-9-git-send-email-mcoquelin.stm32@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1424455277-29983-1-git-send-email-mcoquelin.stm32@gmail.com> References: <1424455277-29983-1-git-send-email-mcoquelin.stm32@gmail.com> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This adds documentation of device tree bindings for the STM32 timer. Signed-off-by: Maxime Coquelin --- .../devicetree/bindings/timer/st,stm32-timer.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/st,stm32-timer.txt diff --git a/Documentation/devicetree/bindings/timer/st,stm32-timer.txt b/Documentation/devicetree/bindings/timer/st,stm32-timer.txt new file mode 100644 index 0000000..7fffcd8 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/st,stm32-timer.txt @@ -0,0 +1,19 @@ +. STMicroelectronics STM32 timer + +The STM32 MCUs family has several general-purpose 16 and 32 bits timers. + +Required properties: +- compatible : Should be st,stm32-timer" +- reg : Address and length of the register set +- clocks : Reference on the timer input clock +- interrupts : Reference to the timer interrupt + +Example: + +timer5: timer@40000c00 { + compatible = "st,stm32-timer"; + reg = <0x40000c00 0x400>; + interrupts = <50>; + resets = <&reset_apb1 3>; + clocks = <&clk_pmtr1>; +};