Skip to content

Commit 78aaf42

Browse files
nxpfranklimathieupoirier
authored andcommitted
dt-bindings: remoteproc: imx_rproc: Add minItems for power-domain
"fsl,imx8qxp-cm4" and "fsl,imx8qm-cm4" need minimum 2 power domains. Other platform doesn't require 'power-domain'. Signed-off-by: Frank Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Rob Herring (Arm) <[email protected]> Signed-off-by: Mathieu Poirier <[email protected]>
1 parent dce68a4 commit 78aaf42

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ properties:
5959
maxItems: 32
6060

6161
power-domains:
62+
minItems: 2
6263
maxItems: 8
6364

6465
fsl,auto-boot:
@@ -99,6 +100,20 @@ allOf:
99100
properties:
100101
fsl,iomuxc-gpr: false
101102

103+
- if:
104+
properties:
105+
compatible:
106+
contains:
107+
enum:
108+
- fsl,imx8qxp-cm4
109+
- fsl,imx8qm-cm4
110+
then:
111+
required:
112+
- power-domains
113+
else:
114+
properties:
115+
power-domains: false
116+
102117
additionalProperties: false
103118

104119
examples:

0 commit comments

Comments
 (0)