[LEDE-DEV] [PATCH v2] lantiq: update USB controller handling

Hauke Mehrtens hauke at hauke-m.de
Sat Jan 7 10:51:05 PST 2017


On 01/07/2017 07:29 PM, Hauke Mehrtens wrote:
> This adds USB initialization fixes for Danube, Amazon SE and xrx300 and
> should fix the clock on at least Danube which hopefully fixes FS#351.
> 
> The xrx200 usb driver now uses more memory for the dwc2 fifos, this was
> increased in the chip compared to ar9.
> 
> This is based on the vendor documentation and the vendor Code base.
> 
> Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
> ---
> 
> If some of these dwc2 values should be changed, please suggest changes, 
> I am not an expert on this.
> This was only tested on vrx200 devices not on any other SoC, please 
> test and report back, I would like to get this into the next release 
> and then clean it up and send it upstream.

My USB flash drive was not fully detected when I had it plugged in at
boot up, when I unplugged and plugged it in again it worked without
problems.

The dwc2 driver uses GAHBCFG_HBSTLEN_INCR4 by default, what are the
differences compared to GAHBCFG_HBSTLEN_INCR16?

Hauke



More information about the Lede-dev mailing list