aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2018-08-03 01:29:17 -0400
committerJassi Brar <jaswinder.singh@linaro.org>2018-08-15 00:23:07 -0400
commitd6ef139c83cc562b29a5cdac270f0a562c1c8eda (patch)
tree98f1ea7e33b5f5884d403a63e31fbc1f82f4a597
parent480285bd11e63d9e225397516db39430f3e1b9c4 (diff)
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>
-rw-r--r--Documentation/devicetree/bindings/mailbox/fsl,mu.txt26
1 files changed, 23 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/mailbox/fsl,mu.txt b/Documentation/devicetree/bindings/mailbox/fsl,mu.txt
index 90e4905dfc69..f3cf77eb5ab4 100644
--- a/Documentation/devicetree/bindings/mailbox/fsl,mu.txt
+++ b/Documentation/devicetree/bindings/mailbox/fsl,mu.txt
@@ -18,11 +18,31 @@ Messaging Unit Device Node:
18Required properties: 18Required properties:
19------------------- 19-------------------
20- compatible : should be "fsl,<chip>-mu", the supported chips include 20- 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.
22- reg : Should contain the registers location and length 24- reg : Should contain the registers location and length
23- interrupts : Interrupt number. The interrupt specifier format depends 25- interrupts : Interrupt number. The interrupt specifier format depends
24 on the interrupt controller parent. 26 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
42Optional properties:
43-------------------
44- clocks : phandle to the input clock.
45- fsl,mu-side-b : Should be set for side B MU.
26 46
27Examples: 47Examples:
28-------- 48--------
@@ -30,5 +50,5 @@ lsio_mu0: mailbox@5d1b0000 {
30 compatible = "fsl,imx8qxp-mu"; 50 compatible = "fsl,imx8qxp-mu";
31 reg = <0x0 0x5d1b0000 0x0 0x10000>; 51 reg = <0x0 0x5d1b0000 0x0 0x10000>;
32 interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>; 52 interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
33 #mbox-cells = <0>; 53 #mbox-cells = <2>;
34}; 54};