Skip to content

Commit 1e3563e

Browse files
committed
dts: bindings: scmi: Update shmem from phandle into phandles
Extends the SCMI shared memory structure to phandles, allowing TX and RX channels to use different shared memory regions. This is necessary for platforms like i.MX95, where TX and RX notifications are mapped to different addresses. RX channel is not mandatory and depends on the platform's support Signed-off-by: Yongxu Wang <[email protected]>
1 parent ab388ea commit 1e3563e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

dts/bindings/firmware/arm,scmi.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,12 @@ include: [base.yaml]
4848

4949
properties:
5050
shmem:
51-
type: phandle
51+
type: phandles
5252
required: true
5353
description: |
54-
Phandle to node describing TX channel shared memory area.
55-
This translates to a **single** SCMI transmit channel.
54+
Phandle array to nodes describing shared memory areas for SCMI transport.
55+
The first entry corresponds to the TX channel, and the second (if present)
56+
corresponds to the RX channel.
5657
5758
mboxes:
5859
required: true
@@ -62,6 +63,8 @@ properties:
6263
mailbox channel for signaling)
6364
2) tx_reply - 2 mbox / 1 shmem (platform and agent use different
6465
mailbox channels for signaling)
66+
3) tx + rx - 2 mbox / 2 shmem (platform and agent use different mailbox
67+
channels and shmem between scmi_command and scmi_notification)
6568
6669
mbox-names:
6770
required: true

0 commit comments

Comments
 (0)