ASoC: meson: add axg fifos DT binding documentation
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 17 Jul 2018 15:42:50 +0000 (17:42 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 18 Jul 2018 12:08:35 +0000 (13:08 +0100)
Add the DT bindings documentation for axg's FIFOs: TODDR and FRDDR.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/amlogic,axg-fifo.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/sound/amlogic,axg-fifo.txt b/Documentation/devicetree/bindings/sound/amlogic,axg-fifo.txt
new file mode 100644 (file)
index 0000000..3dfc251
--- /dev/null
@@ -0,0 +1,23 @@
+* Amlogic Audio FIFO controllers
+
+Required properties:
+- compatible: 'amlogic,axg-toddr' or
+             'amlogic,axg-frddr'
+- reg: physical base address of the controller and length of memory
+       mapped region.
+- interrupts: interrupt specifier for the fifo.
+- clocks: phandle to the fifo peripheral clock provided by the audio
+         clock controller.
+- resets: phandle to memory ARB line provided by the arb reset controller.
+- #sound-dai-cells: must be 0.
+
+Example of FRDDR A on the A113 SoC:
+
+frddr_a: audio-controller@1c0 {
+       compatible = "amlogic,axg-frddr";
+       reg = <0x0 0x1c0 0x0 0x1c>;
+       #sound-dai-cells = <0>;
+       interrupts = <GIC_SPI 88 IRQ_TYPE_EDGE_RISING>;
+       clocks = <&clkc_audio AUD_CLKID_FRDDR_A>;
+       resets = <&arb AXG_ARB_FRDDR_A>;
+};