Skip to contentSkip to conversation

OMAP Mailbox DTS patch for 3.18

PATCH New Suman Anna 2 participants 3 messages Sep 10, 2014 – Sep 11, 2014 Device tree bindings

lore
Share & tools
lore

Suman Anna

author
#0 lore raw

PATCH v3 1/1 OMAP Mailbox DTS patch for 3.18

Hi Tony,

This is a repost of just the DTS patch (third patch) from the OMAP Mailbox framework adoption and DT support series [1], for it to be picked up in your dts branch for 3.18. There are no changes, just rebased onto 3.17-rc3. This is the DTS counterpart for the mailbox DT support series for 3.18 [2].

The following shows the boot logs on various OMAP platforms with just this patch:

  OMAP2 (SDP2430)           : http://pastebin.ubuntu.com/8311699
  OMAP3 (BeagleXM)          : http://pastebin.ubuntu.com/8311804
  OMAP4 (PandaBoard)        : http://pastebin.ubuntu.com/8311837
  OMAP5 (OMAP5 uEVM)        : http://pastebin.ubuntu.com/8311834
  DRA7  (DRA7 EVM)          : http://pastebin.ubuntu.com/8311859

AM33xx (BeagleBone Black) : http://pastebin.ubuntu.com/8311774
AM43xx (AM437x GP EVM) : http://pastebin.ubuntu.com/8311754

[1] http://marc.info/?l=linux-omap&m=140668054422693&w=2
[2] http://marc.info/?l=linux-omap&m=141037688814464&w=2

Suman Anna (1):
ARM: dts: OMAP2+: Add sub mailboxes device node information

 arch/arm/boot/dts/am33xx.dtsi   | 4 ++++
 arch/arm/boot/dts/am4372.dtsi   | 4 ++++
 arch/arm/boot/dts/omap2420.dtsi | 8 ++++++++
 arch/arm/boot/dts/omap2430.dtsi | 4 ++++
 arch/arm/boot/dts/omap3.dtsi    | 4 ++++
 arch/arm/boot/dts/omap4.dtsi    | 8 ++++++++
 arch/arm/boot/dts/omap5.dtsi    | 8 ++++++++
 7 files changed, 40 insertions(+)
Signature · 1 line
2.0.4
author
#1 lore raw

PATCH v3 1/1 ARM: dts: OMAP2+: Add sub mailboxes device node information

The sub-mailbox devices are added to the Mailbox DT nodes on OMAP2420, OMAP2430, OMAP3, AM33xx, AM43xx, OMAP4 and OMAP5 family of SoCs. This data represents the same mailboxes that used to be represented in hwmod attribute data previously. The node name is chosen based on the .name field of omap_mbox_dev_info structure used in the hwmod data.

Cc "Beno?t Cousson" <[email protected]>
Cc Rob Herring <[email protected]>
Cc Pawel Moll <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Ian Campbell <[email protected]>
Cc Kumar Gala <[email protected]>
---
 arch/arm/boot/dts/am33xx.dtsi   | 4 ++++
 arch/arm/boot/dts/am4372.dtsi   | 4 ++++
 arch/arm/boot/dts/omap2420.dtsi | 8 ++++++++
 arch/arm/boot/dts/omap2430.dtsi | 4 ++++
 arch/arm/boot/dts/omap3.dtsi    | 4 ++++
 arch/arm/boot/dts/omap4.dtsi    | 8 ++++++++
 arch/arm/boot/dts/omap5.dtsi    | 8 ++++++++
 7 files changed, 40 insertions(+)
arch/arm/boot/dts/am33xx.dtsi +4 -0
index 3a0a161..e4f165a 100644
@@ -354,6 +354,10 @@
 			ti,hwmods = "mailbox";
 			ti,mbox-num-users = <4>;
 			ti,mbox-num-fifos = <8>;
