summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/rt5651.txt
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2015-12-23 13:24:09 +0300
committerMark Brown <broonie@kernel.org>2015-12-23 15:21:14 +0300
commit3ae08dc0fc805bc15c5629f9794599c1171dc571 (patch)
tree8e414baccd6e120f04c0147a160837545ca6e422 /Documentation/devicetree/bindings/sound/rt5651.txt
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
downloadlinux-3ae08dc0fc805bc15c5629f9794599c1171dc571.tar.xz
ASoC: rt5651: add ACPI and OF support
Add required tables and the binding document for ACPI and OF matching. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/rt5651.txt')
-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 000000000000..3875233095f5
--- /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";
+};