summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJack Yu <jack.yu@realtek.com>2021-03-11 05:58:09 +0300
committerMark Brown <broonie@kernel.org>2021-03-18 16:54:44 +0300
commit7ec79d3850d0cb6dc52e6aa472886ab3adf15863 (patch)
tree9b50ebb94ad4e97d09e632216f086bcd02a0074d /Documentation
parent8dd855334736f275e9de71096d816c8d9da46bf7 (diff)
downloadlinux-7ec79d3850d0cb6dc52e6aa472886ab3adf15863.tar.xz
ASoC: rt1019: add rt1019 amplifier driver
This is initial amplifier driver for rt1019. Signed-off-by: Jack Yu <jack.yu@realtek.com> Link: https://lore.kernel.org/r/20210311025809.31852-1-jack.yu@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/sound/rt1019.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/rt1019.yaml b/Documentation/devicetree/bindings/sound/rt1019.yaml
new file mode 100644
index 000000000000..c24c29eafa54
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/rt1019.yaml
@@ -0,0 +1,33 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/rt1019.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: RT1019 Mono Class-D Audio Amplifier
+
+maintainers:
+ - jack.yu@realtek.com
+
+properties:
+ compatible:
+ const: realtek,rt1019
+
+ reg:
+ maxItems: 1
+ description: I2C address of the device.
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ rt1019: codec@28 {
+ compatible = "realtek,rt1019";
+ reg = <0x28>;
+ };
+ };