devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Enable Mailboxes for AM57xx IDKs
@ 2017-05-19 20:47 Suman Anna
       [not found] ` <20170519204742.1563-1-s-anna-l0cyMroinI0@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Suman Anna @ 2017-05-19 20:47 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Suman Anna

Hi Tony,

This series enables the mailbox nodes to be used for communicating with
the DSPs and IPUs on AM57xx IDKs using IPC 3.x. The mailbox nodes themselves
were already defined/added before for other DRA7 boards, and these patches
simply enable the respective nodes for the IDKs.

Patches are based on 4.12-rc1 and are intended for the 4.13 merge
window.

regards
Suman

Suman Anna (2):
  ARM: dts: am572x-idk: Enable the system mailboxes 5 and 6
  ARM: dts: am571x-idk: Enable the system mailboxes 5 and 6

 arch/arm/boot/dts/am571x-idk.dts | 17 +++++++++++++++++
 arch/arm/boot/dts/am572x-idk.dts | 20 ++++++++++++++++++++
 2 files changed, 37 insertions(+)

-- 
2.12.0

--
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] 4+ messages in thread

* [PATCH 1/2] ARM: dts: am572x-idk: Enable the system mailboxes 5 and 6
       [not found] ` <20170519204742.1563-1-s-anna-l0cyMroinI0@public.gmane.org>
@ 2017-05-19 20:47   ` Suman Anna
  2017-05-19 20:47   ` [PATCH 2/2] ARM: dts: am571x-idk: " Suman Anna
  2017-05-26 15:46   ` [PATCH 0/2] Enable Mailboxes for AM57xx IDKs Tony Lindgren
  2 siblings, 0 replies; 4+ messages in thread
From: Suman Anna @ 2017-05-19 20:47 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Suman Anna

Enable the System Mailboxes 5 and 6 and the corresponding
child sub-mailbox (IPC 3.x) nodes for the AM572x IDK board.
This is needed to enable communication with the respective
remote processors IPU1, IPU2, DSP1 and DSP2 from the MPU.

Signed-off-by: Suman Anna <s-anna-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/am572x-idk.dts | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm/boot/dts/am572x-idk.dts b/arch/arm/boot/dts/am572x-idk.dts
index 8350b4b34b08..9da6d83ca185 100644
--- a/arch/arm/boot/dts/am572x-idk.dts
+++ b/arch/arm/boot/dts/am572x-idk.dts
@@ -91,3 +91,23 @@
 &pcie1 {
 	gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
 };
+
+&mailbox5 {
+	status = "okay";
+	mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
+		status = "okay";
+	};
+	mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
+		status = "okay";
+	};
+};
+
+&mailbox6 {
+	status = "okay";
+	mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
+		status = "okay";
+	};
+	mbox_dsp2_ipc3x: mbox_dsp2_ipc3x {
+		status = "okay";
+	};
+};
-- 
2.12.0

--
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 related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: dts: am571x-idk: Enable the system mailboxes 5 and 6
       [not found] ` <20170519204742.1563-1-s-anna-l0cyMroinI0@public.gmane.org>
  2017-05-19 20:47   ` [PATCH 1/2] ARM: dts: am572x-idk: Enable the system mailboxes 5 and 6 Suman Anna
@ 2017-05-19 20:47   ` Suman Anna
  2017-05-26 15:46   ` [PATCH 0/2] Enable Mailboxes for AM57xx IDKs Tony Lindgren
  2 siblings, 0 replies; 4+ messages in thread
From: Suman Anna @ 2017-05-19 20:47 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Suman Anna

Enable the System Mailboxes 5 and 6 and the corresponding
child sub-mailbox (IPC 3.x) nodes for the AM571x IDK board.
This is needed to enable communication with the respective
remote processors IPU1, IPU2, and DSP1 from the MPU.

Signed-off-by: Suman Anna <s-anna-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/am571x-idk.dts | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/arm/boot/dts/am571x-idk.dts b/arch/arm/boot/dts/am571x-idk.dts
index ad68d1eb3bc3..7b207835b2d1 100644
--- a/arch/arm/boot/dts/am571x-idk.dts
+++ b/arch/arm/boot/dts/am571x-idk.dts
@@ -79,3 +79,20 @@
 	id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>;
 	vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>;
 };
+
+&mailbox5 {
+	status = "okay";
+	mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
+		status = "okay";
+	};
+	mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
+		status = "okay";
+	};
+};
+
+&mailbox6 {
+	status = "okay";
+	mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
+		status = "okay";
+	};
+};
-- 
2.12.0

--
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 related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] Enable Mailboxes for AM57xx IDKs
       [not found] ` <20170519204742.1563-1-s-anna-l0cyMroinI0@public.gmane.org>
  2017-05-19 20:47   ` [PATCH 1/2] ARM: dts: am572x-idk: Enable the system mailboxes 5 and 6 Suman Anna
  2017-05-19 20:47   ` [PATCH 2/2] ARM: dts: am571x-idk: " Suman Anna
@ 2017-05-26 15:46   ` Tony Lindgren
  2 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2017-05-26 15:46 UTC (permalink / raw)
  To: Suman Anna
  Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

* Suman Anna <s-anna-l0cyMroinI0@public.gmane.org> [170519 13:51]:
> Hi Tony,
> 
> This series enables the mailbox nodes to be used for communicating with
> the DSPs and IPUs on AM57xx IDKs using IPC 3.x. The mailbox nodes themselves
> were already defined/added before for other DRA7 boards, and these patches
> simply enable the respective nodes for the IDKs.
> 
> Patches are based on 4.12-rc1 and are intended for the 4.13 merge
> window.

Applying into omap-for-v4.13/dt thanks.

Tony
--
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] 4+ messages in thread

end of thread, other threads:[~2017-05-26 15:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-19 20:47 [PATCH 0/2] Enable Mailboxes for AM57xx IDKs Suman Anna
     [not found] ` <20170519204742.1563-1-s-anna-l0cyMroinI0@public.gmane.org>
2017-05-19 20:47   ` [PATCH 1/2] ARM: dts: am572x-idk: Enable the system mailboxes 5 and 6 Suman Anna
2017-05-19 20:47   ` [PATCH 2/2] ARM: dts: am571x-idk: " Suman Anna
2017-05-26 15:46   ` [PATCH 0/2] Enable Mailboxes for AM57xx IDKs Tony Lindgren

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