Commit 78aaf429 authored by Frank Li's avatar Frank Li Committed by Mathieu Poirier

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: default avatarFrank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20240610151721.274424-1-Frank.Li@nxp.comReviewed-by: default avatarRob Herring (Arm) <robh@kernel.org>
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
parent dce68a49
......@@ -59,6 +59,7 @@ properties:
maxItems: 32
power-domains:
minItems: 2
maxItems: 8
fsl,auto-boot:
......@@ -99,6 +100,20 @@ allOf:
properties:
fsl,iomuxc-gpr: false
- if:
properties:
compatible:
contains:
enum:
- fsl,imx8qxp-cm4
- fsl,imx8qm-cm4
then:
required:
- power-domains
else:
properties:
power-domains: false
additionalProperties: false
examples:
......
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