Commit 9b215318 authored by Frank Li's avatar Frank Li Committed by Mark Brown

ASoC: dt-bindings: fsl,imx-asrc/spdif: Add power-domains property

Add power-domains property for asrc and spdif since fsl,imx8qm-asrc/spdif
and fsl,imx8qxp-asrc/spdif require 'power-domains'.

Set 'power-domains' as required property for compatible string
fsl,imx8qm-asrc/spdif and fsl,imx8qxp-asrc/spdif.
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
Link: https://msgid.link/r/20240328-asrc_8qxp-v8-1-801cd6bb5be2@nxp.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 559aebe4
...@@ -74,6 +74,9 @@ properties: ...@@ -74,6 +74,9 @@ properties:
- const: asrck_f - const: asrck_f
- const: spba - const: spba
power-domains:
maxItems: 1
fsl,asrc-rate: fsl,asrc-rate:
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: The mutual sample rate used by DPCM Back Ends description: The mutual sample rate used by DPCM Back Ends
...@@ -131,6 +134,17 @@ allOf: ...@@ -131,6 +134,17 @@ allOf:
properties: properties:
fsl,asrc-clk-map: false fsl,asrc-clk-map: false
- if:
properties:
compatible:
contains:
enum:
- fsl,imx8qm-asrc
- fsl,imx8qxp-asrc
then:
required:
- power-domains
additionalProperties: false additionalProperties: false
examples: examples:
......
...@@ -86,6 +86,9 @@ properties: ...@@ -86,6 +86,9 @@ properties:
registers. Set this flag for HCDs with big endian descriptors and big registers. Set this flag for HCDs with big endian descriptors and big
endian registers. endian registers.
power-domains:
maxItems: 1
required: required:
- compatible - compatible
- reg - reg
...@@ -97,6 +100,18 @@ required: ...@@ -97,6 +100,18 @@ required:
additionalProperties: false additionalProperties: false
allOf:
- if:
properties:
compatible:
contains:
enum:
- fsl,imx8qm-spdif
- fsl,imx8qxp-spdif
then:
required:
- power-domains
examples: examples:
- | - |
spdif@2004000 { spdif@2004000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment