aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Li <[email protected]>2024-09-27 16:56:18 -0400
committerMark Brown <[email protected]>2024-09-30 01:10:57 +0200
commita2bd5a25c1b548609fb2f095c7356fcae8fabac2 (patch)
treee784b6a0506cd272de51a1dede9dffcbebd666af
parent87ad2133b805a6c18f159016a4282311a37c6bcb (diff)
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 <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/sound/fsl,esai.yaml14
1 files changed, 14 insertions, 0 deletions
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:
- |