+			mbox_wkupm3: wkup_m3 {
+				ti,mbox-tx = <0 0 0>;
+				ti,mbox-rx = <0 0 3>;
+			};
 		};
 
 		timer1: timer at 44e31000 {
arch/arm/boot/dts/am4372.dtsi +4 -0
index 9b3d2ba..a0503be 100644
@@ -168,6 +168,10 @@
 			ti,hwmods = "mailbox";
 			ti,mbox-num-users = <4>;
 			ti,mbox-num-fifos = <8>;
+			mbox_wkupm3: wkup_m3 {
+				ti,mbox-tx = <0 0 0>;
+				ti,mbox-rx = <0 0 3>;
+			};
 		};
 
 		timer1: timer at 44e31000 {
arch/arm/boot/dts/omap2420.dtsi +8 -0
index 9be3c12..ae89aad 100644
@@ -159,6 +159,14 @@
 			ti,hwmods = "mailbox";
 			ti,mbox-num-users = <4>;
 			ti,mbox-num-fifos = <6>;
+			mbox_dsp: dsp {
+				ti,mbox-tx = <0 0 0>;
+				ti,mbox-rx = <1 0 0>;
+			};
+			mbox_iva: iva {
+				ti,mbox-tx = <2 1 3>;
+				ti,mbox-rx = <3 1 3>;
+			};
 		};
 
 		timer1: timer at 48028000 {
arch/arm/boot/dts/omap2430.dtsi +4 -0
index 1a00f15..b56d7161 100644
@@ -249,6 +249,10 @@
 			ti,hwmods = "mailbox";
 			ti,mbox-num-users = <4>;
 			ti,mbox-num-fifos = <6>;
+			mbox_dsp: dsp {
+				ti,mbox-tx = <0 0 0>;
+				ti,mbox-rx = <1 0 0>;
+			};
 		};
 
 		timer1: timer at 49018000 {
arch/arm/boot/dts/omap3.dtsi +4 -0
index 575a49b..b2ae8b8 100644
@@ -334,6 +334,10 @@
 			interrupts = <26>;
 			ti,mbox-num-users = <2>;
 			ti,mbox-num-fifos = <2>;
+			mbox_dsp: dsp {
+				ti,mbox-tx = <0 0 0>;
+				ti,mbox-rx = <1 0 0>;
+			};
 		};
 
 		mcspi1: spi at 48098000 {
arch/arm/boot/dts/omap4.dtsi +8 -0
index 69408b5..bc54d66 100644
@@ -656,6 +656,14 @@
 			ti,hwmods = "mailbox";
 			ti,mbox-num-users = <3>;
 			ti,mbox-num-fifos = <8>;
+			mbox_ipu: mbox_ipu {
+				ti,mbox-tx = <0 0 0>;
+				ti,mbox-rx = <1 0 0>;
+			};
+			mbox_dsp: mbox_dsp {
+				ti,mbox-tx = <3 0 0>;
+				ti,mbox-rx = <2 0 0>;
+			};
 		};
 
 		timer1: timer at 4a318000 {
arch/arm/boot/dts/omap5.dtsi +8 -0
index fc8df17..43336c2 100644
@@ -642,6 +642,14 @@
 			ti,hwmods = "mailbox";
 			ti,mbox-num-users = <3>;
 			ti,mbox-num-fifos = <8>;
+			mbox_ipu: mbox_ipu {
+				ti,mbox-tx = <0 0 0>;
+				ti,mbox-rx = <1 0 0>;
+			};
+			mbox_dsp: mbox_dsp {
+				ti,mbox-tx = <3 0 0>;
+				ti,mbox-rx = <2 0 0>;
+			};
 		};
 
 		timer1: timer at 4ae18000 {
Signature · 1 line
2.0.4
#2 lore raw

PATCH v3 1/1 ARM: dts: OMAP2+: Add sub mailboxes device node information

Quoted 6 lines · Suman Anna

The sub-mailbox devices are added to the Mailbox DT nodes on OMAP2420, OMAP2430, OMAP3, AM33xx, AM43xx, OMAP4 and OMAP5 family of SoCs. This data represents the same mailboxes that used to be represented in hwmod attribute data previously. The node name is chosen based on the .name field of omap_mbox_dev_info structure used in the hwmod data.

Thanks applying into omap-for-v3.18/dt.

Tony