[PATCH v2 1/3] Documentation: bindings: add assign clock property in u2phy node

2017-03-01 Thread Meng Dongyang
On some platform such as RK3328, the 480m clock may need to assign clock parent in dts in stead of clock driver. So this patch add property of assigned-clocks and assigned-clock-parents to assign parent for 480m clock. Changes in v2: - move u2phy grf specification to grf.txt Signed-off-by: Meng

[PATCH v2 2/3] Documentation: bindings: add DT documentation for u2phy and u2phy grf

2017-03-01 Thread Meng Dongyang
Due to the u2phy registers are separated from general grf, we need to add u2phy grf node and place u2phy node in it. So this patch add u2phy grf node. Changes in v2: - add u2phy grf specification Signed-off-by: Meng Dongyang --- Documentation/devicetree/bindings/soc/rockchip/grf.txt | 15 +

[PATCH v2 0/3] add support of u2phy for rk3328

2017-03-01 Thread Meng Dongyang
The config information of RK3328 about address and port property is different from before platform. So add config information in the data of match table and documentation of the device tree bindings of u2phy. Changes in v2: - move u2phy grf specification to .../devicetree/bindings/soc/rockchip/gr

[PATCH v2 3/3] phy: rockchip-inno-usb2: add support of u2phy for rk3328

2017-03-01 Thread Meng Dongyang
Add u2phy config information in the data of match table for rk3328. Changes in v2: - add support of otg port Signed-off-by: Meng Dongyang --- drivers/phy/phy-rockchip-inno-usb2.c | 52 1 file changed, 52 insertions(+) diff --git a/drivers/phy/phy-rockchip-

Re: [PATCH v7 0/5] usb: early: add support for early printk through USB3 debug port

2017-03-01 Thread Ingo Molnar
* Lu Baolu wrote: > Hi Ingo, > > How about this version? Any further comments? So I have re-read the review feedback I gave on Jan 19 and found at least one thing I pointed out that you didn't address in the latest patches ... Plus please go beyond the feedback given - for example the Kconfi

Re: [PATCH] hid: usbhid: usbkbd: fix checkpatch.pl issues

2017-03-01 Thread Dmitry Torokhov
On Wed, Mar 01, 2017 at 09:59:31PM +0200, Avraham Shukron wrote: > > > > This kind of change is definitely not helpful. The original table was > > Nx16, you converted it to Nx14. Why do you think original table used 16 > > columns? > > > > Regardless, it's a very old driver, just let it be. > >

Re: dwc2 gadget issues

2017-03-01 Thread Randy Li
You don't need to send me a private mail, I would suggest you CC me next time. On 02/24/2017 03:27 AM, Heiko Stuebner wrote: Hi Francesco, Am Donnerstag, 23. Februar 2017, 19:11:37 CET schrieb Francesco Lavra: I'm having trouble getting the RK3288 OTG controller (the one at ff58) to work

Re: usb: gadget: webcam broken?

2017-03-01 Thread Petr Cvek
Dne 2.3.2017 v 00:22 Laurent Pinchart napsal(a): > Hi Roger, > > On Wednesday 01 Mar 2017 17:09:51 Roger Quadros wrote: >> Hi, >> >> I'm no longer able to use g_webcam with uvc-gadget [1] since v4.9. Logs at >> the end. It looks like we're goofing up on the control endpoint. >> >> If I revert the

Re: [PATCH v2] HID: hiddev: allocate minor number hiddev's USB interface is bound to

2017-03-01 Thread Kim Jaejoong
Hi Benjamin Thanks for the review my patch :) 2017-03-01 2:05 GMT+09:00 Benjamin Tissoires : > On Feb 15 2017 or thereabouts, Jaejoong Kim wrote: >> When HID device connected to the PC, HID device driver announces which >> driver is loaded with a kernel info message. In this case, hiddev's minor

Re: [PATCH] usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer

2017-03-01 Thread Bin Liu
On Wed, Mar 01, 2017 at 09:07:03PM -0600, Bin Liu wrote: > On Wed, Mar 01, 2017 at 01:14:44PM -0600, Bin Liu wrote: > > > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-usb" in > > the body of a message to majord...@vger.kernel.org > > More majordomo info at http://vger.

[PATCH] usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer

2017-03-01 Thread Bin Liu
The CPPI41 driver polls register to workaround the pre-mature TX interrupt issue, but it causes audio playback underrun when triggered in Isoch transfers. Isoch doesn't do back-to-back transfers, the TX should be done by the time the next transfer is scheduled. So skip this polling workaround for

Re: [PATCH] usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer

2017-03-01 Thread Bin Liu
On Wed, Mar 01, 2017 at 01:14:44PM -0600, Bin Liu wrote: > > -- > To unsubscribe from this list: send the line "unsubscribe linux-usb" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html Hmm, I barely use --cc when git-send-

[PATCH] usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer

2017-03-01 Thread Bin Liu
The CPPI41 driver polls register to workaround the pre-mature TX interrupt issue, but it causes audio playback underrun when triggered in Isoch transfers. Isoch doesn't do back-to-back transfers, the TX should be done by the time the next transfer is scheduled. So skip this polling workaround for

Re: [PATCH v7 0/5] usb: early: add support for early printk through USB3 debug port

2017-03-01 Thread Lu Baolu
Hi Ingo, How about this version? Any further comments? Best regards, Lu Baolu On 02/14/2017 10:27 AM, Lu Baolu wrote: > xHCI debug capability (DbC) is an optional but standalone > functionality provided by an xHCI host controller. With DbC > hardware initialized, the system will present a debug

[PATCH] HID: usbhid: Use pr_ and remove unnecessary OOM messages

2017-03-01 Thread Joe Perches
Use a more common logging style and remove the unnecessary OOM messages as there is default dump_stack when OOM. Miscellanea: o Hoist an assignment in an if o Realign arguments o Realign a deeply indented if descendent above a printk Signed-off-by: Joe Perches --- drivers/hid/usbhid/hid-core.c

Re: usb: gadget: webcam broken?

2017-03-01 Thread Laurent Pinchart
Hi Roger, On Wednesday 01 Mar 2017 17:09:51 Roger Quadros wrote: > Hi, > > I'm no longer able to use g_webcam with uvc-gadget [1] since v4.9. Logs at > the end. It looks like we're goofing up on the control endpoint. > > If I revert the following commit everything works fine. > commit 4fbac5206a

Re: [PATCH] hid: usbhid: usbkbd: fix checkpatch.pl issues

2017-03-01 Thread Alan Stern
On Wed, 1 Mar 2017, Avraham Shukron wrote: > I thought fixing a driver that I actually use daily will be more satisfying. Unless there are special reasons, you should not be using the usbkbd driver. It is legacy code; everyone should now use usbhid instead. Alan Stern -- To unsubscribe from th

Re: [PATCH] hid: usbhid: usbkbd: fix checkpatch.pl issues

2017-03-01 Thread Greg KH
On Wed, Mar 01, 2017 at 09:59:31PM +0200, Avraham Shukron wrote: > > > > This kind of change is definitely not helpful. The original table was > > Nx16, you converted it to Nx14. Why do you think original table used 16 > > columns? > > > > Regardless, it's a very old driver, just let it be. > >

[PATCH] usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer

2017-03-01 Thread Bin Liu
-- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] hid: usbhid: usbkbd: fix checkpatch.pl issues

2017-03-01 Thread Avraham Shukron
On 01/03/17 22:46, Joe Perches wrote: > On Wed, 2017-03-01 at 21:59 +0200, Avraham Shukron wrote: >>> >>> This kind of change is definitely not helpful. The original table was >>> Nx16, you converted it to Nx14. Why do you think original table used 16 >>> columns? >>> >>> Regardless, it's a very o

Re: [PATCH] hid: usbhid: usbkbd: fix checkpatch.pl issues

2017-03-01 Thread Joe Perches
On Wed, 2017-03-01 at 21:59 +0200, Avraham Shukron wrote: > > > > This kind of change is definitely not helpful. The original table was > > Nx16, you converted it to Nx14. Why do you think original table used 16 > > columns? > > > > Regardless, it's a very old driver, just let it be. > > > > Tha

Re: [PATCH] hid: usbhid: usbkbd: fix checkpatch.pl issues

2017-03-01 Thread Avraham Shukron
> > This kind of change is definitely not helpful. The original table was > Nx16, you converted it to Nx14. Why do you think original table used 16 > columns? > > Regardless, it's a very old driver, just let it be. > > Thanks. > I can make it Nx8 :) Seriously now - I don't understand what is

Re: [PATCH v4 00/19] Replace PCI pool by DMA pool API

