All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: keystone-k2g: Add Message Manager node
@ 2016-08-19 20:47 ` Nishanth Menon
  0 siblings, 0 replies; 9+ messages in thread
From: Nishanth Menon @ 2016-08-19 20:47 UTC (permalink / raw)
  To: linux-arm-kernel

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 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>;
+		};
 	};
 };
-- 
2.9.1.200.gb1ec08f

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH] ARM: dts: keystone-k2g: Add Message Manager node
@ 2016-08-19 20:47 ` Nishanth Menon
  0 siblings, 0 replies; 9+ messages in thread
From: Nishanth Menon @ 2016-08-19 20:47 UTC (permalink / raw)
  To: Santosh Shilimkar
  Cc: Nishanth Menon, devicetree, linux-kernel, linux-arm-kernel

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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH] ARM: dts: keystone-k2g: Add Message Manager node
@ 2016-08-19 20:47 ` Nishanth Menon
  0 siblings, 0 replies; 9+ messages in thread
From: Nishanth Menon @ 2016-08-19 20:47 UTC (permalink / raw)
  To: Santosh Shilimkar
  Cc: linux-kernel, devicetree, linux-arm-kernel, 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.

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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH] ARM: dts: keystone-k2g: Add Message Manager node
@ 2016-08-19 20:55   ` Santosh Shilimkar
  0 siblings, 0 replies; 9+ messages in thread
From: Santosh Shilimkar @ 2016-08-19 20:55 UTC (permalink / raw)
  To: linux-arm-kernel

On 8/19/2016 1:47 PM, Nishanth Menon wrote:
> 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
>
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 ?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] ARM: dts: keystone-k2g: Add Message Manager node
@ 2016-08-19 20:55   ` Santosh Shilimkar
  0 siblings, 0 replies; 9+ messages in thread
From: Santosh Shilimkar @ 2016-08-19 20:55 UTC (permalink / raw)
  To: Nishanth Menon, Santosh Shilimkar
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On 8/19/2016 1:47 PM, Nishanth Menon wrote:
> 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-l0cyMroinI0@public.gmane.org>
> ---
> 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 ?
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] ARM: dts: keystone-k2g: Add Message Manager node
@ 2016-08-19 20:55   ` Santosh Shilimkar
  0 siblings, 0 replies; 9+ messages in thread
From: Santosh Shilimkar @ 2016-08-19 20:55 UTC (permalink / raw)
  To: Nishanth Menon, Santosh Shilimkar
  Cc: linux-kernel, devicetree, linux-arm-kernel

On 8/19/2016 1:47 PM, Nishanth Menon wrote:
> 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
>
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 ?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] ARM: dts: keystone-k2g: Add Message Manager node
@ 2016-08-19 23:03     ` Nishanth Menon
  0 siblings, 0 replies; 9+ messages in thread
From: Nishanth Menon @ 2016-08-19 23:03 UTC (permalink / raw)
  To: linux-arm-kernel

Santosh,

On Fri, Aug 19, 2016 at 3:55 PM, Santosh Shilimkar
<santosh.shilimkar@oracle.com> wrote:
>>
> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] ARM: dts: keystone-k2g: Add Message Manager node
@ 2016-08-19 23:03     ` Nishanth Menon
  0 siblings, 0 replies; 9+ messages in thread
From: Nishanth Menon @ 2016-08-19 23:03 UTC (permalink / raw)
  To: Santosh Shilimkar
  Cc: Santosh Shilimkar, dt list, lkml,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org

Santosh,

On Fri, Aug 19, 2016 at 3:55 PM, Santosh Shilimkar
<santosh.shilimkar-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> wrote:
>>
> 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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] ARM: dts: keystone-k2g: Add Message Manager node
@ 2016-08-19 23:03     ` Nishanth Menon
  0 siblings, 0 replies; 9+ messages in thread
From: Nishanth Menon @ 2016-08-19 23:03 UTC (permalink / raw)
  To: Santosh Shilimkar
  Cc: Santosh Shilimkar, dt list, lkml,
	linux-arm-kernel@lists.infradead.org

Santosh,

On Fri, Aug 19, 2016 at 3:55 PM, Santosh Shilimkar
<santosh.shilimkar@oracle.com> wrote:
>>
> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-08-19 23:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-19 20:47 [PATCH] ARM: dts: keystone-k2g: Add Message Manager node Nishanth Menon
2016-08-19 20:47 ` Nishanth Menon
2016-08-19 20:47 ` Nishanth Menon
2016-08-19 20:55 ` Santosh Shilimkar
2016-08-19 20:55   ` Santosh Shilimkar
2016-08-19 20:55   ` Santosh Shilimkar
2016-08-19 23:03   ` Nishanth Menon
2016-08-19 23:03     ` Nishanth Menon
2016-08-19 23:03     ` Nishanth Menon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.