[PATCH] [kirkwood-otg] Leverage the Freescale OTG driver for Kirkwood OTG

Nicolas Pitre nico at fluxnic.net
Wed Jun 9 13:17:43 EDT 2010


On Wed, 9 Jun 2010, Jason S. McMullan wrote:

> The Freescale USB Gadget driver is based off of the
> same USB OTG core that is used in the Kirkwood.
> 
> NOTE: Your bootloader must ensure that the Kirkwood
>       USB 2.0 Bridge Window registers are set correctly,
>       or the driver will stall on the first DMA.

Could you add the code to sets that up in the kernel instead?  

> @@ -156,7 +156,7 @@ config USB_ATMEL_USBA
>  
>  config USB_GADGET_FSL_USB2
>  	boolean "Freescale Highspeed USB DR Peripheral Controller"
> -	depends on FSL_SOC || ARCH_MXC
> +	depends on FSL_SOC || ARCH_MXC || ARCH_KIRKWOOD
>  	select USB_GADGET_DUALSPEED
>  	help
>  	   Some of Freescale PowerPC processors have a High Speed

Maybe the help text should be extended to mention Kirkwood?


Nicolas



More information about the linux-arm-kernel mailing list