From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753996AbbFIMRV (ORCPT ); Tue, 9 Jun 2015 08:17:21 -0400 Received: from eusmtp01.atmel.com ([212.144.249.242]:48832 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751956AbbFIMRO (ORCPT ); Tue, 9 Jun 2015 08:17:14 -0400 Message-ID: <5576D8FB.2050906@atmel.com> Date: Tue, 9 Jun 2015 14:15:55 +0200 From: Nicolas Ferre Organization: atmel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Cyrille Pitchen , , CC: , , , , , , , Subject: Re: [PATCH v3 2/3] spi: atmel: update DT bindings documentation References: In-Reply-To: Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.161.30.18] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 09/06/2015 13:53, Cyrille Pitchen a écrit : > - add new property "atmel,fifo-size" > - change "cs-gpios" to optional for SPI controller version >= 2. > > Signed-off-by: Cyrille Pitchen Acked-by: Nicolas Ferre > --- > Documentation/devicetree/bindings/spi/spi_atmel.txt | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/spi/spi_atmel.txt b/Documentation/devicetree/bindings/spi/spi_atmel.txt > index 4f8184d..fb588b3 100644 > --- a/Documentation/devicetree/bindings/spi/spi_atmel.txt > +++ b/Documentation/devicetree/bindings/spi/spi_atmel.txt > @@ -4,11 +4,16 @@ Required properties: > - compatible : should be "atmel,at91rm9200-spi". > - reg: Address and length of the register set for the device > - interrupts: Should contain spi interrupt > -- cs-gpios: chipselects > +- cs-gpios: chipselects (optional for SPI controller version >= 2 with the > + Chip Select Active After Transfer feature). > - clock-names: tuple listing input clock names. > Required elements: "spi_clk" > - clocks: phandles to input clocks. > > +Optional properties: > +- atmel,fifo-size: maximum number of data the RX and TX FIFOs can store for FIFO > + capable SPI controllers. > + > Example: > > spi1: spi@fffcc000 { > @@ -20,6 +25,7 @@ spi1: spi@fffcc000 { > clocks = <&spi1_clk>; > clock-names = "spi_clk"; > cs-gpios = <&pioB 3 0>; > + atmel,fifo-size = <32>; > status = "okay"; > > mmc-slot@0 { > -- Nicolas Ferre