Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / Documentation / devicetree / bindings / sound / amlogic,axg-spdifin.txt
1 * Amlogic Audio SPDIF Input
2
3 Required properties:
4 - compatible: 'amlogic,axg-spdifin' or
5               'amlogic,g12a-spdifin'
6 - interrupts: interrupt specifier for the spdif input.
7 - clocks: list of clock phandle, one for each entry clock-names.
8 - clock-names: should contain the following:
9   * "pclk" : peripheral clock.
10   * "refclk" : spdif input reference clock
11 - #sound-dai-cells: must be 0.
12
13 Example on the A113 SoC:
14
15 spdifin: audio-controller@400 {
16         compatible = "amlogic,axg-spdifin";
17         reg = <0x0 0x400 0x0 0x30>;
18         #sound-dai-cells = <0>;
19         interrupts = <GIC_SPI 87 IRQ_TYPE_EDGE_RISING>;
20         clocks = <&clkc_audio AUD_CLKID_SPDIFIN>,
21                  <&clkc_audio AUD_CLKID_SPDIFIN_CLK>;
22         clock-names = "pclk", "refclk";
23 };