summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-03-16 16:56:44 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-01 11:28:27 +0100
commitc448303e86c970cca4833bd9480c08f09b948b40 (patch)
treecfa6b74ffad848b97d8d19be6a04bd279bcb5591 /Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt
parent09ce1111f3893106463559ed62f27fe999ace5d6 (diff)
ASoC: fsl: add imx-sgtl5000 machine driver
This is the initial imx-sgtl5000 machine driver support with only playback dai link implemented. More features can be added on top of it later. It's a device tree only machine driver working with fsl_ssi driver. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Timur Tabi <timur@freescale.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt b/Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt
new file mode 100644
index 000000000000..421a374790b3
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt
@@ -0,0 +1,24 @@
+Freescale i.MX audio complex with SGTL5000 codec
+
+Required properties:
+- compatible : "fsl,imx-audio-sgtl5000"
+- model : The user-visible name of this sound complex
+- ssi-controller : The phandle of the i.MX SSI controller
+- audio-codec : The phandle of the SGTL5000 audio codec
+- mux-int-port : The internal port of the i.MX audio muxer (AUDMUX)
+- mux-ext-port : The external port of the i.MX audio muxer
+
+Note: The AUDMUX port numbering should start at 1, which is consistent with
+hardware manual.
+
+Example:
+
+sound {
+ compatible = "fsl,imx51-babbage-sgtl5000",
+ "fsl,imx-audio-sgtl5000";
+ model = "imx51-babbage-sgtl5000";
+ ssi-controller = <&ssi1>;
+ audio-codec = <&sgtl5000>;
+ mux-int-port = <1>;
+ mux-ext-port = <3>;
+};