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

2015-07-10 Thread Sascha Hauer
On Wed, Jul 08, 2015 at 05:41:05PM +0800, Chunfeng Yun wrote: Signed-off-by: Chunfeng Yun chunfeng@mediatek.com --- drivers/usb/phy/Kconfig | 10 + drivers/usb/phy/Makefile | 1 + drivers/usb/phy/phy-mt65xx-usb3.c | 856 ++ 3

Re: [PATCH v2 2/5] dt-bindings: Add a binding for Mediatek xHCI host controller

2015-07-10 Thread Roger Quadros
Hi, On 08/07/15 12:41, Chunfeng Yun wrote: add a DT binding documentation of xHCI host controller for the MT8173 SoC from Mediatek. Signed-off-by: Chunfeng Yun chunfeng@mediatek.com --- .../devicetree/bindings/usb/mt8173-xhci.txt| 27 ++ 1 file changed,

Re: [PATCH v3 00/11] USB: OTG/DRD Core functionality

2015-07-10 Thread Li Jun
On Wed, Jul 08, 2015 at 01:19:26PM +0300, Roger Quadros wrote: Hi, This series centralizes OTG/Dual-role functionality in the kernel. As of now I've got Dual-role functionality working pretty reliably on dra7-evm and am437x-gp-evm. xhci side of things for OTG/DRD use are already in v4.2 Do

Re: [PATCH v3 02/11] usb: otg-fsm: support multiple instances

2015-07-10 Thread Li Jun
On Wed, Jul 08, 2015 at 01:19:28PM +0300, Roger Quadros wrote: Move the state_changed variable into struct otg_fsm so that we can support multiple instances. I am not sure if multiple instances may happen since OTG protocol requires only one OTG port can be equipped on OTG device. Li Jun

Re: [PATCH V3 1/1] usb:serial:f81534 add F81532/534 driver

2015-07-10 Thread Peter Hung
Hi Johan, Peter Hung 於 2015/7/9 上午 11:15 寫道: This driver is for Fintek F81532/F81534 USB to Serial Ports IC. Please pending for the driver, I found a problem with prepare_write_buffer(). The driver submit write block size != real tx send size. It's will ok on transmitting small mount data,

Re: [PATCH V3 1/1] usb:serial:f81534 add F81532/534 driver

2015-07-10 Thread Johan Hovold
On Fri, Jul 10, 2015 at 05:35:34PM +0800, Peter Hung wrote: Hi Johan, Peter Hung 於 2015/7/9 上午 11:15 寫道: This driver is for Fintek F81532/F81534 USB to Serial Ports IC. Please pending for the driver, I found a problem with prepare_write_buffer(). The driver submit write block size !=

Re: [PATCH 1/5] usb: dwc3: omap: Replace deprecated API of extcon

2015-07-10 Thread Chanwoo Choi
Hi Felipe, On Mon, Jul 6, 2015 at 7:23 PM, Felipe Balbi ba...@ti.com wrote: On Wed, Jul 01, 2015 at 01:11:30PM +0900, Chanwoo Choi wrote: This patch removes the deprecated notifier API of extcon framwork and then use the new extcon API with the unique id to indicate the each external

Re: [PATCH v2 1/2] extcon: fix hang and extcon_get/set_cable_state().

2015-07-10 Thread Chanwoo Choi
Hi Roger, Thanks for your working. I'll review, test and apply it on next week because I'm on vacation now. Thanks, Chanwoo Choi On Tue, Jul 7, 2015 at 3:06 PM, Roger Quadros rog...@ti.com wrote: Users of find_cable_index_by_name() will cause a kernel hang as the while loop counter is never

[GIT PULL] USB-serial fixes for v4.2-rc2

2015-07-10 Thread Johan Hovold
Hi Greg, Here's set of fixes and device ids for v4.2-rc2. All have been in linux-next. Thanks, Johan The following changes since commit d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754: Linux 4.2-rc1 (2015-07-05 11:01:52 -0700) are available in the git repository at:

Re: possible race condition for usb_stor_port_reset and usb_reset_and_verify_device

2015-07-10 Thread yoma sophian
hi Alan: 2015-05-27 22:40 GMT+08:00 Alan Stern st...@rowland.harvard.edu: On Wed, 27 May 2015, yoma sophian wrote: After reading the kernel power document, freezing-of-tasks.txt , can I get the below conclusion: if I put my thread in freezable, it will get frozen automatically whenever the

Re: USB disks not recognized during boot

2015-07-10 Thread Alan Stern
On Fri, 10 Jul 2015, Raphael Hertzog wrote: Here's another thing you can do: Try capturing a usbmon trace while doing the unbind/bind test. Since a controller's usbmon trace file doesn't exist until after it is bound, you will have to run your trace on the /sys/kernel/debug/usb/usbmon/0u

Re: possible race condition for usb_stor_port_reset and usb_reset_and_verify_device

2015-07-10 Thread Alan Stern
On Fri, 10 Jul 2015, yoma sophian wrote: hi Alan: 2015-05-27 22:40 GMT+08:00 Alan Stern st...@rowland.harvard.edu: On Wed, 27 May 2015, yoma sophian wrote: After reading the kernel power document, freezing-of-tasks.txt , can I get the below conclusion: if I put my thread in

Re: [PATCH v3] phy: rcar-gen2 usb: Add Host/Function switching for USB0

2015-07-10 Thread Sergei Shtylyov
Hello. On 07/07/2015 02:55 PM, Phil Edworthy wrote: Instead of statically selecting the PHY connection to either the USBHS (Function) or PCI0 (Host) IP blocks, this change allows the dts to specifiy gpio pins for the vbus and id signals. Additional These GPIOs don't have anything to do

Re: USB disks not recognized during boot

2015-07-10 Thread Raphael Hertzog
On Fri, 10 Jul 2015, Alan Stern wrote: This suggests a new test you can run. Do the same thing as the unbind-rebind test before, but after the rebind, run lsusb -v (as root) while the trace is still being collected. Let's see what the lsusb output and the trace output show. Both traces are

Re: USB disks not recognized during boot

2015-07-10 Thread Alan Stern
On Fri, 10 Jul 2015, Raphael Hertzog wrote: On Fri, 10 Jul 2015, Alan Stern wrote: This suggests a new test you can run. Do the same thing as the unbind-rebind test before, but after the rebind, run lsusb -v (as root) while the trace is still being collected. Let's see what the lsusb

Re: [PATCH 1/5] usb: dwc3: ep0: use _roundup_ to calculate the transfer size

2015-07-10 Thread Kishon Vijay Abraham I
Hi Felipe, On Tuesday 07 July 2015 12:30 AM, Felipe Balbi wrote: On Wed, Jun 10, 2015 at 02:48:48PM +0530, Kishon Vijay Abraham I wrote: No functional change. Used _roundup_ macro to calculate the transfer size aligned to maxpacket in dwc3_ep0_complete_data. It also makes it similar to how