From: <cy_huang@richtek.com>
To: Mark Brown <broonie@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Tzung-Bi Shih <tzungbi@kernel.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
ChiYuan Huang <cy_huang@richtek.com>,
Otto Lin <otto_lin@richtek.com>,
Allen Lin <allen_lin@richtek.com>, <linux-sound@vger.kernel.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: [PATCH] ASoC: dt-bindings: maxim,max98357a: Add compatible with richtek,rt9123
Date: Tue, 18 Mar 2025 08:57:51 +0800 [thread overview]
Message-ID: <1884c3ce2d901ead5d742958889f5a742e168376.1742259040.git.cy_huang@richtek.com> (raw)
From: ChiYuan Huang <cy_huang@richtek.com>
The hardware control and specification of 'richtek,rt9123' are similar
with max98357 or max98360. It's no need to add the new source code. So
make it compatible with one of them.
Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
---
.../devicetree/bindings/sound/maxim,max98357a.yaml | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/maxim,max98357a.yaml b/Documentation/devicetree/bindings/sound/maxim,max98357a.yaml
index 83ba8666fbb4..5dc7e60b67d6 100644
--- a/Documentation/devicetree/bindings/sound/maxim,max98357a.yaml
+++ b/Documentation/devicetree/bindings/sound/maxim,max98357a.yaml
@@ -18,9 +18,14 @@ allOf:
properties:
compatible:
- enum:
- - maxim,max98357a
- - maxim,max98360a
+ oneOf:
+ - enum:
+ - maxim,max98357a
+ - maxim,max98360a
+ - items:
+ - enum:
+ - richtek,rt9123
+ - const: maxim,max98360a
'#sound-dai-cells':
const: 0
--
2.34.1
next reply other threads:[~2025-03-18 0:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-18 0:57 cy_huang [this message]
2025-03-18 8:55 ` Krzysztof Kozlowski
2025-03-18 11:26 ` ChiYuan Huang
2025-03-19 7:42 ` Krzysztof Kozlowski
2025-03-19 8:21 ` ChiYuan Huang
2025-03-19 8:36 ` 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=1884c3ce2d901ead5d742958889f5a742e168376.1742259040.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=tzungbi@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®