Commit | Line | Data |
---|---|---|
4e8bc8ed DH |
1 | Imagination Technologies SPDIF Input Controller |
2 | ||
3 | Required Properties: | |
4 | ||
5 | - compatible : Compatible list, must contain "img,spdif-in" | |
6 | ||
7 | - #sound-dai-cells : Must be equal to 0 | |
8 | ||
9 | - reg : Offset and length of the register set for the device | |
10 | ||
11 | - dmas: Contains an entry for each entry in dma-names. | |
12 | ||
13 | - dma-names: Must include the following entry: | |
14 | "rx" | |
15 | ||
16 | - clocks : Contains an entry for each entry in clock-names | |
17 | ||
18 | - clock-names : Includes the following entries: | |
19 | "sys" The system clock | |
20 | ||
21 | Optional Properties: | |
22 | ||
23 | - resets: Should contain a phandle to the spdif in reset signal, if any | |
24 | ||
25 | - reset-names: Should contain the reset signal name "rst", if a | |
26 | reset phandle is given | |
27 | ||
28 | - interrupts : Contains the spdif in interrupt, if present | |
29 | ||
30 | Example: | |
31 | ||
32 | spdif_in: spdif-in@18100E00 { | |
33 | compatible = "img,spdif-in"; | |
34 | reg = <0x18100E00 0x100>; | |
35 | interrupts = <GIC_SHARED 20 IRQ_TYPE_LEVEL_HIGH>; | |
36 | dmas = <&mdc 15 0xffffffff 0>; | |
37 | dma-names = "rx"; | |
38 | clocks = <&cr_periph SYS_CLK_SPDIF_IN>; | |
39 | clock-names = "sys"; | |
40 | #sound-dai-cells = <0>; | |
41 | }; |