summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2011-02-14 03:20:39 +0100
committerGrant Likely <grant.likely@secretlab.ca>2011-02-22 22:59:53 +0100
commitce792580ea2ce6f7259b45124e9ccc4574c31606 (patch)
treef2ec419aade609b4e425ed4995c01ba818e363af /Documentation
parentMerge branch 'devicetree/next' into spi/next (diff)
downloadlinux-ce792580ea2ce6f7259b45124e9ccc4574c31606.tar.xz
linux-ce792580ea2ce6f7259b45124e9ccc4574c31606.zip
spi: add OpenCores tiny SPI driver
This patch adds support of OpenCores tiny SPI driver. http://opencores.org/project,tiny_spi Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/spi/spi_oc_tiny.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi_oc_tiny.txt b/Documentation/devicetree/bindings/spi/spi_oc_tiny.txt
new file mode 100644
index 000000000000..d95c0b367a04
--- /dev/null
+++ b/Documentation/devicetree/bindings/spi/spi_oc_tiny.txt
@@ -0,0 +1,12 @@
+OpenCores tiny SPI
+
+Required properties:
+- compatible : should be "opencores,tiny-spi-rtlsvn2".
+- gpios : should specify GPIOs used for chipselect.
+Optional properties:
+- clock-frequency : input clock frequency to the core.
+- baud-width: width, in bits, of the programmable divider used to scale
+ the input clock to SCLK.
+
+The clock-frequency and baud-width properties are needed only if the divider
+is programmable. They are not needed if the divider is fixed.