Skip to content

Commit d6ef139

Browse files
oleremJassiBrar
authored andcommitted
dt-bindings: mailbox: imx-mu: add generic MU channel support
Each MU has four pairs of rx/tx data register with four rx/tx interrupts which can also be used as a separate channel. Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
1 parent 480285b commit d6ef139

File tree

1 file changed

+23
-3
lines changed
  • Documentation/devicetree/bindings/mailbox

1 file changed

+23
-3
lines changed

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

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,37 @@ Messaging Unit Device Node:
1818
Required properties:
1919
-------------------
2020
- compatible : should be "fsl,<chip>-mu", the supported chips include
21-
imx8qxp, imx8qm.
21+
imx6sx, imx7s, imx8qxp, imx8qm.
22+
The "fsl,imx6sx-mu" compatible is seen as generic and should
23+
be included together with SoC specific compatible.
2224
- reg : Should contain the registers location and length
2325
- interrupts : Interrupt number. The interrupt specifier format depends
2426
on the interrupt controller parent.
25-
- #mbox-cells: Must be 0. Number of cells in a mailbox
27+
- #mbox-cells: Must be 2.
28+
<&phandle type channel>
29+
phandle : Label name of controller
30+
type : Channel type
31+
channel : Channel number
32+
33+
This MU support 4 type of unidirectional channels, each type
34+
has 4 channels. A total of 16 channels. Following types are
35+
supported:
36+
0 - TX channel with 32bit transmit register and IRQ transmit
37+
acknowledgment support.
38+
1 - RX channel with 32bit receive register and IRQ support
39+
2 - TX doorbell channel. Without own register and no ACK support.
40+
3 - RX doorbell channel.
41+
42+
Optional properties:
43+
-------------------
44+
- clocks : phandle to the input clock.
45+
- fsl,mu-side-b : Should be set for side B MU.
2646

2747
Examples:
2848
--------
2949
lsio_mu0: mailbox@5d1b0000 {
3050
compatible = "fsl,imx8qxp-mu";
3151
reg = <0x0 0x5d1b0000 0x0 0x10000>;
3252
interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
33-
#mbox-cells = <0>;
53+
#mbox-cells = <2>;
3454
};

0 commit comments

Comments
 (0)