[PATCH] ASoC: dt-bindings: fsl,mqs: Reference common DAI properties

Shengjiu Wang posted 1 patch 8 months, 3 weeks ago
There is a newer version of this series
Documentation/devicetree/bindings/sound/fsl,mqs.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[PATCH] ASoC: dt-bindings: fsl,mqs: Reference common DAI properties
Posted by Shengjiu Wang 8 months, 3 weeks ago
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>
---
 Documentation/devicetree/bindings/sound/fsl,mqs.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/sound/fsl,mqs.yaml b/Documentation/devicetree/bindings/sound/fsl,mqs.yaml
index 8c22e8348b14..99e7372abd0c 100644
--- a/Documentation/devicetree/bindings/sound/fsl,mqs.yaml
+++ b/Documentation/devicetree/bindings/sound/fsl,mqs.yaml
@@ -55,6 +55,7 @@ required:
   - clock-names
 
 allOf:
+  - $ref: dai-common.yaml#
   - if:
       properties:
         compatible:
@@ -86,7 +87,7 @@ allOf:
       required:
         - gpr
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
-- 
2.34.1
Re: [PATCH] ASoC: dt-bindings: fsl,mqs: Reference common DAI properties
Posted by Krzysztof Kozlowski 8 months, 3 weeks ago
On Tue, Mar 25, 2025 at 02:27:51PM +0800, Shengjiu Wang wrote:
> 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>
> ---
>  Documentation/devicetree/bindings/sound/fsl,mqs.yaml | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/sound/fsl,mqs.yaml b/Documentation/devicetree/bindings/sound/fsl,mqs.yaml
> index 8c22e8348b14..99e7372abd0c 100644
> --- a/Documentation/devicetree/bindings/sound/fsl,mqs.yaml
> +++ b/Documentation/devicetree/bindings/sound/fsl,mqs.yaml
> @@ -55,6 +55,7 @@ required:
>    - clock-names
>  

You need to constrain dai-cells to 0 (const: 0).

Best regards,
Krzysztof