Skip to content

Commit d8d301a

Browse files
tq-steinarobherring
authored andcommitted
dt-bindings: interrupt-controller: fsl,irqsteer: Add imx8mp/imx8qxp support
Some SoC like i.MX8MP or i.MX8QXP use a power-domain for this IP. Add SoC-specific compatibles, which also requires a power-domain. Signed-off-by: Alexander Stein <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent 83138f8 commit d8d301a

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ properties:
1414
oneOf:
1515
- const: fsl,imx-irqsteer
1616
- items:
17-
- const: fsl,imx8m-irqsteer
17+
- enum:
18+
- fsl,imx8m-irqsteer
19+
- fsl,imx8mp-irqsteer
20+
- fsl,imx8qxp-irqsteer
1821
- const: fsl,imx-irqsteer
1922

2023
reg:
@@ -42,6 +45,9 @@ properties:
4245
clock-names:
4346
const: ipg
4447

48+
power-domains:
49+
maxItems: 1
50+
4551
interrupt-controller: true
4652

4753
"#interrupt-cells":
@@ -70,6 +76,21 @@ required:
7076
- fsl,channel
7177
- fsl,num-irqs
7278

79+
allOf:
80+
- if:
81+
properties:
82+
compatible:
83+
contains:
84+
enum:
85+
- fsl,imx8mp-irqsteer
86+
- fsl,imx8qxp-irqsteer
87+
then:
88+
required:
89+
- power-domains
90+
else:
91+
properties:
92+
power-domains: false
93+
7394
additionalProperties: false
7495

7596
examples:

0 commit comments

Comments
 (0)