Skip to content

Commit 39451eb

Browse files
MrVanrobherring
authored andcommitted
dt-bindings: firmware: fsl,scu: Mark multi-channel MU layouts as deprecated
The SCU MU driver has already supported the simple and efficient single-TX and single-RX channel layout since 2021. The older multi-channel MU configurations (tx0..tx3 and rx0..rx3) are less efficient in practice and not needed. Mark these legacy mbox-names and mboxes tuple layouts as deprecated in the binding schema. The driver continues to support them for backward compatibility in case firmware publishes the legacy properties. The example section is updated accordingly to demonstrate the recommended layout. Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260127-scu-v2-1-03f3aaa56e1b@nxp.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent a91b99f commit 39451eb

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

Documentation/devicetree/bindings/firmware/fsl,scu.yaml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ properties:
7676
- description: TX0 MU channel
7777
- description: RX0 MU channel
7878
- description: optional MU channel for general interrupt
79-
- items:
79+
- deprecated: true
80+
items:
8081
- description: TX0 MU channel
8182
- description: TX1 MU channel
8283
- description: TX2 MU channel
@@ -85,7 +86,8 @@ properties:
8586
- description: RX1 MU channel
8687
- description: RX2 MU channel
8788
- description: RX3 MU channel
88-
- items:
89+
- deprecated: true
90+
items:
8991
- description: TX0 MU channel
9092
- description: TX1 MU channel
9193
- description: TX2 MU channel
@@ -105,7 +107,8 @@ properties:
105107
- const: tx0
106108
- const: rx0
107109
- const: gip3
108-
- items:
110+
- deprecated: true
111+
items:
109112
- const: tx0
110113
- const: tx1
111114
- const: tx2
@@ -114,7 +117,8 @@ properties:
114117
- const: rx1
115118
- const: rx2
116119
- const: rx3
117-
- items:
120+
- deprecated: true
121+
items:
118122
- const: tx0
119123
- const: tx1
120124
- const: tx2
@@ -167,11 +171,9 @@ examples:
167171
firmware {
168172
system-controller {
169173
compatible = "fsl,imx-scu";
170-
mbox-names = "tx0", "tx1", "tx2", "tx3",
171-
"rx0", "rx1", "rx2", "rx3",
172-
"gip3";
173-
mboxes = <&lsio_mu1 0 0 &lsio_mu1 0 1 &lsio_mu1 0 2 &lsio_mu1 0 3
174-
&lsio_mu1 1 0 &lsio_mu1 1 1 &lsio_mu1 1 2 &lsio_mu1 1 3
174+
mbox-names = "tx0", "rx0", "gip3";
175+
mboxes = <&lsio_mu1 0 0
176+
&lsio_mu1 1 0
175177
&lsio_mu1 3 3>;
176178
177179
clock-controller {

0 commit comments

Comments
 (0)