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