From: Kiseok Jo <kiseok.jo@irondevice.com>
To: Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jaroslav Kysela <perex@perex.cz>
Cc: alsa-devel@alsa-project.org, linux-sound@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Kiseok Jo <kiseok.jo@irondevice.com>
Subject: [PATCH RESEND v4 1/2] ASoC: dt-bindings: irondevice,sma1307: Add initial DT
Date: Wed, 6 Nov 2024 09:57:59 +0900 [thread overview]
Message-ID: <20241106005800.7520-2-kiseok.jo@irondevice.com> (raw)
In-Reply-To: <20241106005800.7520-1-kiseok.jo@irondevice.com>
This adds the schema binding for the Iron Device SMA1307 Amp
Signed-off-by: Kiseok Jo <kiseok.jo@irondevice.com>
---
.../bindings/sound/irondevice,sma1307.yaml | 53 +++++++++++++++++++
1 file changed, 53 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/irondevice,sma1307.yaml
diff --git a/Documentation/devicetree/bindings/sound/irondevice,sma1307.yaml b/Documentation/devicetree/bindings/sound/irondevice,sma1307.yaml
new file mode 100644
index 000000000..1e2a038d0
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/irondevice,sma1307.yaml
@@ -0,0 +1,53 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/irondevice,sma1307.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Iron Device SMA1307 Audio Amplifier
+
+maintainers:
+ - Kiseok Jo <kiseok.jo@irondevice.com>
+
+description:
+ SMA1307 boosted digital speaker amplifier with feedback-loop.
+
+allOf:
+ - $ref: dai-common.yaml#
+
+properties:
+ compatible:
+ enum:
+ - irondevice,sma1307a
+ - irondevice,sma1307aq
+ description:
+ If a 'q' is added, it indicated the product is AEC-Q100
+ qualified for automotive applications. SMA1307A supports
+ both WLCSP and QFN packages. However, SMA1307AQ only
+ supports the QFN package.
+
+ reg:
+ maxItems: 1
+
+ '#sound-dai-cells':
+ const: 1
+
+required:
+ - compatible
+ - reg
+ - '#sound-dai-cells'
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ amplifier@1e {
+ compatible = "irondevice,sma1307a";
+ reg = <0x1e>;
+ #sound-dai-cells = <1>;
+ };
+ };
--
2.39.2
next prev parent reply other threads:[~2024-11-06 0:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-06 0:57 [PATCH RESEND v4 0/2] Add a driver for the Iron Device SMA1307 Amp Kiseok Jo
2024-11-06 0:57 ` Kiseok Jo [this message]
2024-11-06 13:55 ` [PATCH RESEND v4 1/2] ASoC: dt-bindings: irondevice,sma1307: Add initial DT Krzysztof Kozlowski
2024-11-06 14:05 ` Mark Brown
2024-11-06 23:28 ` Ki-Seok Jo
2024-11-06 23:32 ` Mark Brown
2024-11-06 0:58 ` [PATCH RESEND v4 2/2] ASoC: sma1307: Add driver for Iron Device SMA1307 Kiseok Jo
2024-11-07 21:52 ` [PATCH RESEND v4 0/2] Add a driver for the Iron Device SMA1307 Amp Mark Brown
2024-11-06 23:31 Kiseok Jo
2024-11-06 23:31 ` [PATCH RESEND v4 1/2] ASoC: dt-bindings: irondevice,sma1307: Add initial DT Kiseok Jo
2024-11-07 10:02 ` Krzysztof Kozlowski
2024-11-07 23:57 ` Ki-Seok Jo
2024-11-08 10:44 ` Krzysztof Kozlowski
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=20241106005800.7520-2-kiseok.jo@irondevice.com \
--to=kiseok.jo@irondevice.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=robh@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®