devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND,v6 1/2] ASoC: dt-bindings: max98520: add initial bindings
@ 2021-10-27  0:14 George Song
  2021-10-27  0:14 ` [RESEND,v6 2/2] ASoC: max98520: add max98520 audio amplifier driver George Song
  2021-10-27 17:29 ` [RESEND,v6 1/2] ASoC: dt-bindings: max98520: add initial bindings Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: George Song @ 2021-10-27  0:14 UTC (permalink / raw)
  To: lgirdwood, broonie, robh+dt
  Cc: alsa-devel, devicetree, linux-kernel, george.song, ryans.lee,
	steves.lee, George Song, Rob Herring

add initial bindings for max98520 audio amplifier

Signed-off-by: George Song <george.song@maximintegrated.com>
Reviewed-by: Rob Herring <robh@kernel.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@maximintegrated.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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-27 17:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-27  0:14 [RESEND,v6 1/2] ASoC: dt-bindings: max98520: add initial bindings George Song
2021-10-27  0:14 ` [RESEND,v6 2/2] ASoC: max98520: add max98520 audio amplifier driver George Song
2021-10-27 17:29 ` [RESEND,v6 1/2] ASoC: dt-bindings: max98520: add initial bindings Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).