Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH v2] ASoC: dt-bindings: fsl,mqs: Reference common DAI properties
@ 2025-03-28  2:13 Shengjiu Wang
  2025-03-28  8:05 ` Krzysztof Kozlowski
  2025-04-07 23:35 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Shengjiu Wang @ 2025-03-28  2:13 UTC (permalink / raw)
  To: lgirdwood, broonie, robh, krzk+dt, conor+dt, linux-sound,
	devicetree, linux-kernel

Reference the dai-common.yaml schema to allow '#sound-dai-cells' and
"sound-name-prefix' to be used.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
---
changes in v2:
- add constrain for sound-dai-cells

 Documentation/devicetree/bindings/sound/fsl,mqs.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/sound/fsl,mqs.yaml b/Documentation/devicetree/bindings/sound/fsl,mqs.yaml
index 8c22e8348b14..d1ac84e518a0 100644
--- a/Documentation/devicetree/bindings/sound/fsl,mqs.yaml
+++ b/Documentation/devicetree/bindings/sound/fsl,mqs.yaml
@@ -28,6 +28,9 @@ properties:
       - fsl,imx95-aonmix-mqs
       - fsl,imx95-netcmix-mqs
 
+  "#sound-dai-cells":
+    const: 0
+
   clocks:
     minItems: 1
     maxItems: 2
@@ -55,6 +58,7 @@ required:
   - clock-names
 
 allOf:
+  - $ref: dai-common.yaml#
   - if:
       properties:
         compatible:
@@ -86,7 +90,7 @@ allOf:
       required:
         - gpr
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-07 23:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-28  2:13 [PATCH v2] ASoC: dt-bindings: fsl,mqs: Reference common DAI properties Shengjiu Wang
2025-03-28  8:05 ` Krzysztof Kozlowski
2025-04-07 23:35 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox