aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2011-02-14 10:20:39 +0800
committerGrant Likely <grant.likely@secretlab.ca>2011-02-22 14:59:53 -0700
commitce792580ea2ce6f7259b45124e9ccc4574c31606 (patch)
treef2ec419aade609b4e425ed4995c01ba818e363af /Documentation
parent9bde36afcaf0ec2ad9f03974da41875c759a4fe8 (diff)
downloadkernel_samsung_smdk4412-ce792580ea2ce6f7259b45124e9ccc4574c31606.tar.gz
kernel_samsung_smdk4412-ce792580ea2ce6f7259b45124e9ccc4574c31606.tar.bz2
kernel_samsung_smdk4412-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 00000000000..d95c0b367a0
--- /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.