diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2011-02-13 21:20:39 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-02-22 16:59:53 -0500 |
commit | ce792580ea2ce6f7259b45124e9ccc4574c31606 (patch) | |
tree | f2ec419aade609b4e425ed4995c01ba818e363af /Documentation | |
parent | 9bde36afcaf0ec2ad9f03974da41875c759a4fe8 (diff) |
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.txt | 12 |
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 @@ | |||
1 | OpenCores tiny SPI | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : should be "opencores,tiny-spi-rtlsvn2". | ||
5 | - gpios : should specify GPIOs used for chipselect. | ||
6 | Optional properties: | ||
7 | - clock-frequency : input clock frequency to the core. | ||
8 | - baud-width: width, in bits, of the programmable divider used to scale | ||
9 | the input clock to SCLK. | ||
10 | |||
11 | The clock-frequency and baud-width properties are needed only if the divider | ||
12 | is programmable. They are not needed if the divider is fixed. | ||