lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1884c3ce2d901ead5d742958889f5a742e168376.1742259040.git.cy_huang@richtek.com>
Date: Tue, 18 Mar 2025 08:57:51 +0800
From: <cy_huang@...htek.com>
To: Mark Brown <broonie@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
	Conor Dooley <conor+dt@...nel.org>, Tzung-Bi Shih <tzungbi@...nel.org>
CC: Liam Girdwood <lgirdwood@...il.com>, ChiYuan Huang <cy_huang@...htek.com>,
	Otto Lin <otto_lin@...htek.com>, Allen Lin <allen_lin@...htek.com>,
	<linux-sound@...r.kernel.org>, <devicetree@...r.kernel.org>,
	<linux-kernel@...r.kernel.org>
Subject: [PATCH] ASoC: dt-bindings: maxim,max98357a: Add compatible with richtek,rt9123

From: ChiYuan Huang <cy_huang@...htek.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@...htek.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