From patchwork Wed Feb 17 12:23:22 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ernst Schwab X-Patchwork-Id: 79953 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 o1HEAng2014665 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 17 Feb 2010 14:11:26 GMT Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1Nhkc1-0004fw-BY; Wed, 17 Feb 2010 14:10:45 +0000 Received: from sfi-mx-1.v28.ch3.sourceforge.com ([172.29.28.121] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1Nhkc0-0004fh-7l for spi-devel-general@lists.sourceforge.net; Wed, 17 Feb 2010 14:10:44 +0000 X-ACL-Warn: Received: from moutng.kundenserver.de ([212.227.126.187]) by sfi-mx-1.v28.ch3.sourceforge.com with esmtp (Exim 4.69) id 1Nhkbx-0002e8-3f for spi-devel-general@lists.sourceforge.net; Wed, 17 Feb 2010 14:10:43 +0000 Received: from ip065 (koln-5d811195.pool.mediaWays.net [93.129.17.149]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0LxryC-1Nn1tb3jca-015i8f; Wed, 17 Feb 2010 13:23:21 +0100 Date: Wed, 17 Feb 2010 13:23:22 +0100 From: Ernst Schwab To: Grant Likely , Kumar Gala , devicetree-discuss@lists.ozlabs.org, spi-devel-general@lists.sourceforge.net Message-Id: <20100217132322.76cea805.eschwab@online.de> In-Reply-To: <20100216201459.GA17428@pengutronix.de> References: <20100216193957.ccdffee2.eschwab@online.de> <20100216201459.GA17428@pengutronix.de> X-Mailer: Sylpheed 3.0.0beta8 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 X-Provags-ID: V01U2FsdGVkX19Pe6gw/1I3BkMms/qTlzlyuekRropLEST95Hj fXeypXdfC5G8+osk5BfYri4kTHfCQJe87vRoB2QluWaOQZW8Un gfk7NbZScQ/CP77r6kmtFDwp+lM+wqq X-Spam-Score: 0.1 (/) 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 0.1 AWL AWL: From: address is in the auto white-list X-Headers-End: 1Nhkbx-0002e8-3f Subject: [spi-devel-general] [PATCH V2] 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]); Wed, 17 Feb 2010 14:11:26 +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> + &gpio 19 1>; // device reg = <1> };