summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorShuming Fan <shumingf@realtek.com>2019-05-28 12:30:17 +0800
committerMark Brown <broonie@kernel.org>2019-06-04 15:09:39 +0100
commitd6e65bb7ff0d360c4c5462c3d0b237f2a07e5312 (patch)
tree08edcbbd66eddd3a07b51adc8ea5c80982b9a0e9 /Documentation
parent091c12e1f50cce93b1af90e56cad88787ec86dfb (diff)
downloadlinux-d6e65bb7ff0d360c4c5462c3d0b237f2a07e5312.tar.gz
linux-d6e65bb7ff0d360c4c5462c3d0b237f2a07e5312.tar.bz2
linux-d6e65bb7ff0d360c4c5462c3d0b237f2a07e5312.zip
ASoC: rt1011: Add RT1011 amplifier driver
This is the initial amplifier driver for rt1011. Signed-off-by: Shuming Fan <shumingf@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/sound/rt1011.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/rt1011.txt b/Documentation/devicetree/bindings/sound/rt1011.txt
new file mode 100644
index 000000000000..35a23e60d679
--- /dev/null
+++ b/Documentation/devicetree/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>;
+};