From: Felipe Balbi <balbi@ti.com>
To: Tomoya MORINAGA <tomoya.rohm@gmail.com>
Cc: Felipe Balbi <balbi@ti.com>, Greg Kroah-Hartman <gregkh@suse.de>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
qi.wang@intel.com, yong.y.wang@intel.com, joel.clark@intel.com,
kok.howg.ewe@intel.com
Subject: Re: [PATCH 1/3 v2] pch_udc: Detecting VBUS through GPIO
Date: Thu, 9 Feb 2012 09:59:14 +0200 [thread overview]
Message-ID: <20120209075913.GL1121@legolas.emea.dhcp.ti.com> (raw)
In-Reply-To: <1328254526-9447-1-git-send-email-tomoya.rohm@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 741 bytes --]
On Fri, Feb 03, 2012 at 04:35:26PM +0900, Tomoya MORINAGA wrote:
> Problem:
> In USB Suspend, pch_udc handles 'disconnect'.
>
> Root cause:
> The current pch_udc is not monitoring VBUS.
> When USB cable is disconnected, USB Device Controller generates
> an interrupt of USB Suspend.
> pch_udc cannot distinguish it is USB Suspend or disconnect.
> Therefore, pch_udc handles 'disconnect' after an interrupt of
> USB Suspend happend.
>
> Solution:
> VBUS is detected through GPIO.
> After an interrupt produced USB Suspend, if VBUS is Low,
> pch_udc handles 'disconnect'.
> If VBUS is High, pch_udc handles 'suspend'.
>
> Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com>
applied, thanks
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2012-02-09 7:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-03 7:35 Tomoya MORINAGA
2012-02-03 7:32 ` Felipe Balbi
2012-02-09 7:59 ` Felipe Balbi [this message]
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=20120209075913.GL1121@legolas.emea.dhcp.ti.com \
--to=balbi@ti.com \
--cc=gregkh@suse.de \
--cc=joel.clark@intel.com \
--cc=kok.howg.ewe@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=qi.wang@intel.com \
--cc=tomoya.rohm@gmail.com \
--cc=yong.y.wang@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®