forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'mailbox-v4.17' of git://git.linaro.org/landing-teams/worki…
…ng/fujitsu/integration Pull mailbox updates from Jassi Brar: - New Hi3660 mailbox driver - Fix TEGRA Kconfig warning - Broadcom: use dma_pool_zalloc instead of dma_pool_alloc+memset * tag 'mailbox-v4.17' of git://git.linaro.org/landing-teams/working/fujitsu/integration: mailbox: Add support for Hi3660 mailbox dt-bindings: mailbox: Introduce Hi3660 controller binding mailbox: tegra: relax TEGRA_HSP_MBOX Kconfig dependencies maillbox: bcm-flexrm-mailbox: Use dma_pool_zalloc()
- Loading branch information
Showing
5 changed files
with
375 additions
and
3 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
Documentation/devicetree/bindings/mailbox/hisilicon,hi3660-mailbox.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
Hisilicon Hi3660 Mailbox Controller | ||
|
||
Hisilicon Hi3660 mailbox controller supports up to 32 channels. Messages | ||
are passed between processors, including application & communication | ||
processors, MCU, HIFI, etc. Each channel is unidirectional and accessed | ||
by using MMIO registers; it supports maximum to 8 words message. | ||
|
||
Controller | ||
---------- | ||
|
||
Required properties: | ||
- compatible: : Shall be "hisilicon,hi3660-mbox" | ||
- reg: : Offset and length of the device's register set | ||
- #mbox-cells: : Must be 3 | ||
<&phandle channel dst_irq ack_irq> | ||
phandle : Label name of controller | ||
channel : Channel number | ||
dst_irq : Remote interrupt vector | ||
ack_irq : Local interrupt vector | ||
|
||
- interrupts: : Contains the two IRQ lines for mailbox. | ||
|
||
Example: | ||
|
||
mailbox: mailbox@e896b000 { | ||
compatible = "hisilicon,hi3660-mbox"; | ||
reg = <0x0 0xe896b000 0x0 0x1000>; | ||
interrupts = <0x0 0xc0 0x4>, | ||
<0x0 0xc1 0x4>; | ||
#mbox-cells = <3>; | ||
}; | ||
|
||
Client | ||
------ | ||
|
||
Required properties: | ||
- compatible : See the client docs | ||
- mboxes : Standard property to specify a Mailbox (See ./mailbox.txt) | ||
Cells must match 'mbox-cells' (See Controller docs above) | ||
|
||
Optional properties | ||
- mbox-names : Name given to channels seen in the 'mboxes' property. | ||
|
||
Example: | ||
|
||
stub_clock: stub_clock@e896b500 { | ||
compatible = "hisilicon,hi3660-stub-clk"; | ||
reg = <0x0 0xe896b500 0x0 0x0100>; | ||
#clock-cells = <1>; | ||
mboxes = <&mailbox 13 3 0>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.