Linux 5.3-rc8
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / sound / amlogic,axg-pdm.txt
1 * Amlogic Audio PDM input
2
3 Required properties:
4 - compatible: 'amlogic,axg-pdm' or
5               'amlogic,g12a-pdm'
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   * "dclk"   : pdm digital clock
12   * "sysclk" : dsp system clock
13 - #sound-dai-cells: must be 0.
14
15 Example of PDM on the A113 SoC:
16
17 pdm: audio-controller@ff632000 {
18         compatible = "amlogic,axg-pdm";
19         reg = <0x0 0xff632000 0x0 0x34>;
20         #sound-dai-cells = <0>;
21         clocks = <&clkc_audio AUD_CLKID_PDM>,
22                  <&clkc_audio AUD_CLKID_PDM_DCLK>,
23                  <&clkc_audio AUD_CLKID_PDM_SYSCLK>;
24         clock-names = "pclk", "dclk", "sysclk";
25 };