From: Kiseok Jo <kiseok.jo@irondevice.com>
To: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org, application@irondevice.com,
Kiseok Jo <kiseok.jo@irondevice.com>
Subject: [PATCH v2 2/2] ASoC: dt-bindings: sma1303: Iron Device SMA1303 Amp
Date: Mon, 9 Jan 2023 18:14:02 +0900 [thread overview]
Message-ID: <20230109091402.11790-4-kiseok.jo@irondevice.com> (raw)
In-Reply-To: <20230109091402.11790-3-kiseok.jo@irondevice.com>
Modified the schema binding and added the vendor prefixes.
Signed-off-by: Kiseok Jo <kiseok.jo@irondevice.com>
---
.../bindings/sound/irondevice,sma1303.yaml | 40 +++++++++++++++++++
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
2 files changed, 42 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/irondevice,sma1303.yaml
diff --git a/Documentation/devicetree/bindings/sound/irondevice,sma1303.yaml b/Documentation/devicetree/bindings/sound/irondevice,sma1303.yaml
new file mode 100644
index 000000000000..8c3b85f962ff
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/irondevice,sma1303.yaml
@@ -0,0 +1,40 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/irondevice,sma1303.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Iron Device SMA1303 Audio Amplifier
+
+maintainers:
+ - Kiseok Jo <kiseok.jo@irondevice.com>
+
+description:
+ SMA1303 digital class-D audio amplifier with an integrated boost converter.
+
+allOf:
+ - $ref: name-prefix.yaml#
+
+properties:
+ compatible:
+ const: irondevice,sma1303
+
+ reg:
+ description:
+ I2C address of the amplifier. See the datasheet for possible values.
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: true
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+ i2c_bus {
+ sma1303_amp: sma1303@1e {
+ compatible = "irondevice,sma1303";
+ reg = <0x1e>;
+ };
+ };
\ No newline at end of file
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 70ffb3780621..271ff119764a 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -635,6 +635,8 @@ patternProperties:
description: Inverse Path
"^iom,.*":
description: Iomega Corporation
+ "^irondevice,.*":
+ description: Iron Device Corporation
"^isee,.*":
description: ISEE 2007 S.L.
"^isil,.*":
--
2.30.2
next prev parent reply other threads:[~2023-01-09 9:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-09 9:14 [PATCH v2 1/2] ASoC: sma1303: Add driver for Iron Device SMA1303 Amp Kiseok Jo
2023-01-09 9:14 ` Kiseok Jo [this message]
2023-01-13 15:35 ` [PATCH v2 2/2] ASoC: dt-bindings: sma1303: " Mark Brown
2023-01-13 15:34 ` [PATCH v2 1/2] ASoC: sma1303: Add driver for " Mark Brown
2023-01-19 8:16 ` Ki-Seok Jo
2023-01-19 11:25 ` Mark Brown
2023-01-25 2:12 ` Ki-Seok Jo
2023-01-25 11:46 ` Mark Brown
2023-01-26 1:28 ` Ki-Seok Jo
2023-01-26 1:34 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230109091402.11790-4-kiseok.jo@irondevice.com \
--to=kiseok.jo@irondevice.com \
--cc=alsa-devel@alsa-project.org \
--cc=application@irondevice.com \
--cc=broonie@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.