Re: [PATCH v1] usb: dwc2: reset AHB hclk domain before init

2015-08-13 Thread Felipe Balbi
On Thu, Aug 13, 2015 at 08:37:36AM +, John Youn wrote: > On 8/12/2015 12:33 PM, Felipe Balbi wrote: > > On Wed, Aug 12, 2015 at 07:06:09PM +0800, Yunzhi Li wrote: > >> Hi , > >> 在 2015/8/11 22:12, Felipe Balbi 写道: > >>> Hi, > >>> > >>> On Tue, Aug 11, 2015 at 10:27:42AM +0800, Yunzhi Li wrote:

Re: [PATCH v1] usb: dwc2: reset AHB hclk domain before init

2015-08-13 Thread John Youn
On 8/12/2015 12:33 PM, Felipe Balbi wrote: > On Wed, Aug 12, 2015 at 07:06:09PM +0800, Yunzhi Li wrote: >> Hi , >> 在 2015/8/11 22:12, Felipe Balbi 写道: >>> Hi, >>> >>> On Tue, Aug 11, 2015 at 10:27:42AM +0800, Yunzhi Li wrote: We initiate dwc2 usb controller in BIOS, when kernel driver

Re: [PATCH v1] usb: dwc2: reset AHB hclk domain before init

2015-08-13 Thread John Youn
On 8/12/2015 12:33 PM, Felipe Balbi wrote: On Wed, Aug 12, 2015 at 07:06:09PM +0800, Yunzhi Li wrote: Hi , 在 2015/8/11 22:12, Felipe Balbi 写道: Hi, On Tue, Aug 11, 2015 at 10:27:42AM +0800, Yunzhi Li wrote: We initiate dwc2 usb controller in BIOS, when kernel driver start-up we should reset

Re: [PATCH v1] usb: dwc2: reset AHB hclk domain before init

2015-08-13 Thread Felipe Balbi
On Thu, Aug 13, 2015 at 08:37:36AM +, John Youn wrote: On 8/12/2015 12:33 PM, Felipe Balbi wrote: On Wed, Aug 12, 2015 at 07:06:09PM +0800, Yunzhi Li wrote: Hi , 在 2015/8/11 22:12, Felipe Balbi 写道: Hi, On Tue, Aug 11, 2015 at 10:27:42AM +0800, Yunzhi Li wrote: We initiate dwc2

Re: [PATCH v1] usb: dwc2: reset AHB hclk domain before init

2015-08-12 Thread Felipe Balbi
On Wed, Aug 12, 2015 at 07:06:09PM +0800, Yunzhi Li wrote: > Hi , > 在 2015/8/11 22:12, Felipe Balbi 写道: > >Hi, > > > >On Tue, Aug 11, 2015 at 10:27:42AM +0800, Yunzhi Li wrote: > >>We initiate dwc2 usb controller in BIOS, when kernel driver > >>start-up we should reset AHB hclk domain to reset all

Re: [PATCH v1] usb: dwc2: reset AHB hclk domain before init

2015-08-12 Thread Yunzhi Li
Hi , 在 2015/8/11 22:12, Felipe Balbi 写道: Hi, On Tue, Aug 11, 2015 at 10:27:42AM +0800, Yunzhi Li wrote: We initiate dwc2 usb controller in BIOS, when kernel driver start-up we should reset AHB hclk domain to reset all AHB interface registers to default. Without this the FIFO value setting

Re: [PATCH v1] usb: dwc2: reset AHB hclk domain before init

2015-08-12 Thread Yunzhi Li
Hi , 在 2015/8/11 22:12, Felipe Balbi 写道: Hi, On Tue, Aug 11, 2015 at 10:27:42AM +0800, Yunzhi Li wrote: We initiate dwc2 usb controller in BIOS, when kernel driver start-up we should reset AHB hclk domain to reset all AHB interface registers to default. Without this the FIFO value setting

Re: [PATCH v1] usb: dwc2: reset AHB hclk domain before init

2015-08-12 Thread Felipe Balbi
On Wed, Aug 12, 2015 at 07:06:09PM +0800, Yunzhi Li wrote: Hi , 在 2015/8/11 22:12, Felipe Balbi 写道: Hi, On Tue, Aug 11, 2015 at 10:27:42AM +0800, Yunzhi Li wrote: We initiate dwc2 usb controller in BIOS, when kernel driver start-up we should reset AHB hclk domain to reset all AHB

Re: [PATCH v1] usb: dwc2: reset AHB hclk domain before init

2015-08-11 Thread Felipe Balbi
Hi, On Tue, Aug 11, 2015 at 10:27:42AM +0800, Yunzhi Li wrote: > We initiate dwc2 usb controller in BIOS, when kernel driver > start-up we should reset AHB hclk domain to reset all AHB > interface registers to default. Without this the FIFO value > setting might be incorrect because calculating

Re: [PATCH v1] usb: dwc2: reset AHB hclk domain before init

2015-08-11 Thread Felipe Balbi
Hi, On Tue, Aug 11, 2015 at 10:27:42AM +0800, Yunzhi Li wrote: We initiate dwc2 usb controller in BIOS, when kernel driver start-up we should reset AHB hclk domain to reset all AHB interface registers to default. Without this the FIFO value setting might be incorrect because calculating FIFO

[PATCH v1] usb: dwc2: reset AHB hclk domain before init

2015-08-10 Thread Yunzhi Li
We initiate dwc2 usb controller in BIOS, when kernel driver start-up we should reset AHB hclk domain to reset all AHB interface registers to default. Without this the FIFO value setting might be incorrect because calculating FIFO size need the power-on value of GRXFSIZ/GNPTXFSIZ/HPTXFSIZ

[PATCH v1] usb: dwc2: reset AHB hclk domain before init

2015-08-10 Thread Yunzhi Li
We initiate dwc2 usb controller in BIOS, when kernel driver start-up we should reset AHB hclk domain to reset all AHB interface registers to default. Without this the FIFO value setting might be incorrect because calculating FIFO size need the power-on value of GRXFSIZ/GNPTXFSIZ/HPTXFSIZ