summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/sound/rt274.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/sound/rt274.txt')
-rw-r--r--dts/Bindings/sound/rt274.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/dts/Bindings/sound/rt274.txt b/dts/Bindings/sound/rt274.txt
new file mode 100644
index 0000000000..e9a6178c78
--- /dev/null
+++ b/dts/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>;
+};