Subject: Re: MPC8323 USB Host

From: spa_kk <[email-masked]>
Date: Mon, 14 Sep 2009 22:45:33 -0700 (PDT)

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: [email-masked]
> irc://irc.freenode.net/bd2
> _______________________________________________
> Linuxppc-dev mailing list
> [email-masked]
> 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.