From patchwork Tue Feb 16 18:39:57 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ernst Schwab X-Patchwork-Id: 79764 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1GIe8X9012736 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 16 Feb 2010 18:40:44 GMT Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1NhSL9-00010D-0O; Tue, 16 Feb 2010 18:40:07 +0000 Received: from sfi-mx-3.v28.ch3.sourceforge.com ([172.29.28.123] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1NhSL8-000108-Kt for spi-devel-general@lists.sourceforge.net; Tue, 16 Feb 2010 18:40:06 +0000 X-ACL-Warn: Received: from moutng.kundenserver.de ([212.227.17.10]) by sfi-mx-3.v28.ch3.sourceforge.com with esmtp (Exim 4.69) id 1NhSL7-0002s6-3U for spi-devel-general@lists.sourceforge.net; Tue, 16 Feb 2010 18:40:06 +0000 Received: from ip065 (koln-5d8135c9.pool.mediaWays.net [93.129.53.201]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MHMTj-1NTxnM4C8p-00DYVK; Tue, 16 Feb 2010 19:39:57 +0100 Date: Tue, 16 Feb 2010 19:39:57 +0100 From: Ernst Schwab To: Grant Likely , Kumar Gala , devicetree-discuss@lists.ozlabs.org, spi-devel-general@lists.sourceforge.net Message-Id: <20100216193957.ccdffee2.eschwab@online.de> X-Mailer: Sylpheed 3.0.0beta8 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 X-Provags-ID: V01U2FsdGVkX19+592Uh6OiWBTeOhTRghjAKnefd5lYJtYuiP8 pWY3ziyeMaQd18Yox06Vjd9k6/xzh01jAxT5RQt3OKukzFwQFk s6Qlkca/i4qpYkAdhxKejW8p2basbEW X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 SPF_HELO_PASS SPF: HELO matches SPF record X-Headers-End: 1NhSL7-0002s6-3U Subject: [spi-devel-general] [PATCH] of: added documentation for spi chipselects X-BeenThere: spi-devel-general@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux SPI core/device drivers discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces@lists.sourceforge.net X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 16 Feb 2010 18:40:44 +0000 (UTC) diff -upr a/Documentation/powerpc/dts-bindings/fsl/spi.txt b/Documentation/powerpc/dts-bindings/fsl/spi.txt --- a/Documentation/powerpc/dts-bindings/fsl/spi.txt +++ b/Documentation/powerpc/dts-bindings/fsl/spi.txt @@ -13,6 +13,11 @@ Required properties: - interrupt-parent : the phandle for the interrupt controller that services interrupts for this device. +Optional properties: +- gpios : specifies the gpio pins to be used for chipselects. + The gpios will be referred to as reg= in the SPI child nodes. + If unspecified, a single SPI device without a chip select can be used. + Example: spi@4c0 { cell-index = <0>; @@ -21,4 +26,6 @@ Example: interrupts = <82 0>; interrupt-parent = <700>; mode = "cpu"; + gpios = <&gpio 18 1 // device reg=<0>, low-active + &gpio 19 1>; // device reg=<1>, low-active };