-
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/sh-msiof: Add device tree parsing to driver
This adds the capability to retrieve setup data from the device tree node. The usage of platform data is still available. Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
- Loading branch information
Bastian Hecht
authored and
Grant Likely
committed
Feb 5, 2013
1 parent
aae7147
commit cf9c86e
Showing
2 changed files
with
67 additions
and
1 deletion.
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,12 @@ | ||
Renesas MSIOF spi controller | ||
|
||
Required properties: | ||
- compatible : "renesas,sh-msiof" for SuperH or | ||
"renesas,sh-mobile-msiof" for SH Mobile series | ||
- reg : Offset and length of the register set for the device | ||
- interrupts : interrupt line used by MSIOF | ||
|
||
Optional properties: | ||
- num-cs : total number of chip-selects | ||
- renesas,tx-fifo-size : Overrides the default tx fifo size given in words | ||
- renesas,rx-fifo-size : Overrides the default rx fifo size given in words |
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