summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/sound/rt1011.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/sound/rt1011.txt')
-rw-r--r--dts/Bindings/sound/rt1011.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/dts/Bindings/sound/rt1011.txt b/dts/Bindings/sound/rt1011.txt
new file mode 100644
index 0000000000..35a23e60d6
--- /dev/null
+++ b/dts/Bindings/sound/rt1011.txt
@@ -0,0 +1,32 @@
+RT1011 Mono Class D Audio Amplifier
+
+This device supports I2C only.
+
+Required properties:
+
+- compatible : "realtek,rt1011".
+
+- reg : The I2C address of the device. This I2C address decide by
+ two input pins (ASEL1 and ASEL2).
+ -------------------------------------
+ | ASEL2 | ASEL1 | Address |
+ -------------------------------------
+ | 0 | 0 | 0x38 |
+ -------------------------------------
+ | 0 | 1 | 0x39 |
+ -------------------------------------
+ | 1 | 0 | 0x3a |
+ -------------------------------------
+ | 1 | 1 | 0x3b |
+ -------------------------------------
+
+Pins on the device (for linking into audio routes) for RT1011:
+
+ * SPO
+
+Example:
+
+rt1011: codec@38 {
+ compatible = "realtek,rt1011";
+ reg = <0x38>;
+};