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