xref: /freebsd/sys/contrib/device-tree/Bindings/sound/amlogic,axg-tdm-iface.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Amlogic Audio TDM Interfaces
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: 'amlogic,axg-tdm-iface'
5*c66ec88fSEmmanuel Vadot- clocks: list of clock phandle, one for each entry clock-names.
6*c66ec88fSEmmanuel Vadot- clock-names: should contain the following:
7*c66ec88fSEmmanuel Vadot  * "sclk" : bit clock.
8*c66ec88fSEmmanuel Vadot  * "lrclk": sample clock
9*c66ec88fSEmmanuel Vadot  * "mclk" : master clock
10*c66ec88fSEmmanuel Vadot	     -> optional if the interface is in clock slave mode.
11*c66ec88fSEmmanuel Vadot- #sound-dai-cells: must be 0.
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotExample of TDM_A on the A113 SoC:
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadottdmif_a: audio-controller@0 {
16*c66ec88fSEmmanuel Vadot	compatible = "amlogic,axg-tdm-iface";
17*c66ec88fSEmmanuel Vadot	#sound-dai-cells = <0>;
18*c66ec88fSEmmanuel Vadot	clocks = <&clkc_audio AUD_CLKID_MST_A_MCLK>,
19*c66ec88fSEmmanuel Vadot		 <&clkc_audio AUD_CLKID_MST_A_SCLK>,
20*c66ec88fSEmmanuel Vadot		 <&clkc_audio AUD_CLKID_MST_A_LRCLK>;
21*c66ec88fSEmmanuel Vadot	clock-names = "mclk", "sclk", "lrclk";
22*c66ec88fSEmmanuel Vadot};
23