-
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.
ASoC: mxs: add device tree support for mxs-saif
Add device tree probe for mxs-saif driver. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
- Loading branch information
Shawn Guo
authored and
Mark Brown
committed
May 12, 2012
1 parent
4da3fe7
commit 08641c7
Showing
2 changed files
with
90 additions
and
18 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,36 @@ | ||
* Freescale MXS Serial Audio Interface (SAIF) | ||
|
||
Required properties: | ||
- compatible: Should be "fsl,<chip>-saif" | ||
- reg: Should contain registers location and length | ||
- interrupts: Should contain ERROR and DMA interrupts | ||
- fsl,saif-dma-channel: APBX DMA channel for the SAIF | ||
|
||
Optional properties: | ||
- fsl,saif-master: phandle to the master SAIF. It's only required for | ||
the slave SAIF. | ||
|
||
Note: Each SAIF controller should have an alias correctly numbered | ||
in "aliases" node. | ||
|
||
Example: | ||
|
||
aliases { | ||
saif0 = &saif0; | ||
saif1 = &saif1; | ||
}; | ||
|
||
saif0: saif@80042000 { | ||
compatible = "fsl,imx28-saif"; | ||
reg = <0x80042000 2000>; | ||
interrupts = <59 80>; | ||
fsl,saif-dma-channel = <4>; | ||
}; | ||
|
||
saif1: saif@80046000 { | ||
compatible = "fsl,imx28-saif"; | ||
reg = <0x80046000 2000>; | ||
interrupts = <58 81>; | ||
fsl,saif-dma-channel = <5>; | ||
fsl,saif-master = <&saif0>; | ||
}; |
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