[PATCH 2/2] ASoC: rt1016: Add the devicetree file for the rt1016

Oder Chiou oder_chiou at realtek.com
Thu May 7 04:15:39 CEST 2020


The patch adds the devicetree file for the rt1016.

Signed-off-by: Oder Chiou <oder_chiou at realtek.com>
---
 .../devicetree/bindings/sound/rt1016.txt        | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/rt1016.txt

diff --git a/Documentation/devicetree/bindings/sound/rt1016.txt b/Documentation/devicetree/bindings/sound/rt1016.txt
new file mode 100644
index 000000000000..2310f8ff259b
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/rt1016.txt
@@ -0,0 +1,17 @@
+RT1016 Stereo Class D Audio Amplifier
+
+This device supports I2C only.
+
+Required properties:
+
+- compatible : "realtek,rt1016".
+
+- reg : The I2C address of the device.
+
+
+Example:
+
+rt1016: codec at 1a {
+	compatible = "realtek,rt1016";
+	reg = <0x1a>;
+};
-- 
2.25.1



More information about the Alsa-devel mailing list