Merge tag 'devicetree-fixes-for-4.20-1' of git://git.kernel.org/pub/scm/linux/kernel...
[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'
5 - reg: physical base address of the controller and length of memory
6        mapped region.
7 - clocks: list of clock phandle, one for each entry clock-names.
8 - clock-names: should contain the following:
9   * "pclk"   : peripheral clock.
10   * "dclk"   : pdm digital clock
11   * "sysclk" : dsp system clock
12 - #sound-dai-cells: must be 0.
13
14 Example of PDM on the A113 SoC:
15
16 pdm: audio-controller@ff632000 {
17         compatible = "amlogic,axg-pdm";
18         reg = <0x0 0xff632000 0x0 0x34>;
19         #sound-dai-cells = <0>;
20         clocks = <&clkc_audio AUD_CLKID_PDM>,
21                  <&clkc_audio AUD_CLKID_PDM_DCLK>,
22                  <&clkc_audio AUD_CLKID_PDM_SYSCLK>;
23         clock-names = "pclk", "dclk", "sysclk";
24 };