Skip to content

Commit 81186dc

Browse files
tnmyshJassiBrar
authored andcommitted
dt-bindings: zynqmp: add destination mailbox compatible
Current dt-bindings does not contain compatible property for child mailbox node. Child mailbox nodes are used to represent destination (remote) IPI agents. The compatible property for all destination mailboxes must be required to identify the node. This addition of new required property does not break ABI as current driver does not use this compatible property but, new features in driver should use this property. Signed-off-by: Tanmay Shah <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
1 parent 3f7cc9a commit 81186dc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ patternProperties:
7474
type: object # DT nodes are json objects
7575
additionalProperties: false
7676
properties:
77+
78+
compatible:
79+
const: xlnx,zynqmp-ipi-dest-mailbox
80+
7781
xlnx,ipi-id:
7882
description:
7983
Remote Xilinx IPI agent ID of which the mailbox is connected to.
@@ -95,6 +99,7 @@ patternProperties:
9599
- const: remote_response_region
96100

97101
required:
102+
- compatible
98103
- reg
99104
- reg-names
100105
- "#mbox-cells"
@@ -124,6 +129,7 @@ examples:
124129
ranges;
125130
126131
mailbox: mailbox@ff9905c0 {
132+
compatible = "xlnx,zynqmp-ipi-dest-mailbox";
127133
reg = <0x0 0xff9905c0 0x0 0x20>,
128134
<0x0 0xff9905e0 0x0 0x20>,
129135
<0x0 0xff990e80 0x0 0x20>,

0 commit comments

Comments
 (0)