mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 12:21:37 +00:00
08641c7c74
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>
37 lines
829 B
Plaintext
37 lines
829 B
Plaintext
* 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>;
|
|
};
|