summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorBenoit Cousson <b-cousson@ti.com>2012-02-15 18:37:34 +0100
committerGrant Likely <grant.likely@secretlab.ca>2012-02-15 12:57:00 -0700
commitd5a8003135da7afe311e4e13ff42000ab7cd2078 (patch)
treee003b1e3ac213aa09fdbfeee60715a2f9d7adff7 /Documentation
parent14af60b6fb3b76634278364b697dae2f9f360abf (diff)
downloadop-kernel-dev-d5a8003135da7afe311e4e13ff42000ab7cd2078.zip
op-kernel-dev-d5a8003135da7afe311e4e13ff42000ab7cd2078.tar.gz
spi/omap: Add DT support to McSPI driver
Add device tree support to the OMAP2+ McSPI driver. Add the bindings documentation. Based on original code from Rajendra. Signed-off-by: Benoit Cousson <b-cousson@ti.com> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/spi/omap-spi.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/omap-spi.txt b/Documentation/devicetree/bindings/spi/omap-spi.txt
new file mode 100644
index 0000000..81df374
--- /dev/null
+++ b/Documentation/devicetree/bindings/spi/omap-spi.txt
@@ -0,0 +1,20 @@
+OMAP2+ McSPI device
+
+Required properties:
+- compatible :
+ - "ti,omap2-spi" for OMAP2 & OMAP3.
+ - "ti,omap4-spi" for OMAP4+.
+- ti,spi-num-cs : Number of chipselect supported by the instance.
+- ti,hwmods: Name of the hwmod associated to the McSPI
+
+
+Example:
+
+mcspi1: mcspi@1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "ti,omap4-mcspi";
+ ti,hwmods = "mcspi1";
+ ti,spi-num-cs = <4>;
+};
+
OpenPOWER on IntegriCloud