summaryrefslogtreecommitdiff
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorBastian Hecht <hechtb@gmail.com>2012-12-12 15:54:48 +0400
committerGrant Likely <grant.likely@secretlab.ca>2013-02-05 16:26:58 +0400
commitcf9c86efecf9510e62388fd174cf607671c59fa3 (patch)
treee5ab65e1d3b2b3e3aba31cfe7262334820c7ecd2 /Documentation/devicetree
parentaae7147dfc522062b3448f67f5517d32fbdab1fb (diff)
downloadlinux-cf9c86efecf9510e62388fd174cf607671c59fa3.tar.xz
spi/sh-msiof: Add device tree parsing to driver
This adds the capability to retrieve setup data from the device tree node. The usage of platform data is still available. Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/spi/sh-msiof.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/sh-msiof.txt b/Documentation/devicetree/bindings/spi/sh-msiof.txt
new file mode 100644
index 000000000000..e6222106ca36
--- /dev/null
+++ b/Documentation/devicetree/bindings/spi/sh-msiof.txt
@@ -0,0 +1,12 @@
+Renesas MSIOF spi controller
+
+Required properties:
+- compatible : "renesas,sh-msiof" for SuperH or
+ "renesas,sh-mobile-msiof" for SH Mobile series
+- reg : Offset and length of the register set for the device
+- interrupts : interrupt line used by MSIOF
+
+Optional properties:
+- num-cs : total number of chip-selects
+- renesas,tx-fifo-size : Overrides the default tx fifo size given in words
+- renesas,rx-fifo-size : Overrides the default rx fifo size given in words