summaryrefslogtreecommitdiff
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2016-01-11 13:54:39 (GMT)
committerMark Brown <broonie@kernel.org>2016-01-11 13:54:39 (GMT)
commitd5221ab6b289da82dcf73b475aaee6a3da5c4ca5 (patch)
tree4d5a9e0b928a19af5368ba6172b30a43a2b18545 /Documentation/devicetree
parent5450487a0954f87607b14d52a71d44c147d2d0d5 (diff)
parent3ae08dc0fc805bc15c5629f9794599c1171dc571 (diff)
downloadlinux-d5221ab6b289da82dcf73b475aaee6a3da5c4ca5.tar.xz
Merge remote-tracking branch 'asoc/topic/rt5651' into asoc-next
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/sound/rt5651.txt41
1 files changed, 41 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/rt5651.txt b/Documentation/devicetree/bindings/sound/rt5651.txt
new file mode 100644
index 0000000..3875233
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/rt5651.txt
@@ -0,0 +1,41 @@
+RT5651 audio CODEC
+
+This device supports I2C only.
+
+Required properties:
+
+- compatible : "realtek,rt5651".
+
+- reg : The I2C address of the device.
+
+Optional properties:
+
+- realtek,in2-differential
+ Boolean. Indicate MIC2 input are differential, rather than single-ended.
+
+- realtek,dmic-en
+ Boolean. true if dmic is used.
+
+Pins on the device (for linking into audio routes) for RT5651:
+
+ * DMIC L1
+ * DMIC R1
+ * IN1P
+ * IN2P
+ * IN2N
+ * IN3P
+ * HPOL
+ * HPOR
+ * LOUTL
+ * LOUTR
+ * PDML
+ * PDMR
+
+Example:
+
+codec: rt5651@1a {
+ compatible = "realtek,rt5651";
+ reg = <0x1a>;
+ realtek,dmic-en = "true";
+ realtek,in2-diff = "false";
+};