From: spa_kk <krishnakumar@spacomp•com>
To: linuxppc-dev@ozlabs•org
Subject: Re: MPC8323 USB Host
Date: Mon, 14 Sep 2009 22:45:33 -0700 (PDT) [thread overview]
Message-ID: <25448161.post@talk.nabble.com> (raw)
In-Reply-To: <20090914135900.GA18534@oksana.dev.rtsoft.ru>
Hi,
Thanks for the suggestion,
pins & clock configuration seems to be ok,
Need a help in understanding which register of MPC8323 is been mapped to
fhci->vroot_hub->port.wPortChange &
fhci->vroot_hub->port.wPortStatus
As this are the variable which is been checked while polling
File: "drivers/usb/host/fhci.h"
struct virtual_root_hub {
int dev_num; /* USB address of the root hub */
u32 feature; /* indicates what feature has been set */
struct usb_hub_status hub;
struct usb_port_status port;
};
File: "drivers/usb/core/hub.h"
/*
* Hub Status and Hub Change results
* See USB 2.0 spec Table 11-19 and Table 11-20
*/
struct usb_port_status {
__le16 wPortStatus;
__le16 wPortChange;
} __attribute__ ((packed));
struct usb_hub_status {
__le16 wHubStatus;
__le16 wHubChange;
} __attribute__ ((packed));
Need support in understand where is virtual_root_hub.hub and
virtual_root_hub.port are initialized
Thanks and best regards,
Krishna
Anton Vorontsov-2 wrote:
>
> Hello,
>
> On Mon, Sep 14, 2009 at 05:49:01AM -0700, spa_kk wrote:
>>
>> Hello,
> [...]
>> The value in this variable are not getting changed even after connecting
>> &
>> disconnection the device.
>
> Could be pins multiplexing or USB clocks misconfiguration.
>
>> We have manual checked the USBRXP pin, this pin is
>> HIGH => when device is connected
>> LOW => when device is not connected.
>>
>> Kindly let us know how should we debug/proceed.
>
> You might find this useful:
>
> http://lkml.org/lkml/2009/4/1/481
>
> --
> Anton Vorontsov
> email: cbouatmailru@gmail•com
> irc://irc.freenode.net/bd2
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists•ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
>
>
--
View this message in context: http://www.nabble.com/MPC8323-USB-Host-tp25435195p25448161.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.
prev parent reply other threads:[~2009-09-15 5:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-14 12:49 MPC8323 USB Host spa_kk
2009-09-14 13:59 ` Anton Vorontsov
2009-09-15 5:45 ` spa_kk [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=25448161.post@talk.nabble.com \
--to=krishnakumar@spacomp$(echo .)com \
--cc=linuxppc-dev@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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