Skip to content

Commit 241aba6

Browse files
MrVanJassiBrar
authored andcommitted
dt-bindings: mailbox: imx-mu: add i.MX93 S4 MU support
Similar to i.MX8ULP S4 MU, i.MX93 MU is dedicated for communication between Sentinel and Cortex-A cores from hardware design, it could not be reused for other purpose. However i.MX93 S4 MU use separate tx/rx interrupt, so update interrupts and add interrupt-names property. Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Peng Fan <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
1 parent 6149a54 commit 241aba6

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

Documentation/devicetree/bindings/mailbox/fsl,mu.yaml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ properties:
2929
- const: fsl,imx8ulp-mu
3030
- const: fsl,imx8-mu-scu
3131
- const: fsl,imx8-mu-seco
32+
- const: fsl,imx93-mu-s4
3233
- const: fsl,imx8ulp-mu-s4
3334
- items:
3435
- const: fsl,imx93-mu
@@ -55,7 +56,14 @@ properties:
5556
maxItems: 1
5657

5758
interrupts:
58-
maxItems: 1
59+
minItems: 1
60+
maxItems: 2
61+
62+
interrupt-names:
63+
minItems: 1
64+
items:
65+
- const: tx
66+
- const: rx
5967

6068
"#mbox-cells":
6169
description: |
@@ -90,6 +98,27 @@ required:
9098
- interrupts
9199
- "#mbox-cells"
92100

101+
allOf:
102+
- if:
103+
properties:
104+
compatible:
105+
enum:
106+
- fsl,imx93-mu-s4
107+
then:
108+
properties:
109+
interrupt-names:
110+
minItems: 2
111+
interrupts:
112+
minItems: 2
113+
114+
else:
115+
properties:
116+
interrupts:
117+
maxItems: 1
118+
not:
119+
required:
120+
- interrupt-names
121+
93122
additionalProperties: false
94123

95124
examples:

0 commit comments

Comments
 (0)