All of lore.kernel.org
 help / color / mirror / Atom feed
From: Suman Anna <s-anna@ti.com>
To: Tony Lindgren <tony@atomide.com>
Cc: Paul Walmsley <paul@pwsan.com>, Dave Gerlach <d-gerlach@ti.com>,
	Jassi Brar <jaswinder.singh@linaro.org>,
	linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org, Suman Anna <s-anna@ti.com>
Subject: [PATCH 6/9] ARM: OMAP2+: Avoid mailbox legacy device creation for DT-boot
Date: Tue, 24 Jun 2014 20:04:52 -0500	[thread overview]
Message-ID: <1403658295-54766-7-git-send-email-s-anna@ti.com> (raw)
In-Reply-To: <1403658295-54766-1-git-send-email-s-anna@ti.com>

The legacy platform device for mailbox should not be created for
a DT boot, so adjust the platform device initialization logic
appropriately.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
 arch/arm/mach-omap2/devices.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
index 592ba0a..708eb7d 100644
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -460,9 +460,9 @@ static int __init omap2_init_devices(void)
 	omap_init_audio();
 	omap_init_camera();
 	omap_init_hdmi_audio();
-	omap_init_mbox();
 	/* If dtb is there, the devices will be created dynamically */
 	if (!of_have_populated_dt()) {
+		omap_init_mbox();
 		omap_init_mcspi();
 		omap_init_sham();
 		omap_init_aes();
-- 
2.0.0


WARNING: multiple messages have this Message-ID (diff)
From: s-anna@ti.com (Suman Anna)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 6/9] ARM: OMAP2+: Avoid mailbox legacy device creation for DT-boot
Date: Tue, 24 Jun 2014 20:04:52 -0500	[thread overview]
Message-ID: <1403658295-54766-7-git-send-email-s-anna@ti.com> (raw)
In-Reply-To: <1403658295-54766-1-git-send-email-s-anna@ti.com>

The legacy platform device for mailbox should not be created for
a DT boot, so adjust the platform device initialization logic
appropriately.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
 arch/arm/mach-omap2/devices.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
index 592ba0a..708eb7d 100644
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -460,9 +460,9 @@ static int __init omap2_init_devices(void)
 	omap_init_audio();
 	omap_init_camera();
 	omap_init_hdmi_audio();
-	omap_init_mbox();
 	/* If dtb is there, the devices will be created dynamically */
 	if (!of_have_populated_dt()) {
+		omap_init_mbox();
 		omap_init_mcspi();
 		omap_init_sham();
 		omap_init_aes();
-- 
2.0.0

  parent reply	other threads:[~2014-06-25  1:04 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-25  1:04 [PATCH 0/9] OMAP Mailbox DT node/hwmod cleanup Suman Anna
2014-06-25  1:04 ` Suman Anna
2014-06-25  1:04 ` [PATCH 1/9] ARM: dts: OMAP4: Add mailbox node Suman Anna
2014-06-25  1:04   ` Suman Anna
2014-06-25  1:04 ` [PATCH 2/9] ARM: dts: AM33xx: " Suman Anna
2014-06-25  1:04   ` Suman Anna
2014-06-25  1:04 ` [PATCH 3/9] ARM: dts: AM4372: Correct mailbox node data Suman Anna
2014-06-25  1:04   ` Suman Anna
2014-06-25  1:04 ` [PATCH 4/9] ARM: dts: DRA7: Add mailbox nodes Suman Anna
2014-06-25  1:04   ` Suman Anna
2014-06-25  1:04 ` [PATCH 5/9] ARM: DRA7: hwmod_data: Add mailbox hwmod data Suman Anna
2014-06-25  1:04   ` Suman Anna
2014-06-25  1:04 ` Suman Anna [this message]
2014-06-25  1:04   ` [PATCH 6/9] ARM: OMAP2+: Avoid mailbox legacy device creation for DT-boot Suman Anna
2014-06-25  1:04 ` [PATCH 7/9] ARM: OMAP2: hwmod_data: Remove legacy mailbox data and addrs Suman Anna
2014-06-25  1:04   ` Suman Anna
2014-06-25 22:05   ` Paul Walmsley
2014-06-25 22:05     ` Paul Walmsley
2014-06-25  1:04 ` [PATCH 8/9] ARM: OMAP4: hwmod_data: Remove legacy mailbox addrs Suman Anna
2014-06-25  1:04   ` Suman Anna
2014-06-25  1:04 ` [PATCH 9/9] ARM: AM33xx: " Suman Anna
2014-06-25  1:04   ` Suman Anna
2014-06-25 22:05   ` Paul Walmsley
2014-06-25 22:05     ` Paul Walmsley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1403658295-54766-7-git-send-email-s-anna@ti.com \
    --to=s-anna@ti.com \
    --cc=d-gerlach@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jaswinder.singh@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=paul@pwsan.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.