From: Orjan Friberg <of@flatfrog.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] musb_cfg.extvbus = 1 reverted by bus reset?
Date: Thu, 30 Jun 2011 14:19:23 +0200 [thread overview]
Message-ID: <4E0C69CB.1010400@flatfrog.com> (raw)
Hi,
Using external VBUS on the OTG port in host mode, I have set
musb_cfg.extvbus = 1.
However, after a 'usb start', the DRVVBUS bit in OTG_CTRL is always set
to 1 (regardless of the value of musb_cfg.extvbus). Immediately after
boot it is 0. (I ran 'i2c md 0x48 0xa 1'.)
In musb_hcd.c, the extvbus setting is done *before* the usb bus is
reset. The TPS65920 TRM says that DRVVBUS is turned on when the chip
acts as a host. It seems to me that the DRVVBUS setting is reverted by
the chip going into host mode.
Any ideas?
(This is on 2011.03, but latest git seems to have the same construct.)
Thanks,
Orjan
--
Orjan Friberg
FlatFrog Laboratories AB
reply other threads:[~2011-06-30 12:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4E0C69CB.1010400@flatfrog.com \
--to=of@flatfrog.com \
--cc=u-boot@lists.denx.de \
/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