All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Barada <peter.barada@logicpd.com>
To: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	Peter Barada <peter.barada@logicpd.com>
Subject: How to keep DM37x GPIO_162 high during off-mode
Date: Tue, 9 Jul 2013 10:51:55 -0400	[thread overview]
Message-ID: <51DC238B.2060103@logicpd.com> (raw)

I'm working with a 3.0.8 kernel in Android ICS and have run into a
problem using wl12xx bluetooth after a suspend/resume cycle.

GPIO_162 in this design is connected to the BT_EN pin of the wl12xx and
needs to be held high to keep the bluetooth core from resetting while
the DM37x goes into off mode.

I've tried muxing the pin using OMAP_PIN_OUTPUT |
OMAP_PIN_OFF_OUTPUT_HIGH, but the pin goes low when the chip goes into
off mode.  If I disable off mode via "echo 0 >
/sys/kernel/debug/pm_debug/enable_off_mode" the pin remains high while
the chip goes into retention and the bluetooth core works after resume.

Any ideas why GPIO_162 would go low during suspend to off mode?

Note I can't move to a newer kernel due to scheduling constraints.

Thanks in advance!

-- 
Peter Barada
peter.barada@logicpd.com


             reply	other threads:[~2013-07-09 15:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-09 14:51 Peter Barada [this message]
2013-07-09 15:55 ` How to keep DM37x GPIO_162 high during off-mode Tony Lindgren
2013-07-11 19:00   ` Peter Barada
2013-07-11 20:15     ` Grygorii Strashko
2013-07-11 20:33       ` Peter Barada

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=51DC238B.2060103@logicpd.com \
    --to=peter.barada@logicpd.com \
    --cc=linux-omap@vger.kernel.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 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.