From patchwork Wed Feb 17 14:15:18 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ernst Schwab X-Patchwork-Id: 79954 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 o1HEFR9S018099 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 17 Feb 2010 14:16:03 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 1NhkgZ-0005At-3x; Wed, 17 Feb 2010 14:15:27 +0000 Received: from sfi-mx-4.v28.ch3.sourceforge.com ([172.29.28.124] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1NhkgX-0005Ak-Gi for spi-devel-general@lists.sourceforge.net; Wed, 17 Feb 2010 14:15:25 +0000 X-ACL-Warn: Received: from moutng.kundenserver.de ([212.227.126.171]) by sfi-mx-4.v28.ch3.sourceforge.com with esmtp (Exim 4.69) id 1NhkgW-0002uP-0m for spi-devel-general@lists.sourceforge.net; Wed, 17 Feb 2010 14:15:25 +0000 Received: from ip065 (koln-5d811195.pool.mediaWays.net [93.129.17.149]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0Luphl-1Nq29i19ur-010SHJ; Wed, 17 Feb 2010 15:15:16 +0100 Date: Wed, 17 Feb 2010 15:15:18 +0100 From: Ernst Schwab To: Wolfram Sang Message-Id: <20100217151518.42e0a5ba.eschwab@online.de> In-Reply-To: <20100217134138.GC26125@pengutronix.de> References: <20100216193957.ccdffee2.eschwab@online.de> <20100216201459.GA17428@pengutronix.de> <20100217132322.76cea805.eschwab@online.de> <20100217134138.GC26125@pengutronix.de> X-Mailer: Sylpheed 3.0.0beta8 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 X-Provags-ID: V01U2FsdGVkX18VbsT2x4Ilzt5YaKT86noIrW3jQEZRyKpg4MC p2QfViz0pLf7FU0+yig1bu4C/FDT3kNWo0RKT9lkUxuJEy5g7/ LcX/SK78h837eONkBQwlpY1KmR3Z+Xc 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: 1NhkgW-0002uP-0m Cc: spi-devel-general@lists.sourceforge.net, devicetree-discuss@lists.ozlabs.org Subject: [spi-devel-general] [PATCH] of: added documentation for spi chipselects, follow-up patch 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:16:04 +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 @@ -14,8 +14,8 @@ Required properties: 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. +- 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: @@ -26,6 +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 + gpios = <&gpio 18 1 // device reg = <0> + &gpio 19 1>; // device reg = <1> };