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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mailbox/hisilicon,hi6220-mailbox.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 Hisilicon Hi6220 Mailbox Driver
  2 ===============================
  3 
  4 Hisilicon Hi6220 mailbox supports up to 32 channels. Each channel
  5 is unidirectional with a maximum message size of 8 words. I/O is
  6 performed using register access (there is no DMA) and the cell
  7 raises an interrupt when messages are received.
  8 
  9 Mailbox Device Node:
 10 ====================
 11 
 12 Required properties:
 13 --------------------
 14 - compatible:           Shall be "hisilicon,hi6220-mbox"
 15 - reg:                  Contains the mailbox register address range (base
 16                         address and length); the first item is for IPC
 17                         registers, the second item is shared buffer for
 18                         slots.
 19 - #mbox-cells:          Common mailbox binding property to identify the number
 20                         of cells required for the mailbox specifier. Must be 3.
 21                         <&phandle slot_id dst_irq ack_irq>
 22                           phandle: Label name of mailbox controller
 23                           slot_id: Slot id used either for TX or RX
 24                           dst_irq: IRQ identifier index number which used by MCU
 25                           ack_irq: IRQ identifier index number with generating a
 26                                    TX/RX interrupt to application processor,
 27                                    mailbox driver uses it to acknowledge interrupt
 28 - interrupts:           Contains the interrupt information for the mailbox
 29                         device. The format is dependent on which interrupt
 30                         controller the SoCs use.
 31 
 32 Optional Properties:
 33 --------------------
 34 - hi6220,mbox-tx-noirq: Property of MCU firmware's feature, so mailbox driver
 35                         use this flag to ask MCU to enable "automatic idle
 36                         flag" mode or IRQ generated mode to acknowledge a TX
 37                         completion.
 38 
 39 Example:
 40 --------
 41 
 42         mailbox: mailbox@f7510000 {
 43                 compatible = "hisilicon,hi6220-mbox";
 44                 reg = <0x0 0xf7510000 0x0 0x1000>, /* IPC_S */
 45                       <0x0 0x06dff800 0x0 0x0800>; /* Mailbox */
 46                 interrupt-parent = <&gic>;
 47                 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
 48                 #mbox-cells = <3>;
 49         };
 50 
 51 
 52 Mailbox client
 53 ===============
 54 
 55 Required properties:
 56 --------------------
 57 - compatible:           Many (See the client docs).
 58 - mboxes:               Standard property to specify a Mailbox (See ./mailbox.txt)
 59                         Cells must match 'mbox-cells' (See Mailbox Device Node above).
 60 
 61 Optional Properties:
 62 --------------------
 63 - mbox-names:           Name given to channels seen in the 'mboxes' property.
 64 
 65 Example:
 66 --------
 67 
 68         stub_clock: stub_clock {
 69                 compatible = "hisilicon,hi6220-stub-clk";
 70                 hisilicon,hi6220-clk-sram = <&sram>;
 71                 #clock-cells = <1>;
 72                 mbox-names = "mbox-tx", "mbox-rx";
 73                 mboxes = <&mailbox 1 0 11>, <&mailbox 0 1 10>;
 74         };

~ [ 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