[PATCH] of: added documentation for spi chipselects, follow-up patch

Ernst Schwab eschwab at online.de
Thu Feb 18 01:15:18 EST 2010


From: Ernst Schwab <eschwab at online.de>

Improved comments and formatting of devicetree binding documentation 
for gpios used as chipselect. 

Signed-off-by: Ernst Schwab <eschwab at online.de>
Reviewed-by: Wolfram Sang <w.sang at pengutronix.de>
---
Wolfram Sang <w.sang at pengutronix.de> wrote:

> Hmm, as Grant merged the original patch already, it might be necessary to
> convert this into a follow-up patch. He will surely tell you. For both
> versions, you can add my
> 
> Reviewed-by: Wolfram Sang <w.sang at pengutronix.de>

Ok, I understand - I have to get used to it...

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=<index> in the SPI child nodes.
+- gpios : specifies the gpio pins to be used for chipselects.
+  The gpios will be referred to as reg = <index> 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>
 	};





More information about the devicetree-discuss mailing list