2017-03-01 Thread Joe Perches
On Wed, 2017-03-01 at 16:55 +0100, Romain Perier wrote: > support to warn about this old API in checkpath.pl checkpatch This part isn't true anymore, but it seems sensible enough, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord..

Re: [PATCH] hid: usbhid: usbkbd: fix checkpatch.pl issues

2017-03-01 Thread Dmitry Torokhov
Hi Avraham, On Tue, Feb 21, 2017 at 07:26:50PM +0200, Avraham Shukron wrote: > - Broke long lines > - Added spaces where needed > - Removed unnecessary / trailing whitespaces > - Extracted assignments outside of 'if' statements > > Signed-off-by: Avraham Shukron > --- > drivers/hid/usbhid/usbkb

Re: [PATCH] net: usb: asix_devices: fix missing return code check on call to asix_write_medium_mode

2017-03-01 Thread David Miller
From: Colin King Date: Tue, 28 Feb 2017 11:58:22 + > From: Colin Ian King > > The call to asix_write_medium_mode is not updating the return code ret > and yet ret is being checked for an error. Fix this by assigning ret to > the return code from the call asix_write_medium_mode. > > Detecte

Re: [PATCH] MAINTAINERS: Orphan usb/net/hso driver

2017-03-01 Thread David Miller
From: Baruch Siach Date: Tue, 28 Feb 2017 10:39:48 +0200 > The email address of Jan Dumon bounces, and there is not relevant information > in the linked website. > > Signed-off-by: Baruch Siach Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a me

Re: [RESEND PATCH 1/2] Documentation: bindings: add DT documentation for u2phy and u2phy grf

2017-03-01 Thread Heiko Stuebner
Hi Daniel, Am Mittwoch, 1. März 2017, 18:34:22 CET schrieb Meng Dongyang: > Due to the u2phy registers are separated from general grf, we need to > add u2phy grf node and place u2phy node in it. And on some platform, > the 480m clock may need to assign clock parent in dts in stead of > clock drive

Re: [RESEND PATCH 2/2] phy: rockchip-inno-usb2: add support of u2phy for rk3328

2017-03-01 Thread Heiko Stuebner
Am Mittwoch, 1. März 2017, 18:34:23 CET schrieb Meng Dongyang: > Add u2phy config information in the data of match table for > rk3328. > > Signed-off-by: Meng Dongyang in general looks good, so Reviewed-by: Heiko Stuebner one question below > drivers/phy/phy-rockchip-inno-usb2.c | 21 ++

Re: [PATCH] usb: storage: karma: remove useless variable

