summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/imx-audio-ak5558.txt
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2017-12-27 14:54:52 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:50:24 +0800
commita14c19c0791f11b9a451899624f3b77c6ef24361 (patch)
tree5c4555c18a61052f85e71cb0d9b5bd2880f7b560 /Documentation/devicetree/bindings/sound/imx-audio-ak5558.txt
parent522efbcae4a9b11a7e5048ec9305448d9b8d3c3d (diff)
MLK-15071-2: ASoC: fsl: Add machine driver for AK5558
Add machine driver for i.MX boards that have AK5558 ADC attached to SAI. Signed-off-by: Mihai Serban <mihai.serban@nxp.com> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> [ Aisheng: clean for a new base ] Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/imx-audio-ak5558.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/imx-audio-ak5558.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/imx-audio-ak5558.txt b/Documentation/devicetree/bindings/sound/imx-audio-ak5558.txt
new file mode 100644
index 000000000000..3da95878a34a
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/imx-audio-ak5558.txt
@@ -0,0 +1,30 @@
+Freescale i.MX audio complex with AK5558 ADC
+
+Required properties:
+
+- compatible : "fsl,imx-audio-ak5558"
+- model : The user-visible name of this sound complex
+- audio-cpu : The phandle of CPU DAI
+- audio-codec : The phandle of the AK5558 audio ADC
+- audio-routing : A list of the connections between audio components. Each entry
+ is a pair of strings, the first being the connection's sink, the second being
+ the connection's source. Valid names could be power supplies, AK5558 pins,
+ and the jacks on the board.
+
+Example:
+
+sound {
+ compatible = "fsl,imx-audio-ak5558";
+ model = "ak5558-audio";
+ audio-cpu = <&sai1>;
+ audio-codec = <&codec>;
+ audio-routing =
+ "AIN1", "Capture",
+ "AIN2", "Capture",
+ "AIN3", "Capture",
+ "AIN4", "Capture",
+ "AIN5", "Capture",
+ "AIN6", "Capture",
+ "AIN7", "Capture",
+ "AIN8", "Capture";
+};