summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2017-08-17 19:15:39 +0200
committerMark Brown <broonie@kernel.org>2017-08-17 19:15:39 +0200
commita46f1cfaab29639289c82288ef84070f1acf8100 (patch)
treebc777334f1da0fd4230d1d26c95280e0fc5e8d13 /Documentation
parentASoC: codec: use enable pin to control dmic start and stop (diff)
parentASoC: codecs: make snd_soc_dai_driver and snd_soc_component_driver const (diff)
downloadlinux-a46f1cfaab29639289c82288ef84070f1acf8100.tar.xz
linux-a46f1cfaab29639289c82288ef84070f1acf8100.zip
Merge branch 'topic/const' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-dmic
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/sound/rt274.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/rt274.txt b/Documentation/devicetree/bindings/sound/rt274.txt
new file mode 100644
index 000000000000..e9a6178c78cf
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/rt274.txt
@@ -0,0 +1,33 @@
+RT274 audio CODEC
+
+This device supports I2C only.
+
+Required properties:
+
+- compatible : "realtek,rt274".
+
+- reg : The I2C address of the device.
+
+Optional properties:
+
+- interrupts : The CODEC's interrupt output.
+
+
+Pins on the device (for linking into audio routes) for RT274:
+
+ * DMIC1 Pin
+ * DMIC2 Pin
+ * MIC
+ * LINE1
+ * LINE2
+ * HPO Pin
+ * SPDIF
+ * LINE3
+
+Example:
+
+codec: rt274@1c {
+ compatible = "realtek,rt274";
+ reg = <0x1c>;
+ interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
+};