Re: [PATCH v2 0/3] Introduce usb charger framework to deal with the usb gadget power negotation

2015-08-16 Thread Baolin Wang
On 17 August 2015 at 09:15, Li Jun wrote: > On Fri, Aug 14, 2015 at 07:04:56PM +0800, Baolin Wang wrote: >> On 14 August 2015 at 16:55, Li Jun wrote: >> > Hi Baolin, >> > >> > On Fri, Aug 14, 2015 at 05:47:43PM +0800, Baolin Wang wrote: >> >> Currently the Linux kernel does not provide any standa

Re: [PATCH v5 3/5] usb: phy: add usb3.0 phy driver for mt65xx SoCs

2015-08-16 Thread Kishon Vijay Abraham I
Hi, On Friday 07 August 2015 06:00 PM, Chunfeng Yun wrote: > support usb3.0 phy of mt65xx SoCs > > Signed-off-by: Chunfeng Yun change $subject to phy: > --- > drivers/phy/Kconfig | 9 + > drivers/phy/Makefile | 1 + > drivers/phy/phy-mt65xx-usb3.c | 467 > ++

[PATCH 3/3][v2] arm: dts: ls1021a: Add quirk for Erratum A009116

2015-08-16 Thread Nikhil Badola
Add "snps,quirk-frame-length-adjustment" property to USB3 node for erratum A009116. This property provides value of GFLADJ_30MHZ for post silicon frame length adjustment. Signed-off-by: Nikhil Badola --- Changes for v2 : - updated property name arch/arm/boot/dts/ls1021a.dtsi | 1 + 1 f

[PATCH 1/3][v2] Documentation: dt: dwc3: Add snps,quirk-frame-length-adjustment property

2015-08-16 Thread Nikhil Badola
Add snps,quirk-frame-length-adjustment property which provides value for post silicon frame length adjustment Signed-off-by: Nikhil Badola --- Changes for v2 - changed quirk name as well description Documentation/devicetree/bindings/usb/dwc3.txt | 3 +++ 1 file changed, 3 insertions(+)

[PATCH 2/3][v2] drivers: usb: dwc3: Add frame length adjustment quirk

2015-08-16 Thread Nikhil Badola
Add adjust_frame_length_quirk for writing to fladj register which adjusts (micro)frame length to value provided by "snps,quirk-frame-length-adjustment" property thus avoiding USB 2.0 devices to time-out over a longer run Signed-off-by: Nikhil Badola --- changes for v2 : - updated quirk's

Re: Re: [PATCH v4]USB:OHCI: BugFix:Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()

2015-08-16 Thread Greg KH
On Mon, Aug 17, 2015 at 03:30:11AM +, AMAN DEEP wrote: > > > >This still does not apply properly :( > > Sorry for inconveince. > > > > >What tree are you making it against? > > > > I made it for 4.2-rc6. I need it made against linux-next please. thanks, greg k-h -- To unsubscribe from thi

Stack dump when try to store uframe_periodic_max

2015-08-16 Thread Peter Chen
Hi Alan, When run "echo 105 > /sys/bus/platform/devices/ci_hdrc.1/uframe_periodic_max", if lockdep check is enabled, there is below dump, I am afraid it can't find how to fix it, the warning shows the key is not persistent. (see line 757, kernel/locking/lockdep.c). [ 70.190430] INFO: trying t

[PATCH 1/1] usb: host: ehci-sys: delete useless bus_to_hcd conversion

2015-08-16 Thread Peter Chen
The ehci platform device's drvdata is the pointer of struct usb_hcd already, so we doesn't need to call bus_to_hcd conversion again. Cc: Signed-off-by: Peter Chen --- drivers/usb/host/ehci-sysfs.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/ehci-

Re: Re: [PATCH v4]USB:OHCI: BugFix:Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()

2015-08-16 Thread AMAN DEEP
> >This still does not apply properly :( Sorry for inconveince. > >What tree are you making it against? > I made it for 4.2-rc6. Thanks & Regards, Aman Deep --- Original Message --- Sender : Greg KH Date : Aug 15, 2015 05:51 (GMT+06:00) Title : Re: [PATCH v4]USB:OHCI: BugFix:Proper ha

Re: [PATCH v2 2/3] gadget: Introduce the usb charger framework

2015-08-16 Thread Baolin Wang
On 14 August 2015 at 23:27, Greg KH wrote: > On Fri, Aug 14, 2015 at 05:47:45PM +0800, Baolin Wang wrote: >> This patch introduces the usb charger driver based on usb gadget that >> makes an enhancement to a power driver. It works well in practice but >> that requires a system with suitable hardwa

Re: [PATCH v2 0/3] Introduce usb charger framework to deal with the usb gadget power negotation

2015-08-16 Thread Li Jun
On Fri, Aug 14, 2015 at 07:04:56PM +0800, Baolin Wang wrote: > On 14 August 2015 at 16:55, Li Jun wrote: > > Hi Baolin, > > > > On Fri, Aug 14, 2015 at 05:47:43PM +0800, Baolin Wang wrote: > >> Currently the Linux kernel does not provide any standard integration of > >> this > >> feature that int

Re: [PATCH v2 3/3] power: wm831x_power: Support USB charger current limit management

2015-08-16 Thread Peter Chen
On Fri, Aug 14, 2015 at 05:47:46PM +0800, Baolin Wang wrote: > Integrate with the newly added USB charger interface to limit the current > we draw from the USB input based on the input device configuration > identified by the USB stack, allowing us to charge more quickly from high > current inputs

Re: [PATCH v2 1/3] gadget: Support for the usb charger framework

2015-08-16 Thread Baolin Wang
On 17 August 2015 at 08:40, Peter Chen wrote: > On Fri, Aug 14, 2015 at 05:47:44PM +0800, Baolin Wang wrote: >> The usb charger framework is based on usb gadget, and each usb gadget >> can be one usb charger to set the current limitation. >> >> This patch adds a notifier mechanism for usb charger

Re: [PATCH v2 1/3] gadget: Support for the usb charger framework

2015-08-16 Thread Peter Chen
On Fri, Aug 14, 2015 at 05:47:44PM +0800, Baolin Wang wrote: > The usb charger framework is based on usb gadget, and each usb gadget > can be one usb charger to set the current limitation. > > This patch adds a notifier mechanism for usb charger to report to usb > charger when the usb gadget state

Re: [PATCH] usb: chipidea: reuse the platform_data to store the ci info

2015-08-16 Thread Peter Chen
On Fri, Aug 14, 2015 at 10:26:35AM -0400, Alan Stern wrote: > On Fri, 14 Aug 2015, Peter Chen wrote: > > > > In the old days, a single device could be a USB host controller and > > > nothing else. Then later, a single device could be either a host > > > controller or a device controller. Now a s