~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mailbox/brcm,iproc-flexrm-mbox.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 Broadcom FlexRM Ring Manager
  2 ============================
  3 The Broadcom FlexRM ring manager provides a set of rings which can be
  4 used to submit work to offload engines. An SoC may have multiple FlexRM
  5 hardware blocks. There is one device tree entry per FlexRM block. The
  6 FlexRM driver will create a mailbox-controller instance for given FlexRM
  7 hardware block where each mailbox channel is a separate FlexRM ring.
  8 
  9 Required properties:
 10 --------------------
 11 - compatible:   Should be "brcm,iproc-flexrm-mbox"
 12 - reg:          Specifies base physical address and size of the FlexRM
 13                 ring registers
 14 - msi-parent:   Phandles (and potential Device IDs) to MSI controllers
 15                 The FlexRM engine will send MSIs (instead of wired
 16                 interrupts) to CPU. There is one MSI for each FlexRM ring.
 17                 Refer devicetree/bindings/interrupt-controller/msi.txt
 18 - #mbox-cells:  Specifies the number of cells needed to encode a mailbox
 19                 channel. This should be 3.
 20 
 21                 The 1st cell is the mailbox channel number.
 22 
 23                 The 2nd cell contains MSI completion threshold. This is the
 24                 number of completion messages for which FlexRM will inject
 25                 one MSI interrupt to CPU.
 26 
 27                 The 3rd cell contains MSI timer value representing time for
 28                 which FlexRM will wait to accumulate N completion messages
 29                 where N is the value specified by 2nd cell above. If FlexRM
 30                 does not get required number of completion messages in time
 31                 specified by this cell then it will inject one MSI interrupt
 32                 to CPU provided at least one completion message is available.
 33 
 34 Optional properties:
 35 --------------------
 36 - dma-coherent: Present if DMA operations made by the FlexRM engine (such
 37                 as DMA descriptor access, access to buffers pointed by DMA
 38                 descriptors and read/write pointer updates to DDR) are
 39                 cache coherent with the CPU.
 40 
 41 Example:
 42 --------
 43 crypto_mbox: mbox@67000000 {
 44         compatible = "brcm,iproc-flexrm-mbox";
 45         reg = <0x67000000 0x200000>;
 46         msi-parent = <&gic_its 0x7f00>;
 47         #mbox-cells = <3>;
 48 };
 49 
 50 crypto@672c0000 {
 51         compatible = "brcm,spu2-v2-crypto";
 52         reg = <0x672c0000 0x1000>;
 53         mboxes = <&crypto_mbox 0 0x1 0xffff>,
 54                  <&crypto_mbox 1 0x1 0xffff>,
 55                  <&crypto_mbox 16 0x1 0xffff>,
 56                  <&crypto_mbox 17 0x1 0xffff>,
 57                  <&crypto_mbox 30 0x1 0xffff>,
 58                  <&crypto_mbox 31 0x1 0xffff>;
 59 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php