Merge tag 'upstream-4.19-rc1' of git://git.infradead.org/linux-ubifs
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / sound / amlogic,axg-tdm-formatters.txt
1 * Amlogic Audio TDM formatters
2
3 Required properties:
4 - compatible: 'amlogic,axg-tdmin' or
5               'amlogic,axg-tdmout'
6 - reg: physical base address of the controller and length of memory
7        mapped region.
8 - clocks: list of clock phandle, one for each entry clock-names.
9 - clock-names: should contain the following:
10   * "pclk"     : peripheral clock.
11   * "sclk"     : bit clock.
12   * "sclk_sel" : bit clock input multiplexer.
13   * "lrclk"    : sample clock
14   * "lrclk_sel": sample clock input multiplexer
15
16 Example of TDMOUT_A on the A113 SoC:
17
18 tdmout_a: audio-controller@500 {
19         compatible = "amlogic,axg-tdmout";
20         reg = <0x0 0x500 0x0 0x40>;
21         clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>,
22                  <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>,
23                  <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>,
24                  <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>,
25                  <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>;
26         clock-names = "pclk", "sclk", "sclk_sel",
27                       "lrclk", "lrclk_sel";
28 };