Skip to content

Commit 9e960c0

Browse files
jbrun3tbroonie
authored andcommitted
ASoC: meson: add axg tdm interface DT bindings documentation
Add the DT bindings documentation for axg's TDM interfaces Signed-off-by: Jerome Brunet <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 2ec4248 commit 9e960c0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
* Amlogic Audio TDM Interfaces
2+
3+
Required 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+
13+
Example of TDM_A on the A113 SoC:
14+
15+
tdmif_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+
};

0 commit comments

Comments
 (0)