public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Felipe Balbi <felipebalbi@users.sourceforge.net>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH] Leave GPIO[7:6] pullups enabled.
Date: Tue, 5 Jun 2007 04:02:18 -0700	[thread overview]
Message-ID: <20070605110217.GI859@atomide.com> (raw)
In-Reply-To: <11804401782736-git-send-email-felipebalbi@users.sourceforge.net>

* Felipe Balbi <felipebalbi@users.sourceforge.net> [070529 05:04]:
> From: Felipe Balbi <felipe.lima@indt.org.br>
> 
> GPIO7 and GPIO6 are configured as default wake-up sources for
> tusb6010.
> 
> without this patch MUSB is not able to enumerate
> any device that draw power from it.
> 
> After applying this patch, we're passing in almost
> all OTG Electrical Tests.
> 
> Signed-off-by: Felipe Balbi <felipe.lima@indt.org.br>
> ---
> 
> Index: linux-omap-2.6/drivers/usb/musb/tusb6010.c
> ===================================================================
> --- linux-omap-2.6.orig/drivers/usb/musb/tusb6010.c	2007-05-28 13:18:46.000000000 +0300
> +++ linux-omap-2.6/drivers/usb/musb/tusb6010.c	2007-05-28 13:26:28.000000000 +0300
> @@ -879,8 +879,11 @@
>  {
>  	void __iomem	*base = musb->ctrl_base;
>  
> -	/* Disable GPIO[7:0] pullups (used as output DMA requests) */
> -	musb_writel(base, TUSB_PULLUP_1_CTRL, 0x000000FF);
> +	/* GPIO[7:6] are the default wake-up sources for tusb6010.
> +	 * We cannot disable their pullups.
> +	 *
> +	 * Disable GPIO[5:0] pullups (used as output DMA requests) */
> +	musb_writel(base, TUSB_PULLUP_1_CTRL, 0x0000003F);
>  	/* Disable all pullups on NOR IF, DMAREQ0 and DMAREQ1 */
>  	musb_writel(base, TUSB_PULLUP_2_CTRL, 0x01FFFFFF);
>  

Pushing this one today, I edited the comments a bit.

Tony

  parent reply	other threads:[~2007-06-05 11:02 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-29 12:02 RFC PATCH Felipe Balbi
2007-05-29 12:02 ` [PATCH] USB: Disable file_storage USB_CONFIG_ATT_WAKEUP Felipe Balbi
2007-05-29 12:02   ` [PATCH] musb_hdrc: Implement workaround for tusb3.0 wbus bug rev2 Felipe Balbi
2007-05-29 12:02     ` [PATCH] musb_hdrc: Add SRP Interface and control it through sysfs Felipe Balbi
2007-05-29 12:02       ` [PATCH] Add Sysfs Interface to Control Vbus states Felipe Balbi
2007-05-29 12:02         ` [PATCH] Add more Test Modes Felipe Balbi
2007-05-29 12:02           ` [PATCH] musb_hdrc: Make HNP work Felipe Balbi
2007-05-29 12:02             ` [PATCH] USB: Fix OTG HNP for hub.c Felipe Balbi
2007-05-29 12:02               ` [PATCH] HSET tool for the MUSB Controler Felipe Balbi
2007-05-29 12:02                 ` [PATCH] Leave GPIO[7:6] pullups enabled Felipe Balbi
     [not found]                   ` <11804401803413-git-send-email-felipebalbi@users.sourceforge.net>
2007-05-29 12:02                     ` [PATCH] Make SRP passes in all Electrical Tests Felipe Balbi
2007-05-29 14:39                       ` Dirk Behme
2007-06-05 11:02                   ` Tony Lindgren [this message]
2007-05-29 19:21               ` [PATCH] USB: Fix OTG HNP for hub.c David Brownell
2007-05-29 19:24                 ` Felipe Balbi
2007-05-29 20:34                   ` Tony Lindgren
2007-05-29 21:11                     ` David Brownell
2007-05-29 21:26                       ` Tony Lindgren
2007-05-29 17:16           ` [PATCH] Add more Test Modes David Brownell
2007-05-29 17:07       ` [PATCH] musb_hdrc: Add SRP Interface and control it through sysfs David Brownell

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=20070605110217.GI859@atomide.com \
    --to=tony@atomide.com \
    --cc=felipebalbi@users.sourceforge.net \
    --cc=linux-omap-open-source@linux.omap.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