-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Benoit Cousson
authored and
Grant Likely
committed
Feb 15, 2012
1 parent
14af60b
commit d5a8003
Showing
2 changed files
with
68 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters