summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/amlogic,axg-tdm-iface.txt
blob: cabfb26a5f227b40760dd0ab8073820f48153b2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
* Amlogic Audio TDM Interfaces

Required properties:
- compatible: 'amlogic,axg-tdm-iface'
- clocks: list of clock phandle, one for each entry clock-names.
- clock-names: should contain the following:
  * "sclk" : bit clock.
  * "lrclk": sample clock
  * "mclk" : master clock
	     -> optional if the interface is in clock slave mode.
- #sound-dai-cells: must be 0.

Example of TDM_A on the A113 SoC:

tdmif_a: audio-controller@0 {
	compatible = "amlogic,axg-tdm-iface";
	#sound-dai-cells = <0>;
	clocks = <&clkc_audio AUD_CLKID_MST_A_MCLK>,
		 <&clkc_audio AUD_CLKID_MST_A_SCLK>,
		 <&clkc_audio AUD_CLKID_MST_A_LRCLK>;
	clock-names = "mclk", "sclk", "lrclk";
};
OpenPOWER on IntegriCloud