Re: [PATCH 1/2] hid: migrate USB LED driver from usb misc to hid

2016-06-17 Thread Benjamin Tissoires
Hi Heiner, On Jun 17 2016 or thereabouts, Heiner Kallweit wrote: > This patch migrates the USB LED driver to the HID subsystem. > Supported are Dream Cheeky Webmail Notifier / Friends Alert > and Riso Kagaku Webmail Notifier. > > Benefits: > - Avoid using USB low-level calls and use the HID

Re: [PATCH 2/2] usb: misc: remove outdated USB LED driver

2016-06-17 Thread Benjamin Tissoires
On Jun 17 2016 or thereabouts, Heiner Kallweit wrote: > The USB LED driver exposes a undocumented sysfs interface and doesn't > use the standard kernel LED subsystem. It supports three devices: > > Delcom Visual Signal Indicator > The driver supports generation 1 of the device only which was >

Re: [PATCH v3 1/2] usb: ohci-at91: Forcibly suspend ports while USB suspend

2016-06-17 Thread Alexandre Belloni
On 17/06/2016 at 13:44:22 +, Yang, Wenyou wrote : > Hi Alexandre, > > > -Original Message- > > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > > Sent: 2016年6月9日 4:38 > > To: Rob Herring > > Cc: Yang, Wenyou ; Alan Stern

RE: [PATCH v3 1/2] usb: ohci-at91: Forcibly suspend ports while USB suspend

2016-06-17 Thread Yang, Wenyou
Hi Alexandre, > -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: 2016年6月9日 4:38 > To: Rob Herring > Cc: Yang, Wenyou ; Alan Stern > ; Greg Kroah-Hartman >

Re: [PATCH v3 3/4] phy-sun4i-usb: Add workaround for missing Vbus det interrupts on A31

2016-06-17 Thread Kishon Vijay Abraham I
On Sunday 05 June 2016 08:29 PM, Hans de Goede wrote: > The A31 companion pmic (axp221) does not generate vbus change interrupts > when the board is driving vbus, so we must poll when using the pmic for > vbus-det _and_ we're driving vbus. > > Signed-off-by: Hans de Goede

Re: [PATCH v3 2/4] phy-sun4i-usb: Add support for peripheral-only mode

2016-06-17 Thread Kishon Vijay Abraham I
On Sunday 05 June 2016 08:29 PM, Hans de Goede wrote: > Use the new of_usb_get_dr_mode_by_phy() function to get the dr_mode > from the musb controller node instead of assuming that having an id_det > gpio means otg mode, and not having one means host mode. > > Implement peripheral-only mode by

