Merge tag 'rtc-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / sound / amlogic,g12a-tohdmitx.txt
1 * Amlogic HDMI Tx control glue
2
3 Required properties:
4 - compatible: "amlogic,g12a-tohdmitx"
5 - reg: physical base address of the controller and length of memory
6        mapped region.
7 - #sound-dai-cells: should be 1.
8
9 Example on the S905X2 SoC:
10
11 tohdmitx: audio-controller@744 {
12         compatible = "amlogic,g12a-tohdmitx";
13         reg = <0x0 0x744 0x0 0x4>;
14         #sound-dai-cells = <1>;
15 };
16
17 Example of an 'amlogic,axg-sound-card':
18
19 sound {
20         compatible = "amlogic,axg-sound-card";
21
22 [...]
23
24         dai-link-x {
25                 sound-dai = <&tdmif_a>;
26                 dai-format = "i2s";
27                 dai-tdm-slot-tx-mask-0 = <1 1>;
28
29                 codec-0 {
30                         sound-dai = <&tohdmitx TOHDMITX_I2S_IN_A>;
31                 };
32
33                 codec-1 {
34                         sound-dai = <&external_dac>;
35                 };
36         };
37
38         dai-link-y {
39                 sound-dai = <&tdmif_c>;
40                 dai-format = "i2s";
41                 dai-tdm-slot-tx-mask-0 = <1 1>;
42
43                 codec {
44                         sound-dai = <&tohdmitx TOHDMITX_I2S_IN_C>;
45                 };
46         };
47
48         dai-link-z {
49                 sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
50
51                 codec {
52                         sound-dai = <&hdmi_tx>;
53                 };
54         };
55 };