2017-03-01 Thread Alan Stern
On Tue, 28 Feb 2017, Pierre-Yves Kerbrat wrote: > Remove the useless variable 'partial' storing the actual length > transferred. Nothing was done with it, so simply get rid of it > as usb_stor_bulk_transfer_buf can handle having NULL instead. > > This also fixes the following sparse issues (-Wtyp

[PATCH v4 10/19] scsi: lpfc: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. It also updates some comments, accordingly. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/lpfc/lpfc.h | 12 ++--- drivers/scsi/

[PATCH v4 12/19] scsi: mpt3sas: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/mpt3sas/mpt3sas_base.c | 73 + 1 file changed, 34 in

[PATCH v4 16/19] usb: gadget: net2280: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/usb/gadget/udc/net2280.c | 12 ++-- drivers/usb/gadget/

[PATCH v4 13/19] scsi: mvsas: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/mvsas/mv_init.c | 6 +++--- drivers/scsi/mvsas/mv_sas.c | 6 +++--- 2 files changed, 6

[PATCH v4 08/19] scsi: be2iscsi: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/scsi/be2iscsi/be_iscsi.c | 6 +++--- drivers/scsi/be2iscsi/be_m

[PATCH v4 11/19] scsi: megaraid: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/megaraid/megaraid_mbox.c | 33 +++ drivers/scsi/megaraid/megaraid_mm.c

[PATCH v4 19/19] PCI: Remove PCI pool macro functions

2017-03-01 Thread Romain Perier
Now that all the drivers use dma pool API, we can remove the macro functions for PCI pool. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- include/linux/pci.h | 9 - 1 file changed, 9 deletions(-) diff --git a/include/linux/pci.h b/include/linux/pci.h index 282ed32..

[PATCH v4 14/19] scsi: pmcraid: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/scsi/pmcraid.c | 10 +- drivers/scsi/pmcraid.h | 2 +-

[PATCH v4 07/19] wireless: ipw2200: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/net/wireless/intel/ipw2x00/ipw2200.c | 13 +++-- 1 file changed, 7 insertions(+), 6 d

[PATCH v4 18/19] usb: host: Remove remaining pci_pool in comments

2017-03-01 Thread Romain Perier
This replaces remaining occurences of pci_pool by dma_pool, as this is the new API that could be used for that purpose. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/usb/host/ehci-hcd.c | 2 +- drivers/usb/host/fotg210-hcd.c | 2 +- drivers/usb/host/oxu210hp-hc

[PATCH v4 09/19] scsi: csiostor: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. It also updates the name of some variables and the content of comments, accordingly. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/csi

[PATCH v4 15/19] usb: gadget: amd5536udc: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/usb/gadget/udc/amd5536udc.c | 8 drivers/usb/gadget/ud

[PATCH v4 00/19] Replace PCI pool by DMA pool API

2017-03-01 Thread Romain Perier
by the dma pool API, adds support to warn about this old API in checkpath.pl and remove the defines. Changes in v4: - Rebased series onto next-20170301 - Removed patch 20/20: checks done by checkpath.pl, no longer required. Thanks to Peter and Joe for their feedbacks. - Added Reviewed-by tags

[PATCH v4 04/19] net: e100: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12 ++-- 1 file changed, 6

[PATCH v4 05/19] mlx4: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/mellanox/mlx4/cmd.c | 10 +- drivers/net/

[PATCH v4 06/19] mlx5: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 11 ++- include/linux/mlx5/driver.h

[PATCH v4 17/19] usb: gadget: pch_udc: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/usb/gadget/udc/pch_udc.c | 31 +++ 1 file changed, 15 insertions(

[PATCH v4 03/19] IB/mthca: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/infiniband/hw/mthca/mthca_av.c | 10 +- drivers/infini

[PATCH v4 02/19] dmaengine: pch_dma: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/dma/pch_dma.c | 12 ++-- 1 file changed, 6 insertions(+

[PATCH v4 01/19] block: DAC960: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/block/DAC960.c | 36 ++-- drive

usb: dwc3: Bus Expiry on ISO transfers

2017-03-01 Thread Roger Quadros
Hi Felipe, I'm running g_webcam with uvc-gadget [1] on the DUT on v4.10 with commit 4fbac5206afd reverted. The first time I plug the DUT to host and run luvcview I can see the video test pattern so all OK. If I close luvcview and restart it without disconnecting the DUT then I don't see the test

Re: FW: RE: Re: Subject: [PATCH v3] USB:Core: BugFix: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously

2017-03-01 Thread Alan Stern
On Wed, 1 Mar 2017, Ajay Kaher wrote: > > On Mon, 22 Feb 2017, Ajay Kaher wrote: > >  > >> On Mon, 20 Feb 2017, Ajay Kaher wrote: > >>  > >>> Alan, as per my understanding I have shifted the lock from > >>> release_usb_class() to destroy_usb_class() in patch v3.  > >>> If it is not right, please e

Re: [PATCH 1/1] usb: gadget: dummy_hcd: clear usb_gadget region before registration

2017-03-01 Thread Alan Stern
On Wed, 1 Mar 2017, Peter Chen wrote: > On Tue, Feb 28, 2017 at 11:07:08AM -0500, Alan Stern wrote: > > On Tue, 28 Feb 2017, Peter Chen wrote: > > > > > When the user does device unbind and rebind test, the kernel will > > > show below dump due to usb_gadget memory region is dirty after unbind. >

usb: gadget: webcam broken?

2017-03-01 Thread Roger Quadros
Hi, I'm no longer able to use g_webcam with uvc-gadget [1] since v4.9. Logs at the end. It looks like we're goofing up on the control endpoint. If I revert the following commit everything works fine. commit 4fbac5206afd01b717d4bdc58793d471f3391b4b Author: Petr Cvek Date: Wed Aug 17 12:36:57 2

[PATCH] usb: gadget: f_fs: simplify ffs_dev name handling

2017-03-01 Thread Michal Nazarewicz
Currently ffs_dev::name can be either allocated by the client of the ffs_dev structure or by the f_fs.c core itself. The former is used by g_ffs while the latter happens with configfs. Historically, g_ffs did not need to allocate separate buffer for the name so what is now f_fs.c core never cared

[PATCH] usb: gadget: mv_udc: clarify a switch with an implicit fall-through

2017-03-01 Thread Michal Nazarewicz
Rearrange statements in mv_ep_enable function so that it’s obvious what the switch does and how zlt, ios and mult variables are initialised. Most notably, this gets rid of an implicit fall-through so people don’t have to wonder whether it was intenional or not. Addresses-Coverity-ID: 201385 Repor

FW: RE: Re: Subject: [PATCH v3] USB:Core: BugFix: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously

2017-03-01 Thread Ajay Kaher
> On Mon, 22 Feb 2017, Ajay Kaher wrote: >  >> On Mon, 20 Feb 2017, Ajay Kaher wrote: >>  >>> Alan, as per my understanding I have shifted the lock from >>> release_usb_class() to destroy_usb_class() in patch v3.  >>> If it is not right, please explain in detail which race condition >>> I have mis

[RESEND PATCH 1/2] Documentation: bindings: add DT documentation for u2phy and u2phy grf

2017-03-01 Thread Meng Dongyang
Due to the u2phy registers are separated from general grf, we need to add u2phy grf node and place u2phy node in it. And on some platform, the 480m clock may need to assign clock parent in dts in stead of clock driver. So this patch add u2phy grf node and property of assigned-clocks and assigned-cl

[RESEND PATCH 2/2] phy: rockchip-inno-usb2: add support of u2phy for rk3328

2017-03-01 Thread Meng Dongyang
Add u2phy config information in the data of match table for rk3328. Signed-off-by: Meng Dongyang --- drivers/phy/phy-rockchip-inno-usb2.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/phy/phy-rockchip-inno-usb2.c b/drivers/phy/phy-rockchip-inno-usb2.c index

[RESEND PATCH 0/2] add support of u2phy for rk3328

2017-03-01 Thread Meng Dongyang
Resend this series to involve maintainer of phy documentation The config information of RK3328 about address and port property is different from before platform. So add config information in the data of match table and documentation of the device tree bindings of u2phy. Meng Dongyang (2): Docum

Re: usb/net/hso: WARNING: ungligned urb->setup_dma

2017-03-01 Thread Baruch Siach
Hi Stefan, On Tue, Feb 28, 2017 at 07:32:09PM +0100, Stefan Wahren wrote: > > Baruch Siach hat am 28. Februar 2017 um 19:07 > > geschrieben: > > On Tue, Feb 28, 2017 at 05:21:18PM +0100, Stefan Wahren wrote: > > > Am 28.02.2017 um 13:01 schrieb Baruch Siach: > > > > On Tue, Feb 28, 2017 at 10:2

[PATCH 1/2] Documentation: bindings: add DT documentation for u2phy and u2phy grf

2017-03-01 Thread Meng Dongyang
Due to the u2phy registers are separated from general grf, we need to add u2phy grf node and place u2phy node in it. And on some platform, the 480m clock may need to assign clock parent in dts in stead of clock driver. So this patch add u2phy grf node and property of assigned-clocks and assigned-cl

[PATCH 2/2] phy: rockchip-inno-usb2: add support of u2phy for rk3328

2017-03-01 Thread Meng Dongyang
Add u2phy config information in the data of match table for rk3328. Signed-off-by: Meng Dongyang --- drivers/phy/phy-rockchip-inno-usb2.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/phy/phy-rockchip-inno-usb2.c b/drivers/phy/phy-rockchip-inno-usb2.c index

[PATCH 0/2] add support of u2phy for rk3328

2017-03-01 Thread Meng Dongyang
The config information of RK3328 about address and port property is different from before platform. So add config information in the data of match table and documentation of the device tree bindings of u2phy. Meng Dongyang (2): Documentation: bindings: add DT documentation for u2phy and u2phy gr

Re: [PATCH] usb: gadget: add RNDIS configfs option for Windows rndiscmp.inf compatibility

2017-03-01 Thread Krzysztof Opasiak
On 02/28/2017 10:58 PM, David Lechner wrote: This adds a new configfs attribute named `use_ms_rndiscmp`. It is a boolean value that is used to select the class/subclass/protocol used by the RNDIS function interface association descriptor. By default, this is 0x02 (Comm), 0x06 (Ethernet), 0xff (