Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753974AbbDGT1Y (ORCPT ); Tue, 7 Apr 2015 15:27:24 -0400 Received: from mail-wg0-f43.google.com ([74.125.82.43]:34268 "EHLO mail-wg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753280AbbDGT1S (ORCPT ); Tue, 7 Apr 2015 15:27:18 -0400 MIME-Version: 1.0 In-Reply-To: <1428424234-28572-10-git-send-email-mcoquelin.stm32@gmail.com> References: <1428424234-28572-1-git-send-email-mcoquelin.stm32@gmail.com> <1428424234-28572-10-git-send-email-mcoquelin.stm32@gmail.com> From: Rob Herring Date: Tue, 7 Apr 2015 14:26:56 -0500 Message-ID: Subject: Re: [PATCH v6 09/15] dt-bindings: Document the STM32 USART bindings To: Maxime Coquelin Cc: =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , =?UTF-8?Q?Andreas_F=C3=A4rber?= , Geert Uytterhoeven , Rob Herring , Philipp Zabel , Linus Walleij , Arnd Bergmann , Stefan Agner , Peter Meerwald , Paul Bolle , Peter Hurley , Andy Shevchenko , Chanwoo Choi , Russell King , Daniel Lezcano , Joe Perches , Jonathan Corbet , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Thomas Gleixner , Greg Kroah-Hartman , Jiri Slaby , Andrew Morton , "David S. Miller" , Mauro Carvalho Chehab , 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" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2178 Lines: 61 On Tue, Apr 7, 2015 at 11:30 AM, Maxime Coquelin wrote: > This adds documentation of device tree bindings for the > STM32 USART > > Tested-by: Chanwoo Choi > Signed-off-by: Maxime Coquelin Acked-by: Rob Herring > --- > .../devicetree/bindings/serial/st,stm32-usart.txt | 32 ++++++++++++++++++++++ > 1 file changed, 32 insertions(+) > create mode 100644 Documentation/devicetree/bindings/serial/st,stm32-usart.txt > > diff --git a/Documentation/devicetree/bindings/serial/st,stm32-usart.txt b/Documentation/devicetree/bindings/serial/st,stm32-usart.txt > new file mode 100644 > index 0000000..8480a76 > --- /dev/null > +++ b/Documentation/devicetree/bindings/serial/st,stm32-usart.txt > @@ -0,0 +1,32 @@ > +* STMicroelectronics STM32 USART > + > +Required properties: > +- compatible: Can be either "st,stm32-usart" or "st,stm32-uart" depending on > +whether the device supports synchronous mode. > +- reg: The address and length of the peripheral registers space > +- interrupts: The interrupt line of the USART instance > +- clocks: The input clock of the USART instance > + > +Optional properties: > +- pinctrl: The reference on the pins configuration > +- auto-flow-control: bool flag to enable hardware flow control. > + > +Examples: > +usart4: serial@40004c00 { > + compatible = "st,stm32-uart"; > + reg = <0x40004c00 0x400>; > + interrupts = <52>; > + clocks = <&clk_pclk1>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_usart4>; > +}; > + > +usart2: serial@40004400 { > + compatible = "st,stm32-usart", "st,stm32-uart"; > + reg = <0x40004400 0x400>; > + interrupts = <38>; > + clocks = <&clk_pclk1>; > + auto-flow-control; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_usart2 &pinctrl_usart2_rtscts>; > +}; > -- > 1.9.1 > -- 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/