public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <me@felipebalbi.com>
To: David Brownell <david-b@pacbell.net>
Cc: linux-omap@vger.kernel.org
Subject: Re: [patch 2.6.27-rc3-omap1] tweak musb_hdrc SOC init code
Date: Tue, 2 Sep 2008 22:39:23 +0300	[thread overview]
Message-ID: <20080902193920.GE6814@frodo> (raw)
In-Reply-To: <200809021205.00376.david-b@pacbell.net>

On Tue, Sep 02, 2008 at 12:05:00PM -0700, David Brownell wrote:
> From: David Brownell <dbrownell@users.sourceforge.net>
> 
> Minor cleanups to omap 2430/34xx/35x musb_hdrc init:
> 
>  - num_eps is 16; here, each one is bidirectional
>  - use DMA_32BIT_MASK to prevent confusion/errors
>  - initialize root port power to reflect 100 mA limit
> 
> This still hard-wires some board-specific data, since there
> are no hooks through which different boards can provide the
> right data to the init code.
> 
> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>

Acked-by: Felipe Balbi <felipe.balbi@nokia.com>

> +
> +	/* REVISIT charge pump on TWL4030 can supply up to
> +	 * 100 mA ... but this value is board-specific, like
> +	 * "mode", and should be passed to usb_musb_init().
> +	 */
> +	.power		= 50,			/* up to 100 mA */

We can add some parameters to usb_musb_init();
Something similar should be done to hsmmc_init(), as of now it only
registers one slot and some boards have more than one.

-- 
balbi

  reply	other threads:[~2008-09-02 19:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-02 19:05 [patch 2.6.27-rc3-omap1] tweak musb_hdrc SOC init code David Brownell
2008-09-02 19:39 ` Felipe Balbi [this message]
2008-09-02 19:54   ` David Brownell
2008-09-10 23:50     ` Tony Lindgren

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=20080902193920.GE6814@frodo \
    --to=me@felipebalbi.com \
    --cc=david-b@pacbell.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox