summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/rt274.txt
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2017-07-14 09:25:52 +0300
committerMark Brown <broonie@kernel.org>2017-07-18 16:46:20 +0300
commitc7e79b2b2d2d7c13c6162ed8672357f4ad0fd8f5 (patch)
tree5a8002c1be6abd80e1c130bc5b0ed942b16cea14 /Documentation/devicetree/bindings/sound/rt274.txt
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff)
downloadlinux-c7e79b2b2d2d7c13c6162ed8672357f4ad0fd8f5.tar.xz
ASoC: rt274: add rt274 codec driver
RT274 is a HD-A/SOC dual mode codec. This is the initial codec driver of SOC mode. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/rt274.txt')
-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>;
+};