From: Frank Li Date: Fri, 27 Sep 2024 20:56:18 +0000 (-0400) Subject: ASoC: dt-bindings: fsl-esai: Add power-domains for fsl,imx8qm-esai X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a2bd5a25c1b548609fb2f095c7356fcae8fabac2;p=users%2Fjedix%2Flinux-maple.git ASoC: dt-bindings: fsl-esai: Add power-domains for fsl,imx8qm-esai i.MX8QM's esai require power-domains property. Keep the same restriction for other compatible string. Signed-off-by: Frank Li Reviewed-by: Rob Herring (Arm) Link: https://patch.msgid.link/20240927205618.4093591-1-Frank.Li@nxp.com Signed-off-by: Mark Brown --- diff --git a/Documentation/devicetree/bindings/sound/fsl,esai.yaml b/Documentation/devicetree/bindings/sound/fsl,esai.yaml index f99ed20fa684..d1b4e23f1c95 100644 --- a/Documentation/devicetree/bindings/sound/fsl,esai.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,esai.yaml @@ -65,6 +65,9 @@ properties: - const: rx - const: tx + power-domains: + maxItems: 1 + fsl,fifo-depth: $ref: /schemas/types.yaml#/definitions/uint32 default: 64 @@ -101,6 +104,17 @@ unevaluatedProperties: false allOf: - $ref: dai-common.yaml# + - if: + properties: + compatible: + contains: + const: fsl,imx8qm-esai + then: + required: + - power-domains + else: + properties: + power-domains: false examples: - |