From: nm@ti.com (Nishanth Menon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V2 1/2] Documentation: dt: mailbox: Add TI Message Manager
Date: Fri, 26 Feb 2016 16:24:11 -0600 [thread overview]
Message-ID: <1456525452-30638-2-git-send-email-nm@ti.com> (raw)
In-Reply-To: <1456525452-30638-1-git-send-email-nm@ti.com>
Message Manager is a hardware block used to communicate with various
processor systems within certain Texas Instrument's Keystone
generation SoCs.
This hardware engine is used to transfer messages from various compute
entities(or processors) within the SoC. It is designed to be self
contained without needing software initialization for operation.
Signed-off-by: Nishanth Menon <nm@ti.com>
---
Changes in V2: major refactor of binding - Thanks for all the review from Rob and Jassi
- Generic compatible property is dropped
- no more child nodes, instead interrupt information is provided as part
of the the message manager node it self - part of data moved into
driver based on compatible property.
- mbox-cells is 2 (passes queue_id and proxy_id) -added elaboration as well
- change in interrupt names
V1: https://patchwork.kernel.org/patch/8237111/
.../bindings/mailbox/ti,message-manager.txt | 50 ++++++++++++++++++++++
1 file changed, 50 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mailbox/ti,message-manager.txt
diff --git a/Documentation/devicetree/bindings/mailbox/ti,message-manager.txt b/Documentation/devicetree/bindings/mailbox/ti,message-manager.txt
new file mode 100644
index 000000000000..b449d025049f
--- /dev/null
+++ b/Documentation/devicetree/bindings/mailbox/ti,message-manager.txt
@@ -0,0 +1,50 @@
+Texas Instruments' Message Manager Driver
+========================================
+
+The Texas Instruments' Message Manager is a mailbox controller that has
+configurable queues selectable at SoC(System on Chip) integration. The Message
+manager is broken up into queues in different address regions that are called
+"proxies" - each instance is unidirectional and is instantiated at SoC
+integration level to indicate receive or transmit path.
+
+Message Manager Device Node:
+===========================
+Required properties:
+--------------------
+- compatible: Shall be: "ti,k2g-message-manager"
+- reg-names queue_proxy_region - Map the queue proxy region.
+ queue_state_debug_region - Map the queue state debug
+ region.
+- reg: Contains the register map per reg-names.
+- #mbox-cells Shall be 2. Contains the queue ID and proxy ID in that
+ order referring to the transfer path.
+- interrupt-names: Contains interrupt names matching the rx transfer path
+ for a given SoC. Receive interrupts shall be of the
+ format: "rx_<QID>_<PID>".
+ For ti,k2g-message-manager, this shall contain:
+ "rx_005_002", "rx_057_002"
+- interrupts: Contains the interrupt information corresponding to
+ interrupt-names property.
+
+Example(K2G):
+------------
+
+ msgmgr: msgmgr at 02a00000 {
+ compatible = "ti,k2g-message-manager";
+ #mbox-cells = <2>;
+ reg-names = "queue_proxy_region", "queue_state_debug_region";
+ reg = <0x02a00000 0x400000>, <0x028c3400 0x400>;
+ interrupt-names = "rx_005", "rx_057";
+ interrupts = <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
+ pmmc: pmmc {
+ [...]
+ mbox-names = "rx", "tx";
+ # RX queue ID is 5, proxy ID is 2
+ # TX queue ID is 0, proxy ID is 0
+ mboxes= <&msgmgr 5 2>,
+ <&msgmgr 0 0>;
+ [...]
+ };
--
2.7.0
next prev parent reply other threads:[~2016-02-26 22:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-26 22:24 [PATCH V2 0/2] mailbox: Introduce Texas Instrument's message manager driver Nishanth Menon
2016-02-26 22:24 ` Nishanth Menon [this message]
2016-03-03 21:09 ` [PATCH V2 1/2] Documentation: dt: mailbox: Add TI Message Manager Rob Herring
2016-02-26 22:24 ` [PATCH V2 2/2] mailbox: Introduce TI message manager driver Nishanth Menon
2016-03-04 5:18 ` Jassi Brar
2016-03-04 13:05 ` Nishanth Menon
2016-03-07 18:31 ` Jassi Brar
2016-03-07 19:18 ` Nishanth Menon
2016-03-08 7:10 ` Jassi Brar
2016-03-08 14:37 ` Nishanth Menon
2016-03-15 5:31 ` Jassi Brar
2016-03-15 17:05 ` Nishanth Menon
2016-03-16 5:16 ` Jassi Brar
2016-03-17 0:29 ` Nishanth Menon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1456525452-30638-2-git-send-email-nm@ti.com \
--to=nm@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).