From: <cy_huang@richtek.com>
To: Mark Brown <broonie@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: Rob Herring <robh@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
ChiYuan Huang <cy_huang@richtek.com>,
Otto lin <otto_lin@richtek.com>,
Allen Lin <allen_lin@richtek.com>, <devicetree@vger.kernel.org>,
<linux-sound@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: [PATCH 1/4] ASoC: dt-bindings: Add bindings for Richtek rt9123
Date: Fri, 4 Apr 2025 22:22:11 +0800 [thread overview]
Message-ID: <5e71cd584b1e96cb34375b00a1be67d108d3a08b.1743774849.git.cy_huang@richtek.com> (raw)
In-Reply-To: <cover.1743774849.git.cy_huang@richtek.com>
From: ChiYuan Huang <cy_huang@richtek.com>
Document the ASoC Richtek rt9123.
Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
---
.../bindings/sound/richtek,rt9123.yaml | 56 +++++++++++++++++++
1 file changed, 56 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/richtek,rt9123.yaml
diff --git a/Documentation/devicetree/bindings/sound/richtek,rt9123.yaml b/Documentation/devicetree/bindings/sound/richtek,rt9123.yaml
new file mode 100644
index 000000000000..5acb05cdfefd
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/richtek,rt9123.yaml
@@ -0,0 +1,56 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/richtek,rt9123.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Richtek RT9123 Audio Amplifier
+
+maintainers:
+ - ChiYuan Huang <cy_huang@richtek.com>
+
+description:
+ RT9123 is a 3.2W mono Class-D audio amplifier that features high efficiency
+ and performance with ultra-low quiescent current. The digital audio interface
+ support various formats, including I2S, left-justified, right-justified, and
+ TDM formats.
+
+allOf:
+ - $ref: dai-common.yaml#
+
+properties:
+ compatible:
+ enum:
+ - richtek,rt9123
+
+ reg:
+ maxItems: 1
+
+ '#sound-dai-cells':
+ const: 0
+
+ enable-gpios:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+ - '#sound-dai-cells'
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ amplifier@5e {
+ compatible = "richtek,rt9123";
+ reg = <0x5e>;
+ enable-gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
+ #sound-dai-cells = <0>;
+ };
+ };
--
2.34.1
next prev parent reply other threads:[~2025-04-04 14:27 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-04 14:22 [PATCH 0/4] ASoC: Add Richtek rt9123 and rt9123p support cy_huang
2025-04-04 14:22 ` cy_huang [this message]
2025-04-04 14:22 ` [PATCH 2/4] ASoC: codecs: Add support for Richtek rt9123 cy_huang
2025-04-04 15:03 ` Mark Brown
2025-04-07 0:44 ` ChiYuan Huang
2025-04-07 12:34 ` Mark Brown
2025-04-08 3:53 ` ChiYuan Huang
2025-04-05 14:21 ` kernel test robot
2025-04-05 15:13 ` kernel test robot
2025-04-04 14:22 ` [PATCH 3/4] ASoC: dt-bindings: Add bindings for Richtek rt9123p cy_huang
2025-04-04 20:07 ` Rob Herring
2025-04-04 14:22 ` [PATCH 4/4] ASoC: codecs: Add support " cy_huang
2025-04-04 20:05 ` Rob Herring
2025-04-07 0:53 ` ChiYuan Huang
2025-04-09 1:06 ` ChiYuan Huang
2025-04-09 12:29 ` Mark Brown
2025-04-14 13:56 ` (subset) [PATCH 0/4] ASoC: Add Richtek rt9123 and rt9123p support 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=5e71cd584b1e96cb34375b00a1be67d108d3a08b.1743774849.git.cy_huang@richtek.com \
--to=cy_huang@richtek.com \
--cc=allen_lin@richtek.com \
--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=otto_lin@richtek.com \
--cc=perex@perex.cz \
--cc=robh@kernel.org \
--cc=tiwai@suse.com \
/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