[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211027001431.363-1-george.song@maximintegrated.com>
Date: Wed, 27 Oct 2021 09:14:30 +0900
From: George Song <george.song@...imintegrated.com>
To: lgirdwood@...il.com, broonie@...nel.org, robh+dt@...nel.org
Cc: alsa-devel@...a-project.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, george.song@...log.com,
ryans.lee@...imintegrated.com, steves.lee@...imintegrated.com,
George Song <george.song@...imintegrated.com>,
Rob Herring <robh@...nel.org>
Subject: [RESEND,v6 1/2] ASoC: dt-bindings: max98520: add initial bindings
add initial bindings for max98520 audio amplifier
Signed-off-by: George Song <george.song@...imintegrated.com>
Reviewed-by: Rob Herring <robh@...nel.org>
---
.../bindings/sound/maxim,max98520.yaml | 36 +++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/maxim,max98520.yaml
diff --git a/Documentation/devicetree/bindings/sound/maxim,max98520.yaml b/Documentation/devicetree/bindings/sound/maxim,max98520.yaml
new file mode 100644
index 000000000000..b6509cb2c8e0
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/maxim,max98520.yaml
@@ -0,0 +1,36 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/maxim,max98520.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Maxim Integrated MAX98520 Speaker Amplifier Driver
+
+maintainers:
+ - George Song <george.song@...imintegrated.com>
+
+properties:
+ compatible:
+ const: maxim,max98520
+
+ reg:
+ maxItems: 1
+ description: I2C address of the device.
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ max98520: amplifier@38 {
+ compatible = "maxim,max98520";
+ reg = <0x38>;
+ };
+ };
+
--
2.25.1
Powered by blists - more mailing lists