[PATCH 2/4] ASoC: dt-bindings: fsl-esai: Add ref: dai-common.yaml

Frank Li posted 4 patches 1 year, 10 months ago
There is a newer version of this series
[PATCH 2/4] ASoC: dt-bindings: fsl-esai: Add ref: dai-common.yaml
Posted by Frank Li 1 year, 10 months ago
Add ref: dai-common.yaml to fix below warning.
arch/arm/boot/dts/nxp/imx/imx6q-sabreauto.dtb: esai@2024000: Unevaluated properties are not allowed ('#sound-dai-cells' was unexpected)

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 Documentation/devicetree/bindings/sound/fsl,esai.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/fsl,esai.yaml b/Documentation/devicetree/bindings/sound/fsl,esai.yaml
index 66f20ecaa42b4..80bf4a9cb30c9 100644
--- a/Documentation/devicetree/bindings/sound/fsl,esai.yaml
+++ b/Documentation/devicetree/bindings/sound/fsl,esai.yaml
@@ -98,6 +98,9 @@ required:
 
 unevaluatedProperties: false
 
+allOf:
+  - $ref: dai-common.yaml#
+
 examples:
   - |
     esai@2024000 {

-- 
2.34.1
Re: [PATCH 2/4] ASoC: dt-bindings: fsl-esai: Add ref: dai-common.yaml
Posted by Rob Herring 1 year, 10 months ago
On Thu, 11 Apr 2024 13:07:46 -0400, Frank Li wrote:
> Add ref: dai-common.yaml to fix below warning.
> arch/arm/boot/dts/nxp/imx/imx6q-sabreauto.dtb: esai@2024000: Unevaluated properties are not allowed ('#sound-dai-cells' was unexpected)
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>  Documentation/devicetree/bindings/sound/fsl,esai.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>