Re: pxa270 udc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Awesome!

Many thanks Robert

C

On Fri, May 1, 2009 at 8:50 PM, Robert Jarzmik <robert.jarzmik@xxxxxxx> wrote:
> Christopher Friedt <chrisfriedt@xxxxxxxxx> writes:
>
>> Hi folks,
>>
>>
>> My guess is that I need to add a 'struct pxa2xx_udc_mach_info' into
>> mainstone.c, and tell it that the vbus / gpio use +ve logic. Does that
>> sound right, or am I just talking smack?
> Your guess is right, unless some specific wiring is done on your board.
>
> As a begining, I would advice to :
>  - check arch/arm/mach-pxa/mioa701.c or arch/arm/mach-pxa/magician.c
>  - pay special attention to :
>   * in init function :
>        pxa_set_udc_info(...);
>        UP2OCR = UP2OCR_HXOE;
>   * everything containing "gpio_vbus"
>   * everything under the comment "USB UDC" in mioa701.c
>  - don't forget GPIO declaration in the big static gpio table (the one passed as
>   argument to pxa2xx_mfp_config).
>  - make a try, and come back to report
>
> Good luck.
>
> --
> Robert
>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux