Merge branch 'dmi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvar...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / sound / uniphier,aio.txt
1 Socionext UniPhier SoC audio driver
2
3 The Socionext UniPhier audio subsystem consists of I2S and S/PDIF blocks in
4 the same register space.
5
6 Required properties:
7 - compatible      : should be one of the following:
8                     "socionext,uniphier-ld11-aio"
9                     "socionext,uniphier-ld20-aio"
10                     "socionext,uniphier-pxs2-aio"
11 - reg             : offset and length of the register set for the device.
12 - interrupts      : should contain I2S or S/PDIF interrupt.
13 - pinctrl-names   : should be "default".
14 - pinctrl-0       : defined I2S signal pins for an external codec chip.
15 - clock-names     : should include following entries:
16                     "aio"
17 - clocks          : a list of phandle, should contain an entry for each
18                     entry in clock-names.
19 - reset-names     : should include following entries:
20                     "aio"
21 - resets          : a list of phandle, should contain an entry for each
22                     entry in reset-names.
23 - #sound-dai-cells: should be 1.
24
25 Optional properties:
26 - socionext,syscon: a phandle, should contain soc-glue.
27                     The soc-glue is used for changing mode of S/PDIF signal pin
28                     to Output from Hi-Z. This property is optional if you use
29                     I2S signal pins only.
30
31 Example:
32         audio {
33                 compatible = "socionext,uniphier-ld20-aio";
34                 reg = <0x56000000 0x80000>;
35                 interrupts = <0 144 4>;
36                 pinctrl-names = "default";
37                 pinctrl-0 = <&pinctrl_aout>;
38                 clock-names = "aio";
39                 clocks = <&sys_clk 40>;
40                 reset-names = "aio";
41                 resets = <&sys_rst 40>;
42                 #sound-dai-cells = <1>;
43
44                 socionext,syscon = <&sg>;
45         };