Commit ccec9402 authored by Mark Brown's avatar Mark Brown

arm64: dts: imx8qxp add asrc and sai

Merge series from Frank Li <Frank.Li@nxp.com>:

Update binding doc to avoid warning.
parents 64f84dc4 7b5f2072
...@@ -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:
......
...@@ -81,14 +81,12 @@ properties: ...@@ -81,14 +81,12 @@ properties:
dmas: dmas:
minItems: 1 minItems: 1
items: maxItems: 2
- description: DMA controller phandle and request line for RX
- description: DMA controller phandle and request line for TX
dma-names: dma-names:
minItems: 1 minItems: 1
items: items:
- const: rx - enum: [ rx, tx ]
- const: tx - const: tx
interrupts: interrupts:
......
...@@ -31,7 +31,10 @@ properties: ...@@ -31,7 +31,10 @@ properties:
maxItems: 1 maxItems: 1
interrupts: interrupts:
maxItems: 1 minItems: 1
items:
- description: Combined or receive interrupt
- description: Transmit interrupt
dmas: dmas:
items: items:
...@@ -86,6 +89,9 @@ properties: ...@@ -86,6 +89,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 +103,33 @@ required: ...@@ -97,6 +103,33 @@ required:
additionalProperties: false additionalProperties: false
allOf:
- if:
properties:
compatible:
enum:
- fsl,imx8qm-spdif
- fsl,imx8qxp-spdif
then:
properties:
interrupts:
minItems: 2
else:
properties:
interrupts:
maxItems: 1
- 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