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