devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nishanth Menon <nm@ti.com>
To: Santosh Shilimkar <ssantosh@kernel.org>
Cc: Nishanth Menon <nm@ti.com>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: keystone-k2g: Add Message Manager node
Date: Fri, 19 Aug 2016 15:47:48 -0500	[thread overview]
Message-ID: <20160819204748.21529-1-nm@ti.com> (raw)

Introduce the message manager node for the A15 queues on which Linux
runs. The Message Manager is primarily used for communication with
Power Management controller on K2G.

Signed-off-by: Nishanth Menon <nm@ti.com>
---
based on: v4.8-rc1
Bootlog: http://pastebin.ubuntu.com/23071446/ (with CONFIG_MAILBOX,
   CONFIG_TI_MESSAGE_MANAGER enabled on top of keystone_defconfig)
Binding: Documentation/devicetree/bindings/mailbox/ti,message-manager.txt
SoC Datasheet and relevant documentation: http://www.ti.com/product/66ak2g02
Communication Protocol: http://processors.wiki.ti.com/index.php/TISCI

 arch/arm/boot/dts/keystone-k2g.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi
index 3372615b885c..25f5aaa05197 100644
--- a/arch/arm/boot/dts/keystone-k2g.dtsi
+++ b/arch/arm/boot/dts/keystone-k2g.dtsi
@@ -93,5 +93,17 @@
 			clock-frequency = <200000000>;
 			status = "disabled";
 		};
+
+		msgmgr: msgmgr@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>;
+		};
 	};
 };
-- 
2.9.1.200.gb1ec08f

             reply	other threads:[~2016-08-19 20:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-19 20:47 Nishanth Menon [this message]
     [not found] ` <20160819204748.21529-1-nm-l0cyMroinI0@public.gmane.org>
2016-08-19 20:55   ` [PATCH] ARM: dts: keystone-k2g: Add Message Manager node Santosh Shilimkar
     [not found]     ` <e39f772a-8a30-4c69-fdd9-8b8a639207a6-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2016-08-19 23:03       ` 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=20160819204748.21529-1-nm@ti.com \
    --to=nm@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ssantosh@kernel.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).