[PATCH v2 4/4] ASoC: add imx-audmix DT binding documentation

Viorel Suman viorel.suman at nxp.com
Wed Jan 9 00:05:51 AEDT 2019


Add the DT binding documentation for Audio Mixer
machine driver.

Signed-off-by: Viorel Suman <viorel.suman at nxp.com>
---
 .../devicetree/bindings/sound/imx-audmix.txt       | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/imx-audmix.txt

diff --git a/Documentation/devicetree/bindings/sound/imx-audmix.txt b/Documentation/devicetree/bindings/sound/imx-audmix.txt
new file mode 100644
index 0000000..6ac1230
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/imx-audmix.txt
@@ -0,0 +1,24 @@
+NXP Audio Mixer (AUDMIX) machine driver.
+
+Required properties:
+===================================
+  - compatible		: Compatible list, contains "fsl,imx-audmix"
+
+  - model		: Short audio card description.
+
+  - dais		: Must contain a list of phandles to AUDMIX connected
+			  DAIs. The current implementation requires two phandles
+			  to SAI interfaces to be provided, the first SAI in the
+			  list being used to route the AUDMIX output.
+
+  - audmix-controller	: Must contain the phandle to the AUDMIX device node.
+
+Machine driver configuration example:
+====================================
+  sound-audmix-sai {
+    compatible = "fsl,imx-audmix";
+    model = "audmix-sai";
+    dais = <&sai4>, <&sai5>;
+    audmix-controller = <&audmix>;
+  };
+
-- 
2.7.4



More information about the Linuxppc-dev mailing list