Skip to contentSkip to conversation

ARM: dts: keystone-k2g: Add Message Manager node

PATCH In review Nishanth Menon 2 participants 3 messages Aug 19, 2016 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: keystone-k2g: Add Message Manager node

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.

---
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(+)
arch/arm/boot/dts/keystone-k2g.dtsi +12 -0
index 3372615b885c..25f5aaa05197 100644
@@ -93,5 +93,17 @@
 			clock-frequency = <200000000>;
 			status = "disabled";
 		};
+
+		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>;
+		};
 	};
 };
Signature · 1 line
2.9.1.200.gb1ec08f
#1 lore raw
Quoted 4 lines · Nishanth Menon

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.

Quoted 9 lines

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

Patch looks good Nishant. Do you want to send a patch to update the config to enable TI_MESSAGE_MANAGER and MAILBOX ? Are we missing anything upstream yet to enable these ?

#2 lore raw

Santosh,

Quoted 4 lines · Santosh Shilimkar
Quoted 1 line

Patch looks good Nishant. Do you want to send a patch to update the config to enable TI_MESSAGE_MANAGER and MAILBOX ? Are we missing anything upstream yet to enable these ?

for message manager, nothing other than the dts(this patch) and defconfig changes. I just finished putting the stack together and re-testing things and they work good. will send the defconfig in a few mins.

---
Regards,
Nishanth Menon