From: Ernst Schwab <[email protected]> Improved comments and formatting of devicetree binding documentation for gpios used as chipselect.
Signed-off-by: Ernst Schwab <[email protected]> Reviewed-by: Wolfram Sang <[email protected]> --- Wolfram Sang <[email protected]> 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 <[email protected]> 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> }; ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ spi-devel-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spi-devel-general
