Skip to contentSkip to conversation

Enable Mailboxes for AM57xx IDKs

PATCH New Suman Anna 2 participants 4 messages May 19, 2017 – May 26, 2017 Device tree bindings

lore
Share & tools
lore

Suman Anna

author
#0 lore raw

cover Enable Mailboxes for AM57xx IDKs

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(+)
Signature · 1 line
2.12.0
author
#1 lore raw

PATCH 1/2 ARM: dts: am572x-idk: Enable the system mailboxes 5 and 6

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.

---
 arch/arm/boot/dts/am572x-idk.dts | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
arch/arm/boot/dts/am572x-idk.dts +20 -0
index 8350b4b34b08..9da6d83ca185 100644
@@ -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";
+	};
+};
Signature · 1 line
2.12.0
author
#2 lore raw

PATCH 2/2 ARM: dts: am571x-idk: Enable the system mailboxes 5 and 6

In reply to 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.

---
 arch/arm/boot/dts/am571x-idk.dts | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
arch/arm/boot/dts/am571x-idk.dts +17 -0
index ad68d1eb3bc3..7b207835b2d1 100644
@@ -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";
+	};
+};
Signature · 1 line
2.12.0
#3 lore raw

cover Enable Mailboxes for AM57xx IDKs

In reply to Suman Anna
Quoted 9 lines · 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.

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

Tony