summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/amlogic,axg-spdifout.txt
blob: 521c38ad89e718635311084d2e9317b296bb08e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
* Amlogic Audio SPDIF Output

Required properties:
- compatible: 'amlogic,axg-spdifout'
- clocks: list of clock phandle, one for each entry clock-names.
- clock-names: should contain the following:
  * "pclk" : peripheral clock.
  * "mclk" : master clock
- #sound-dai-cells: must be 0.

Example on the A113 SoC:

spdifout: audio-controller@480 {
	compatible = "amlogic,axg-spdifout";
	reg = <0x0 0x480 0x0 0x50>;
	#sound-dai-cells = <0>;
	clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>,
		 <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>;
	clock-names = "pclk", "mclk";
};