diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-05-11 10:24:17 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-12 06:04:59 -0400 |
commit | 08641c7c74dddfcd726512edfaa3b4cbe42e523e (patch) | |
tree | a90c3c70a2dc4a57d3f227d9b93c8f953eed9f34 /Documentation/devicetree/bindings/sound | |
parent | 4da3fe7851f9288c2479186d390b0de28d51bdb0 (diff) |
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>
Diffstat (limited to 'Documentation/devicetree/bindings/sound')
-rw-r--r-- | Documentation/devicetree/bindings/sound/mxs-saif.txt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/mxs-saif.txt b/Documentation/devicetree/bindings/sound/mxs-saif.txt new file mode 100644 index 000000000000..c37ba6143d9b --- /dev/null +++ b/Documentation/devicetree/bindings/sound/mxs-saif.txt | |||
@@ -0,0 +1,36 @@ | |||
1 | * Freescale MXS Serial Audio Interface (SAIF) | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Should be "fsl,<chip>-saif" | ||
5 | - reg: Should contain registers location and length | ||
6 | - interrupts: Should contain ERROR and DMA interrupts | ||
7 | - fsl,saif-dma-channel: APBX DMA channel for the SAIF | ||
8 | |||
9 | Optional properties: | ||
10 | - fsl,saif-master: phandle to the master SAIF. It's only required for | ||
11 | the slave SAIF. | ||
12 | |||
13 | Note: Each SAIF controller should have an alias correctly numbered | ||
14 | in "aliases" node. | ||
15 | |||
16 | Example: | ||
17 | |||
18 | aliases { | ||
19 | saif0 = &saif0; | ||
20 | saif1 = &saif1; | ||
21 | }; | ||
22 | |||
23 | saif0: saif@80042000 { | ||
24 | compatible = "fsl,imx28-saif"; | ||
25 | reg = <0x80042000 2000>; | ||
26 | interrupts = <59 80>; | ||
27 | fsl,saif-dma-channel = <4>; | ||
28 | }; | ||
29 | |||
30 | saif1: saif@80046000 { | ||
31 | compatible = "fsl,imx28-saif"; | ||
32 | reg = <0x80046000 2000>; | ||
33 | interrupts = <58 81>; | ||
34 | fsl,saif-dma-channel = <5>; | ||
35 | fsl,saif-master = <&saif0>; | ||
36 | }; | ||