• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Amlogic Meson MHU Mailbox Driver
2================================
3
4The Amlogic's Meson SoCs Message-Handling-Unit (MHU) is a mailbox controller
5that has 3 independent channels/links to communicate with remote processor(s).
6MHU links are hardwired on a platform. A link raises interrupt for any
7received data. However, there is no specified way of knowing if the sent
8data has been read by the remote. This driver assumes the sender polls
9STAT register and the remote clears it after having read the data.
10
11Mailbox Device Node:
12====================
13
14Required properties:
15--------------------
16- compatible:		Shall be "amlogic,meson-gxbb-mhu"
17- reg:			Contains the mailbox register address range (base
18			address and length)
19- #mbox-cells		Shall be 1 - the index of the channel needed.
20- interrupts:		Contains the interrupt information corresponding to
21			each of the 2 links of MHU.
22
23Example:
24--------
25
26	mailbox: mailbox@c883c404 {
27		#mbox-cells = <1>;
28		compatible = "amlogic,meson-gxbb-mhu";
29		reg = <0 0xc883c404 0 0x4c>;
30		interrupts = <0 208 IRQ_TYPE_EDGE_RISING>,
31			     <0 209 IRQ_TYPE_EDGE_RISING>,
32			     <0 210 IRQ_TYPE_EDGE_RISING>;
33		#mbox-cells = <1>;
34	};
35