Re: [PATCH v6 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-17 Thread Frank Wang
Hi Guenter, On 2016/6/17 12:59, Guenter Roeck wrote: On 06/16/2016 07:09 PM, Frank Wang wrote: The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy driver is required

Re: [PATCH v10 00/14] USB OTG/dual-role framework

2016-06-17 Thread Felipe Balbi
Hi Roger, Roger Quadros writes: >> 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. > > Do you have any comments on this series? If yes I can include them >

[PATCH 00/12] power: add generic power sequence framework

2016-06-17 Thread Peter Chen
Hi all, We have an well-known problem that the device needs to do some power sequence before it can be recognized by related host, the typical example like hard-wired mmc devices and usb devices. This power sequence is hard to be described at device tree and handled by related host driver, so we

[PATCH 2/2] dt-bindings: phy: Add qcom,usb-hsic-phy bindings

2016-06-17 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- .../devicetree/bindings/phy/qcom,usb-hsic-phy.txt | 95 ++ 1 file changed, 95 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/qcom,usb-hsic-phy.txt diff --git

[PATCH 07/12] power: pwrseq: rename file name for generic driver

2016-06-17 Thread Peter Chen
The individual driver file name is better to contain module name. Signed-off-by: Peter Chen --- .../power/pwrseq/{pwrseq-simple.txt => mmc-pwrseq-simple.txt} | 0 drivers/power/pwrseq/Makefile | 4 ++--

[PATCH 11/12] usb: chipidea: host: let the hcd know's parent device node

2016-06-17 Thread Peter Chen
From: Peter Chen Since the hcd (chipidea core device) has no device node, so if we want to describe the child node under the hcd, we had to put it under its parent's node (glue layer device), and in the code, we need to let the hcd knows glue layer's code, then the USB

[PATCH 08/12] doc: binding: pwrseq-usb-generic: add binding doc for generic usb power sequence driver

2016-06-17 Thread Peter Chen
Add binding doc for generic usb power sequence driver, and update generic usb device binding-doc accordingly. Signed-off-by: Peter Chen --- .../bindings/power/pwrseq/pwrseq-usb-generic.txt | 31 ++ .../devicetree/bindings/usb/usb-device.txt | 2

[PATCH 04/12] power: pwrseq: Remove mmc prefix from mmc_pwrseq

2016-06-17 Thread Peter Chen
From: Krzysztof Kozlowski The "mmc" prefix is no longer needed after moving the pwrseq core code from mmc/ to power/. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Javier Martinez Canillas ---

[PATCH 03/12] power: pwrseq: Enable COMPILE_TEST for drivers

2016-06-17 Thread Peter Chen
From: Krzysztof Kozlowski Allow build testing for power sequence drivers. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Javier Martinez Canillas --- drivers/power/pwrseq/Kconfig | 4 ++-- 1 file changed, 2

[PATCH 10/12] usb: core: add power sequence handling for USB devices

2016-06-17 Thread Peter Chen
Some hard-wired USB devices need to do power sequence to let the device work normally, the typical power sequence like: enable USB PHY clock, toggle reset pin, etc. But current Linux USB driver lacks of such code to do it, it may cause some hard-wired USB devices works abnormal or can't be

[PATCH 09/12] power: pwrseq: pwrseq_usb_generic: add generic power sequence support for USB deivces

2016-06-17 Thread Peter Chen
Add driver for generic power sequence support for USB deivces which handles below things: - Clock and its frequencies - GPIO for reset and the duration time - GPIO for enable - Regulator for power Signed-off-by: Peter Chen --- drivers/power/pwrseq/Kconfig | 11

[PATCH 12/12] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property

2016-06-17 Thread Peter Chen
From: Peter Chen The current dts describes USB HUB's property at USB controller's entry, it is improper. The USB HUB should be the child node under USB controller, with "usb-pwrseq" phandle to handle power sequence stuffs. Signed-off-by: Peter Chen

[PATCH 02/12] MAINTAINERS: Retain Ulf Hansson as the same maintainer of pwrseq

2016-06-17 Thread Peter Chen
From: Krzysztof Kozlowski Before moving pwrseq drivers from drivers/mmc/core/ to drivers/power/, they were maintained by Ulf Hansson. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Javier Martinez Canillas ---

[PATCH 06/12] power: pwrseq: change common helpers as generic

2016-06-17 Thread Peter Chen
These helpers are only used by mmc now, change them as generic and do corresponding changes at mmc code. Meanwhile, change return value of helper pwrseq_pre_power_on since it may occur error during enable clock/regulator, etc. Signed-off-by: Peter Chen ---

[PATCH 01/12] power/mmc: Move pwrseq drivers to power/pwrseq

2016-06-17 Thread Peter Chen
From: Krzysztof Kozlowski The MMC power sequence drivers are useful also outside of MMC world: for USB devices needed a hard-reset before probing. Before extending and re-using pwrseq drivers, move them to a new place. The commit does not introduce significant changes

Re: [PATCH v4 5/5] usb: dwc3: rockchip: add devicetree bindings documentation

2016-06-17 Thread William Wu
Dear Heiko, On 06/17/2016 07:15 AM, Heiko Stübner wrote: Hi William, Am Donnerstag, 2. Juni 2016, 20:34:56 schrieb William Wu: This patch adds the devicetree documentation required for Rockchip USB3.0 core wrapper consisting of USB3.0 IP from Synopsys. It supports DRD mode, and could operate

[PATCH 0/2] usb: phy: Add support for the Qualcomm HSIC USB PHY

2016-06-17 Thread Neil Armstrong
In order to support the Qualcomm MDM9615 in the Sierra Wireless WP8548 Modules, add the Qualcomm HSIC USB PHY used inside the MDM9615 SoC. This patchset is part of a global SoC + Module + Board support for the Sierra Wireless mangOH Board support with the WP8548 module. Neil Armstrong (2):

[PATCH 1/2] usb: phy: Add initial support for Qualcomm HSIC PHY

2016-06-17 Thread Neil Armstrong
Add support for the HSIC PHY present in the Qualcomm MSM9615 SoC. This PHY is also present on other SoCs and would need some changes. Signed-off-by: Neil Armstrong --- drivers/usb/phy/Kconfig | 13 + drivers/usb/phy/Makefile| 1 +

[PATCH 05/12] power: pwrseq: Generalize mmc_pwrseq operations by removing mmc prefix

2016-06-17 Thread Peter Chen
From: Krzysztof Kozlowski The power sequence hooks (mmc_pwrseq_pre_power_on(), mmc_pwrseq_post_power_on() and mmc_pwrseq_power_off()) can be made more generic to allow re-use in other subsystems. They do not need to take pointer to struct mmc_host but instead the struct

[PATCH] usb: dwc3: gadget: Add the suspend state checking when stopping gadget

2016-06-17 Thread Baolin Wang
It will be crash to stop gadget when the dwc3 device had been into suspend state, thus we need to check if the dwc3 device had been into suspend state when UDC try to stop gadget. By the way I have rebased on your 'testing/next' branch. Signed-off-by: Baolin Wang ---

Re: Slow writes with dd on Lexar JumpDrive P20 64GB flash drives connected via Intel USB 3.0 host controllers

2016-06-17 Thread Michael Schaller
Alan, thank you for the analysis and you are correct in your assumption that this is a plain dumb thumb drive. The puzzling thing for me is that the drive only shows this bottleneck under Linux and not under Max OS X or Windows. Here are my results for Linux vs. Mac OS X again: Write speed under

[PATCH v2 1/2] hid: migrate USB LED driver from usb misc to hid

2016-06-17 Thread Heiner Kallweit
This patch migrates the USB LED driver to the HID subsystem. Supported are Dream Cheeky Webmail Notifier / Friends Alert and Riso Kagaku Webmail Notifier. Benefits: - Avoid using USB low-level calls and use the HID subsystem instead (as this device provides a USB HID interface) - Use standard

Re: Slow writes with dd on Lexar JumpDrive P20 64GB flash drives connected via Intel USB 3.0 host controllers

2016-06-17 Thread Alan Stern
On Fri, 17 Jun 2016, Michael Schaller wrote: > Alan, thank you for the analysis and you are correct in your > assumption that this is a plain dumb thumb drive. The puzzling thing > for me is that the drive only shows this bottleneck under Linux and > not under Max OS X or Windows. Here are my

[PATCH 06/10] usb: musb: host: add urb tracepoints

2016-06-17 Thread Bin Liu
Add urb tracepoints for host mode. Signed-off-by: Bin Liu --- drivers/usb/musb/musb_host.c | 34 ++- drivers/usb/musb/musb_trace.h | 63 +++ 2 files changed, 71 insertions(+), 26 deletions(-) diff --git

[PATCH 07/10] usb: musb: gadget: add usb-request tracepoints

2016-06-17 Thread Bin Liu
Add usb_request tracepoints for gadget mode. Signed-off-by: Bin Liu --- drivers/usb/musb/musb_gadget.c | 35 --- drivers/usb/musb/musb_trace.h | 76 ++ 2 files changed, 90 insertions(+), 21 deletions(-) diff --git

[PATCH 02/10] usb: musb: switch dev_dbg to tracepoints

2016-06-17 Thread Bin Liu
Switch dev_dbg() to tracepoint debug musb_dbg(). Signed-off-by: Bin Liu --- drivers/usb/musb/cppi_dma.c| 50 + drivers/usb/musb/musb_core.c | 64 +++--- drivers/usb/musb/musb_cppi41.c | 12 ++--- drivers/usb/musb/musb_gadget.c

[PATCH 03/10] usb: musb: dsps: use musb register read/write wrappers instead

2016-06-17 Thread Bin Liu
musb core already exports the register read/write wrappers, so clean up the duplication in dsps glue. Signed-off-by: Bin Liu --- drivers/usb/musb/musb_dsps.c | 112 +-- 1 file changed, 44 insertions(+), 68 deletions(-) diff --git

[PATCH 04/10] usb: musb: add tracepoints for register access

2016-06-17 Thread Bin Liu
This adds tracepoints to musb register read/write wrappers to get trace log for register access. The default tacepoint log prefix here would be musb_readX/writeX(), which is not much helpful. So this patch let the tracepoints use __buildin_return_address(0) to print the caller funciton name to

[PATCH 08/10] usb: musb: cleanup cppi_dma header

2016-06-17 Thread Bin Liu
davinci.h is not required by cppi_dma.h but cppi_dma.c, so move the include to the right place. Signed-off-by: Bin Liu --- drivers/usb/musb/cppi_dma.c | 1 + drivers/usb/musb/cppi_dma.h | 8 2 files changed, 1 insertion(+), 8 deletions(-) diff --git

Re: Minor xhci issues (failed to peer) on Dell XPS 13 9350 (Skylake)

2016-06-17 Thread Andy Lutomirski
On Fri, Jun 17, 2016 at 11:46 AM, wrote: >> -Original Message- >> From: Andy Lutomirski [mailto:l...@amacapital.net] >> Sent: Thursday, June 16, 2016 1:41 PM >> To: Limonciello, Mario >> Cc: Greg Kroah-Hartman

[PATCH 09/10] usb: musb: cppi41: move struct cppi41_dma_channel to header

2016-06-17 Thread Bin Liu
Move struct cppi41_dma_channel to the header file so other modules can use it. Signed-off-by: Bin Liu --- drivers/usb/musb/cppi_dma.h| 23 ++- drivers/usb/musb/musb_cppi41.c | 21 + 2 files changed, 23 insertions(+), 21 deletions(-)

[PATCH 05/10] usb: musb: add tracepoints to dump interrupt events

2016-06-17 Thread Bin Liu
This adds tracepoints to dump musb interrupt events. Signed-off-by: Bin Liu --- drivers/usb/musb/musb_core.c | 4 +--- drivers/usb/musb/musb_trace.h | 21 + 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/drivers/usb/musb/musb_core.c

[PATCH 00/10] musb patches for v4.8-rc1

2016-06-17 Thread Bin Liu
Hi Greg, This musb patch set is for next v4.8. It adds tracepoints to musb drivers to help debugging. The patches have been on linux-usb@ list for a couple weeks now. Please let me know if any change is needed. Regards, -Bin. --- Bin Liu (10): usb: musb: add tracepoints support for debugging

[PATCH 01/10] usb: musb: add tracepoints support for debugging

2016-06-17 Thread Bin Liu
To avoid printk() overhead while debugging, this patch implements the foundation of tracepoints logging for musb driver to make debug easier. Signed-off-by: Bin Liu --- drivers/usb/musb/Makefile | 5 +++- drivers/usb/musb/musb_debug.h | 2 ++ drivers/usb/musb/musb_trace.c |

Re: Slow writes with dd on Lexar JumpDrive P20 64GB flash drives connected via Intel USB 3.0 host controllers

2016-06-17 Thread Greg KH
On Fri, Jun 17, 2016 at 07:41:26PM +0200, Michael Schaller wrote: > Alan, thank you for the analysis and you are correct in your > assumption that this is a plain dumb thumb drive. The puzzling thing > for me is that the drive only shows this bottleneck under Linux and > not under Max OS X or

Re: Slow writes with dd on Lexar JumpDrive P20 64GB flash drives connected via Intel USB 3.0 host controllers

2016-06-17 Thread Michael Schaller
Greg, for my initial tests I did a sync afterwards and it finished immediately on Linux and Mac OS X. Sorry for not mentioning that earlier. Furthermore 270 MB/s is the advertised write rate of the flash drive. Mac OS X and Window can both write at the advertised speed and Linux only reaches ~45

RE: Minor xhci issues (failed to peer) on Dell XPS 13 9350 (Skylake)

2016-06-17 Thread Mario_Limonciello
> -Original Message- > From: Andy Lutomirski [mailto:l...@amacapital.net] > Sent: Thursday, June 16, 2016 1:41 PM > To: Limonciello, Mario > Cc: Greg Kroah-Hartman ; Andy Lutomirski > ; Mathias Nyman

Re: Slow writes with dd on Lexar JumpDrive P20 64GB flash drives connected via Intel USB 3.0 host controllers

2016-06-17 Thread Greg KH
On Fri, Jun 17, 2016 at 08:30:47PM +0200, Michael Schaller wrote: > Greg, for my initial tests I did a sync afterwards and it finished > immediately on Linux and Mac OS X. Sorry for not mentioning that > earlier. That's really odd, and is not normal for either OS. > Furthermore 270 MB/s is the

Re: [PATCH 1/2] hid: migrate USB LED driver from usb misc to hid

2016-06-17 Thread Heiner Kallweit
Am 17.06.2016 um 10:53 schrieb Benjamin Tissoires: > Hi Heiner, > > On Jun 17 2016 or thereabouts, Heiner Kallweit wrote: >> This patch migrates the USB LED driver to the HID subsystem. >> Supported are Dream Cheeky Webmail Notifier / Friends Alert >> and Riso Kagaku Webmail Notifier. >> >>

Re: Slow writes with dd on Lexar JumpDrive P20 64GB flash drives connected via Intel USB 3.0 host controllers

2016-06-17 Thread Michael Schaller
In all cases the flash drive was completely zeroed out and hence there was nothing to mount. I'll have a look into fio once I have time again to play with this. Might be 2-3 weeks though because of vacation... On Fri, Jun 17, 2016 at 9:02 PM, Greg KH wrote: > On Fri,

Re: Slow writes with dd on Lexar JumpDrive P20 64GB flash drives connected via Intel USB 3.0 host controllers

2016-06-17 Thread Alan Stern
On Fri, 17 Jun 2016, Michael Schaller wrote: > Alan, here is the requested information. Sorry for the delay. > > Started usbmon log with no connected USB devices: > $ sudo cat /sys/kernel/debug/usb/usbmon/0u | tee usbmon.txt > ... > > See the attached usbmon.txt.gz Okay, it's got what we need.

[PATCH 10/10] usb: musb: cppi41: add dma channel tracepoints

2016-06-17 Thread Bin Liu
Add tracepoints for cppi41 dma channels. Signed-off-by: Bin Liu --- drivers/usb/musb/musb_cppi41.c | 22 ++--- drivers/usb/musb/musb_trace.h | 70 ++ 2 files changed, 80 insertions(+), 12 deletions(-) diff --git

Re: [PATCH 2/2] usb: misc: remove outdated USB LED driver

2016-06-17 Thread Greg Kroah-Hartman
On Fri, Jun 17, 2016 at 10:33:52PM +0200, Jiri Kosina wrote: > On Fri, 17 Jun 2016, Heiner Kallweit wrote: > > > The USB LED driver exposes a undocumented sysfs interface and doesn't > > use the standard kernel LED subsystem. It supports three devices: > > > > Delcom Visual Signal Indicator > >

Re: [PATCH v10 6/7] usb: pci-quirks: add Intel USB drcfg mux device

2016-06-17 Thread Greg Kroah-Hartman
On Thu, Jun 16, 2016 at 08:27:41AM +0800, Lu Baolu wrote: > Hi Greg, > > On 06/09/2016 10:39 AM, Lu Baolu wrote: > > Hi Greg, > > > > On 06/08/2016 11:45 PM, Greg Kroah-Hartman wrote: > >> On Wed, Jun 08, 2016 at 03:56:04PM +0800, Lu Baolu wrote: > >>> Hi Greg, > >>> > >>> On 06/08/2016 12:45 PM,

Re: [PATCH v2 1/2] hid: migrate USB LED driver from usb misc to hid

2016-06-17 Thread Jiri Kosina
On Fri, 17 Jun 2016, Heiner Kallweit wrote: > This patch migrates the USB LED driver to the HID subsystem. > Supported are Dream Cheeky Webmail Notifier / Friends Alert > and Riso Kagaku Webmail Notifier. I have dropped the mentions of this being specific to USB from the Kconfig help text as

Re: [PATCH 2/2] usb: misc: remove outdated USB LED driver

2016-06-17 Thread Jiri Kosina
On Fri, 17 Jun 2016, Heiner Kallweit wrote: > The USB LED driver exposes a undocumented sysfs interface and doesn't > use the standard kernel LED subsystem. It supports three devices: > > Delcom Visual Signal Indicator > The driver supports generation 1 of the device only which was >

Re: USB broken on Banana Pi in Linux 4.6

2016-06-17 Thread Sudip Mukherjee
On Sun, Jun 12, 2016 at 06:47:56PM +0200, Marc Haber wrote: > On Sat, Jun 11, 2016 at 02:55:04PM +0200, Marc Haber wrote: > > On Tue, Jun 07, 2016 at 10:30:17AM -0700, Greg KH wrote: > > > Nothing obvious, can you use 'git bisect' to go from 4.5.0 to 4.6.0 to > > > find the offending commit? > >

Re: usbip/vhci_hcd.c: vhci_get_frame_number

2016-06-17 Thread Lars Täuber
Hello everybody! On Tue, 14 Jun 2016 13:41:07 -0700 Greg KH wrote: > On Sun, Jun 12, 2016 at 10:40:55PM +0200, Lars Täuber wrote: > > Hello kernel hackers, > > > > please excuse the way I'm writing this. I know I'm for sure braking rules. > > I'm trying to use the

Re: [PATCH 00/12] power: add generic power sequence framework

2016-06-17 Thread Maciej S. Szmigiero
Hi Peter, On 17.06.2016 12:09, Peter Chen wrote: > Hi all, > > We have an well-known problem that the device needs to do some power > sequence before it can be recognized by related host, the typical > example like hard-wired mmc devices and usb devices. This power > sequence is hard to be

Re: [PATCH 08/12] doc: binding: pwrseq-usb-generic: add binding doc for generic usb power sequence driver

2016-06-17 Thread Rob Herring
On Fri, Jun 17, 2016 at 5:09 AM, Peter Chen wrote: > Add binding doc for generic usb power sequence driver, and update > generic usb device binding-doc accordingly. > > Signed-off-by: Peter Chen > --- > .../bindings/power/pwrseq/pwrseq-usb-generic.txt |

Re: [PATCH 00/10] musb patches for v4.8-rc1

2016-06-17 Thread Bin Liu
Hi Greg, On Fri, Jun 17, 2016 at 12:31:59PM -0500, Bin Liu wrote: > Hi Greg, > > This musb patch set is for next v4.8. It adds tracepoints to musb drivers > to help debugging. > > The patches have been on linux-usb@ list for a couple weeks now. Please > let me know if any change is needed. I

Re: [PATCH 1/2] usb: phy: Add initial support for Qualcomm HSIC PHY

2016-06-17 Thread kbuild test robot
Hi, [auto build test WARNING on balbi-usb/next] [also build test WARNING on v4.7-rc3 next-20160617] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Neil-Armstrong/usb-phy-Add-support

Re: Slow writes with dd on Lexar JumpDrive P20 64GB flash drives connected via Intel USB 3.0 host controllers

2016-06-17 Thread Michael Schaller
Alan, here is the requested information. Sorry for the delay. Started usbmon log with no connected USB devices: $ sudo cat /sys/kernel/debug/usb/usbmon/0u | tee usbmon.txt ... See the attached usbmon.txt.gz Timing: Connect of flash drive at: 16:09:04 dmesg output after connect of flash

Re: [PATCH 10/12] usb: core: add power sequence handling for USB devices

2016-06-17 Thread Alan Stern
On Fri, 17 Jun 2016, Peter Chen wrote: > Some hard-wired USB devices need to do power sequence to let the > device work normally, the typical power sequence like: enable USB > PHY clock, toggle reset pin, etc. But current Linux USB driver > lacks of such code to do it, it may cause some

[PATCH] usb: ohci-at91: make at91_dt_syscon_sfr static

2016-06-17 Thread Ben Dooks
Make at91_dt_syscon_sfr() static as it is not used or declared outside the drivers/usb/host/ohci-at91.c file. drivers/usb/host/ohci-at91.c:144:15: warning: symbol 'at91_dt_syscon_sfr' was not declared. Should it be static? Signed-off-by: Ben Dooks --- Cc: Alan Stern

Re: [PATCH] usb: ohci-at91: make at91_dt_syscon_sfr static

2016-06-17 Thread Alexandre Belloni
On 17/06/2016 at 16:11:55 +0100, Ben Dooks wrote : > Make at91_dt_syscon_sfr() static as it is not used or declared > outside the drivers/usb/host/ohci-at91.c file. > > drivers/usb/host/ohci-at91.c:144:15: warning: symbol 'at91_dt_syscon_sfr' was > not declared. Should it be static? > >

Re: Slow writes with dd on Lexar JumpDrive P20 64GB flash drives connected via Intel USB 3.0 host controllers

2016-06-17 Thread Michael Schaller
Great tip, Alan. I'll look into capturing USB traffic with Wireshark as well. Both fio and Wireshark should be available for Linux and Windows. On Fri, Jun 17, 2016 at 10:11 PM, Alan Stern wrote: > On Fri, 17 Jun 2016, Michael Schaller wrote: > >> Alan, thank you for

Re: [PATCH v5 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-17 Thread Heiko Stübner
Hi Kishon, Am Freitag, 17. Juni 2016, 17:24:46 schrieb Kishon Vijay Abraham I: > > + ret = of_clk_add_provider(node, of_clk_src_simple_get, rphy->clk480m); > > + if (ret < 0) > > + goto err_clk_provider; > > + > > + ret = devm_add_action(rphy->dev,

Re: [PATCH 0/2] usb: phy: Add support for the Qualcomm HSIC USB PHY

2016-06-17 Thread Stephen Boyd
On 06/17/2016 03:25 AM, Neil Armstrong wrote: > In order to support the Qualcomm MDM9615 in the Sierra Wireless WP8548 > Modules, add the Qualcomm HSIC USB PHY used inside the MDM9615 SoC. > > This patchset is part of a global SoC + Module + Board support for the > Sierra Wireless mangOH Board

Re: [RESEND PATCH v11 1/4] gadget: Introduce the usb charger framework

2016-06-17 Thread Baolin Wang
Hi Felipe, On 13 June 2016 at 23:13, Jun Li wrote: > Hi > >> -Original Message- >> From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- >> ow...@vger.kernel.org] On Behalf Of Baolin Wang >> Sent: Monday, June 13, 2016 4:47 PM >> To: ba...@kernel.org;

[PATCH 2/2] usb: misc: remove outdated USB LED driver

2016-06-17 Thread Heiner Kallweit
The USB LED driver exposes a undocumented sysfs interface and doesn't use the standard kernel LED subsystem. It supports three devices: Delcom Visual Signal Indicator The driver supports generation 1 of the device only which was manufactured until 2008. Remove support for this device completely.

Re: [PATCH] usb: misc: remove outdated USB LED driver

2016-06-17 Thread Heiner Kallweit
Am 16.06.2016 um 21:13 schrieb Greg Kroah-Hartman: > On Thu, Jun 16, 2016 at 09:00:50PM +0200, Heiner Kallweit wrote: >> The USB LED driver exposes a undocumented sysfs interface and doesn't >> use the standard kernel LED subsystem. It supports three devices: >> >> Delcom Visual Signal Indicator

[PATCH 1/2] hid: migrate USB LED driver from usb misc to hid

2016-06-17 Thread Heiner Kallweit
This patch migrates the USB LED driver to the HID subsystem. Supported are Dream Cheeky Webmail Notifier / Friends Alert and Riso Kagaku Webmail Notifier. Benefits: - Avoid using USB low-level calls and use the HID subsystem instead (as this device provides a USB HID interface) - Use standard

Re: [PATCH v10 00/14] USB OTG/dual-role framework

2016-06-17 Thread Roger Quadros
On 17/06/16 10:17, Felipe Balbi wrote: > > Hi Roger, > > Roger Quadros writes: >>> 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. >> >> Do you have any

Re: [PATCH v5 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-17 Thread Kishon Vijay Abraham I
Hi, On Monday 13 June 2016 07:40 AM, Frank Wang wrote: > The newer SoCs (rk3366, rk3399) take a different usb-phy IP block > than rk3288 and before, and most of phy-related registers are also > different from the past, so a new phy driver is required necessarily. > > Signed-off-by: Frank Wang