diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2018-08-29 18:00:50 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-08-29 18:04:16 +0300 |
commit | 5cc3f8f89f2a42992315c4917e0c67ccb0269dec (patch) | |
tree | 4c1c8ffcf419efc3cad3513c661d42e928c0c748 /Documentation/devicetree/bindings/sound | |
parent | cb06a037f8362e250a6e61872ffa01ab086ec9e2 (diff) | |
download | linux-5cc3f8f89f2a42992315c4917e0c67ccb0269dec.tar.xz |
ASoC: meson: add axg pdm input DT binding documentation
Add the DT binding documentation for axg's PDM input
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound')
-rw-r--r-- | Documentation/devicetree/bindings/sound/amlogic,axg-pdm.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/amlogic,axg-pdm.txt b/Documentation/devicetree/bindings/sound/amlogic,axg-pdm.txt new file mode 100644 index 000000000000..5672d0bc5b16 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/amlogic,axg-pdm.txt @@ -0,0 +1,24 @@ +* Amlogic Audio PDM input + +Required properties: +- compatible: 'amlogic,axg-pdm' +- reg: physical base address of the controller and length of memory + mapped region. +- clocks: list of clock phandle, one for each entry clock-names. +- clock-names: should contain the following: + * "pclk" : peripheral clock. + * "dclk" : pdm digital clock + * "sysclk" : dsp system clock +- #sound-dai-cells: must be 0. + +Example of PDM on the A113 SoC: + +pdm: audio-controller@ff632000 { + compatible = "amlogic,axg-pdm"; + reg = <0x0 0xff632000 0x0 0x34>; + #sound-dai-cells = <0>; + clocks = <&clkc_audio AUD_CLKID_PDM>, + <&clkc_audio AUD_CLKID_PDM_DCLK>, + <&clkc_audio AUD_CLKID_PDM_SYSCLK>; + clock-names = "pclk", "dclk", "sysclk"; +}; |