aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound
diff options
context:
space:
mode:
authorRyder Lee <ryder.lee@mediatek.com>2017-03-29 16:59:32 +0800
committerMark Brown <broonie@kernel.org>2017-03-29 11:38:03 +0100
commit768abad46df941b6f921f358d3b17e51451b29bd (patch)
tree62db9b95b56c257e559b32dab80bf65253c01ddd /Documentation/devicetree/bindings/sound
parentASoC: mediatek: Add mt2701-wm8960 machine driver (diff)
downloadlinux-dev-768abad46df941b6f921f358d3b17e51451b29bd.tar.xz
linux-dev-768abad46df941b6f921f358d3b17e51451b29bd.zip
ASoC: mediatek: add bindings for wm8960 codec machine driver
add device tree bindings for mt2701-wm8960. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound')
-rw-r--r--Documentation/devicetree/bindings/sound/mt2701-wm8960.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/mt2701-wm8960.txt b/Documentation/devicetree/bindings/sound/mt2701-wm8960.txt
new file mode 100644
index 000000000000..809b609ea9d0
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/mt2701-wm8960.txt
@@ -0,0 +1,24 @@
+MT2701 with WM8960 CODEC
+
+Required properties:
+- compatible: "mediatek,mt2701-wm8960-machine"
+- mediatek,platform: the phandle of MT2701 ASoC platform
+- audio-routing: a list of the connections between audio
+- mediatek,audio-codec: the phandles of wm8960 codec
+- pinctrl-names: Should contain only one value - "default"
+- pinctrl-0: Should specify pin control groups used for this controller.
+
+Example:
+
+ sound:sound {
+ compatible = "mediatek,mt2701-wm8960-machine";
+ mediatek,platform = <&afe>;
+ audio-routing =
+ "Headphone", "HP_L",
+ "Headphone", "HP_R",
+ "LINPUT1", "AMIC",
+ "RINPUT1", "AMIC";
+ mediatek,audio-codec = <&wm8960>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&aud_pins_default>;
+ };