linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: vishwanath.bs@ti.com (Vishwanath BS)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv2 7/7] ARM: OMAP3 PM: Enable IO Daisychain for supported chips
Date: Fri, 7 Oct 2011 23:17:51 +0530	[thread overview]
Message-ID: <1318009671-12813-8-git-send-email-vishwanath.bs@ti.com> (raw)
In-Reply-To: <1318009671-12813-1-git-send-email-vishwanath.bs@ti.com>

IO Daisychain has to be enabled only if the corresponding omap has
io wake up capability.

Signed-off-by: Vishwanath BS <vishwanath.bs@ti.com>
---
 arch/arm/mach-omap2/prm2xxx_3xxx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/prm2xxx_3xxx.c b/arch/arm/mach-omap2/prm2xxx_3xxx.c
index 0c70bc4..9a92fef 100644
--- a/arch/arm/mach-omap2/prm2xxx_3xxx.c
+++ b/arch/arm/mach-omap2/prm2xxx_3xxx.c
@@ -168,7 +168,7 @@ void omap3_trigger_wuclk_ctrl(void)
 {
 	int i = 0;
 
-	if (omap_rev() >= OMAP3430_REV_ES3_1) {
+	if ((omap_rev() >= OMAP3430_REV_ES3_1) && omap3_has_io_wakeup()) {
 		omap2_prm_set_mod_reg_bits(OMAP3430_EN_IO_CHAIN_MASK, WKUP_MOD,
 				     PM_WKEN);
 		/* Do a readback to assure write has been done */
-- 
1.7.0.4

  parent reply	other threads:[~2011-10-07 17:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-07 17:47 [PATCHv2 0/7]ARM: OMAP3PLUS PM: Add IO DaisyChain support via hwmod mux Vishwanath BS
2011-10-07 17:47 ` [PATCHv2 1/7] ARM: OMAP3 PM: correct enable/disable of daisy io chain Vishwanath BS
2011-10-07 17:47 ` [PATCHv2 2/7] ARM: OMAP3 PM: Move IO Daisychain function to omap3 prm file Vishwanath BS
2011-10-07 17:47 ` [PATCHv2 3/7] ARM: OMAP4 PM: Add IO Daisychain support Vishwanath BS
2011-10-07 17:47 ` [PATCHv2 4/7] ARM: OMAP3 PM: Enable IO Wake up Vishwanath BS
2011-10-07 17:47 ` [PATCHv2 5/7] ARM: OMAP3PLUS PM: Add IO Daisychain support via hwmod mux Vishwanath BS
2011-10-07 17:47 ` [PATCHv2 6/7] ARM: OMAP3 PM: Remove IO Daisychain control from cpuidle Vishwanath BS
2011-10-07 17:47 ` Vishwanath BS [this message]
2011-11-08  0:58 ` [PATCHv2 0/7]ARM: OMAP3PLUS PM: Add IO DaisyChain support via hwmod mux Kevin Hilman
2011-11-29 11:22   ` Vishwanath Sripathy
2011-11-29 14:59     ` Vishwanath Sripathy
2011-11-30  0:48       ` Kevin Hilman
2011-11-30  9:27         ` Vishwanath Sripathy
2011-12-02 16:58           ` Vishwanath Sripathy
2011-12-13 14:23             ` Vishwanath Sripathy
2011-12-13 19:31               ` Kevin Hilman

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=1318009671-12813-8-git-send-email-vishwanath.bs@ti.com \
    --to=vishwanath.bs@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 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).