ti,message-manager.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. Texas Instruments' Message Manager Driver
  2. ========================================
  3. The Texas Instruments' Message Manager is a mailbox controller that has
  4. configurable queues selectable at SoC(System on Chip) integration. The Message
  5. manager is broken up into queues in different address regions that are called
  6. "proxies" - each instance is unidirectional and is instantiated at SoC
  7. integration level to indicate receive or transmit path.
  8. Message Manager Device Node:
  9. ===========================
  10. Required properties:
  11. --------------------
  12. - compatible: Shall be: "ti,k2g-message-manager"
  13. - reg-names queue_proxy_region - Map the queue proxy region.
  14. queue_state_debug_region - Map the queue state debug
  15. region.
  16. - reg: Contains the register map per reg-names.
  17. - #mbox-cells Shall be 2. Contains the queue ID and proxy ID in that
  18. order referring to the transfer path.
  19. - interrupt-names: Contains interrupt names matching the rx transfer path
  20. for a given SoC. Receive interrupts shall be of the
  21. format: "rx_<QID>_<PID>".
  22. For ti,k2g-message-manager, this shall contain:
  23. "rx_005_002", "rx_057_002"
  24. - interrupts: Contains the interrupt information corresponding to
  25. interrupt-names property.
  26. Example(K2G):
  27. ------------
  28. msgmgr: msgmgr@02a00000 {
  29. compatible = "ti,k2g-message-manager";
  30. #mbox-cells = <2>;
  31. reg-names = "queue_proxy_region", "queue_state_debug_region";
  32. reg = <0x02a00000 0x400000>, <0x028c3400 0x400>;
  33. interrupt-names = "rx_005", "rx_057";
  34. interrupts = <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
  35. <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>;
  36. };
  37. pmmc: pmmc {
  38. [...]
  39. mbox-names = "rx", "tx";
  40. # RX queue ID is 5, proxy ID is 2
  41. # TX queue ID is 0, proxy ID is 0
  42. mboxes= <&msgmgr 5 2>,
  43. <&msgmgr 0 0>;
  44. [...]
  45. };