Support the new USB gigabit ethernet.
Signed-off-by: Hayes Wang
---
drivers/net/usb/r8152.c | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index 7f6419e..57b72ec 100644
--- a/drivers/net/usb/r8152.c
+++ b/d
According to USB Audio Device 2.0 Spec, Ch4.10.1.1:
wMaxPacketSize is defined as follows:
Maximum packet size this endpoint is capable of sending or receiving
when this configuration is selected.
This is determined by the audio bandwidth constraints of the endpoint.
In current code, the wMaxPacket
On 07/22/2015 08:45 AM, Peter Chen wrote:
> According to USB Audio Device 2.0 Spec, Ch4.10.1.1:
> wMaxPacketSize is defined as follows:
> Maximum packet size this endpoint is capable of sending or receiving
> when this configuration is selected.
> This is determined by the audio bandwidth constrain
On Wed, Jul 22, 2015 at 10:04:30AM +0200, Daniel Mack wrote:
> On 07/22/2015 08:45 AM, Peter Chen wrote:
> > According to USB Audio Device 2.0 Spec, Ch4.10.1.1:
> > wMaxPacketSize is defined as follows:
> > Maximum packet size this endpoint is capable of sending or receiving
> > when this configura
On Tue, 2015-07-21 at 12:45 -0400, Peter Hurley wrote:
> Let me know if you need help instrumenting the tty buffers/throttling
> to help figure out what the actual problem is.
>
> Regarding the patch itself, I have no opinion on the suitability of
> simply not resubmitting urbs. However, that is e
On Wed, Jul 22, 2015 at 10:04:30AM +0200, Daniel Mack wrote:
> On 07/22/2015 08:45 AM, Peter Chen wrote:
> > According to USB Audio Device 2.0 Spec, Ch4.10.1.1:
> > wMaxPacketSize is defined as follows:
> > Maximum packet size this endpoint is capable of sending or receiving
> > when this configura
On 07/22/2015 10:23 AM, Peter Chen wrote:
> On Wed, Jul 22, 2015 at 10:04:30AM +0200, Daniel Mack wrote:
>> On 07/22/2015 08:45 AM, Peter Chen wrote:
>>> According to USB Audio Device 2.0 Spec, Ch4.10.1.1:
>>> wMaxPacketSize is defined as follows:
>>> Maximum packet size this endpoint is capable of
After the worker thread is launched, bind function is doing further
configuration. In case of failure stop the thread.
Signed-off-by: Sanjay Singh Rawat
---
history:
v3: - handled Michal's comment; used existing function to change state and
exit thread.
- tested for f_mass_storage.c o
On Tue, Jul 21, 2015 at 09:29:17AM -0500, Felipe Balbi wrote:
> From: John Youn
>
> This fixes an issue introduced in commit b23c843992b6 (usb: dwc3:
> gadget: fix DEPSTARTCFG for non-EP0 EPs) that made sure we would
> only use DEPSTARTCFG once per SetConfig.
>
> The trick is that we should use
Hi Felipe,
> -Original Message-
> From: Felipe Balbi [mailto:ba...@ti.com]
> Sent: Tuesday, July 21, 2015 7:59 PM
> To: Linux USB Mailing List
> Cc: David Cohen; Subbaraya Sundeep Bhatta; Andy Gross; Kukjin Kim;
> Heikki Krogerus; Huang Rui; John Youn; sta...@vger.kernel.org; John Youn;
>
MTK xhci host controller defines some extra SW scheduling
parameters for HW to minimize the scheduling effort for
synchronous and interrupt endpoints. The parameters are
put into reseved DWs of slot context and endpoint context
Signed-off-by: Chunfeng Yun
---
drivers/usb/host/Kconfig|
>From ac1e8724bfa47494223bad0af450c1a63cd2fe0c Mon Sep 17 00:00:00 2001
From: Chunfeng Yun
Date: Wed, 22 Jul 2015 21:15:15 +0800
Subject: [PATCH 0/5] *** SUBJECT HERE ***
The patch supports MediaTek's xHCI controller.
There are some differences from xHCI spec:
1. The interval is specified in 250
add xHCI and phy drivers for MT8173-EVB
Signed-off-by: Chunfeng Yun
---
arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 15 ++
arch/arm64/boot/dts/mediatek/mt8173.dtsi| 31 +
2 files changed, 46 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt
add a DT binding documentation of xHCI host controller for the
MT8173 SoC from Mediatek.
Signed-off-by: Chunfeng Yun
---
.../devicetree/bindings/usb/mt8173-xhci.txt| 50 ++
1 file changed, 50 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/mt81
Hi Greg,
A second fixes pull request, seems like there won't be any
more fixes coming through me; either that or I'll be proven
wrong :-)
cheers
The following changes since commit 52721d9d3334c1cb1f76219a161084094ec634dc:
Linux 4.2-rc3 (2015-07-19 14:45:02 -0700)
are available in the git rep
On 07/09/2015 05:06 AM, Alex Elsayed wrote:
Alan Stern wrote:
On Mon, 6 Jul 2015, Jeremy White wrote:
Anything else fundamental to usbip that should inform the design of a
usbredir driver? usbip appears to be based off a 2004 vintage of
dummy_hcd. I'll look thoughtfully at the current dummy
support usb3.0 phy of mt65xx SoCs
Signed-off-by: Chunfeng Yun
---
drivers/phy/Kconfig | 9 +
drivers/phy/Makefile | 1 +
drivers/phy/phy-mt65xx-usb3.c | 426 ++
3 files changed, 436 insertions(+)
create mode 100644 drivers/phy/phy-m
add a DT binding documentation of usb3.0 phy for MT65xx
SoCs from Mediatek.
Signed-off-by: Chunfeng Yun
---
.../devicetree/bindings/phy/phy-mt65xx-u3.txt | 21 +
1 file changed, 21 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/phy-mt65xx-u3.txt
[sorry, resend from different email - vger postmaster team has stupid filters
in place]
On Tuesday 21 of July 2015, Mathias Nyman wrote:
> On 20.07.2015 23:13, Arkadiusz Miskiewicz wrote:
> > On Saturday 18 of July 2015, Arkadiusz Miskiewicz wrote:
> >> Hi.
> >>
> >> I'm on 4.2.0-rc2-00077-gf76
On Wed, Jul 22, 2015 at 03:05:42PM +0100, Chunfeng Yun wrote:
> add a DT binding documentation of xHCI host controller for the
> MT8173 SoC from Mediatek.
>
> Signed-off-by: Chunfeng Yun
> ---
> .../devicetree/bindings/usb/mt8173-xhci.txt| 50
> ++
> 1 file changed,
Hi,
On Wed, Jul 22, 2015 at 10:05:43PM +0800, Chunfeng Yun wrote:
> support usb3.0 phy of mt65xx SoCs
>
> Signed-off-by: Chunfeng Yun
you missed Kishon here.
> ---
> drivers/phy/Kconfig | 9 +
> drivers/phy/Makefile | 1 +
> drivers/phy/phy-mt65xx-usb3.c | 426
> ++
On 07/22/2015 04:40 AM, Oliver Neukum wrote:
> On Tue, 2015-07-21 at 12:45 -0400, Peter Hurley wrote:
>> Let me know if you need help instrumenting the tty buffers/throttling
>> to help figure out what the actual problem is.
>>
>> Regarding the patch itself, I have no opinion on the suitability of
On Wed, Jul 22, 2015 at 09:03:53AM -0500, Jeremy White wrote:
> On 07/09/2015 05:06 AM, Alex Elsayed wrote:
> >Alan Stern wrote:
> >
> >>On Mon, 6 Jul 2015, Jeremy White wrote:
> >>
> >>>Anything else fundamental to usbip that should inform the design of a
> >>>usbredir driver? usbip appears to be
On Wed, 2015-07-22 at 10:30 -0400, Peter Hurley wrote:
> 3. Pre-allocate space _before_ the data arrives (with
> tty_buffer_request_room());
>this is applicable to subsystems which know how much data can be
> in-flight
>at any one time. This guarantees that when rx data arrives buffer
> spa
On Thu, Jul 09, 2015 at 03:18:37PM +0800, Li Jun wrote:
> Change for v7:
> - Free otg descriptor when failure of bind in patch 21, 22, 23.
> add Roger's Reviewed-by for patch 10~20.
> - Choose the lesser otg-rev if otg-rev has been set before update by DT,
> remove 0x0300 in supported otg-rev l
On Mon, Jul 13, 2015 at 09:03:14AM +0800, Peter Chen wrote:
> On Thu, Jul 09, 2015 at 09:22:09PM +0800, Li Jun wrote:
> > On Thu, Jul 09, 2015 at 11:57:39AM +0300, Roger Quadros wrote:
> > > Hi,
> > >
> > > On 09/07/15 10:18, Li Jun wrote:
> > > > Init and update otg capabilities by DT, set gadget
On Wed, 2015-07-15 at 11:21 +0200, Johan Hovold wrote:
Hi Johan:
Thanks for another thoughtful and helpful review. I think I have
addressed all the issues you noted and have a v8 patchset just about
ready to submit. First I'll respond to each of the specific points here
and in your other v7 revi
On Wed, 2015-07-15 at 11:36 +0200, Johan Hovold wrote:
> On Sun, Jun 28, 2015 at 01:28:20PM -0500, Peter E. Berger wrote:
> > From: "Peter E. Berger"
> >
> > Do what we can to verify that the driver's firmware image is valid
> > (before attempting to download it to the Edgeport) by adding a new
>
On Wed, 2015-07-15 at 11:42 +0200, Johan Hovold wrote:
> On Sun, Jun 28, 2015 at 01:28:21PM -0500, Peter E. Berger wrote:
> > From: "Peter E. Berger"
> >
> > When using newer Edgeport devices such as the EP/416, idle ports are
> > automatically bounced (disconnected and then reconnected) approxim
Adding Mathias Nyman (new USB 3.0 maintainer) and the USB mailing list.
On Tue, Jul 21, 2015 at 11:21:18PM +0200, Martin MOKREJŠ wrote:
> Hi Sarah and Alan,
> I bought a new toy: 13port USB 3.0 HUB based on VIAlabs 812 chipset with
> two power-only charging ports: 1x1.5A and 1x2.4A (AUKEY CB-H1
On Wed, 2015-07-15 at 11:47 +0200, Johan Hovold wrote:
> On Sun, Jun 28, 2015 at 01:28:18PM -0500, Peter E. Berger wrote:
> > From: "Peter E. Berger"
> >
> > The io_ti driver fails to download firmware to Edgeport devices such as
> > the EP/416. One of the problems is that the default 1 second t
On Wed, Jul 22, 2015 at 09:04:44AM -0500, Felipe Balbi wrote:
> Hi Greg,
>
> A second fixes pull request, seems like there won't be any
> more fixes coming through me; either that or I'll be proven
> wrong :-)
>
> cheers
>
> The following changes since commit 52721d9d3334c1cb1f76219a161084094ec6
On 07/22/2015 09:34 AM, Greg KH wrote:
> On Wed, Jul 22, 2015 at 09:03:53AM -0500, Jeremy White wrote:
>> On 07/09/2015 05:06 AM, Alex Elsayed wrote:
>>> Alan Stern wrote:
>>>
On Mon, 6 Jul 2015, Jeremy White wrote:
> Anything else fundamental to usbip that should inform the design of
From: Hayes Wang
Date: Wed, 22 Jul 2015 15:27:41 +0800
> Support the new USB gigabit ethernet.
>
> Signed-off-by: Hayes Wang
Applied.
--
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://vge
On Wed, Jul 22, 2015 at 11:55:32AM -0500, Jeremy White wrote:
> I privately wrote to the Intel authors of that patch a week ago; I've
> publicly included them in this thread as well. As far as I can tell,
> they've been silent on this front since November; I fear that they may
> have moved on, or
Hello.
On 07/22/2015 05:05 PM, Chunfeng Yun wrote:
add xHCI and phy drivers for MT8173-EVB
Signed-off-by: Chunfeng Yun
---
arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 15 ++
arch/arm64/boot/dts/mediatek/mt8173.dtsi| 31 +
2 files changed, 46
21.07.2015 17:22, Oliver Neukum пишет:
On Mon, 2015-07-20 at 21:13 +0300, Eugene Shatokhin wrote:
And here, the code clears EVENT_RX_KILL bit in dev->flags, which may
execute concurrently with the above operation:
#0 clear_bit (bitops.h:113, inlined)
#1 usbnet_bh (usbnet.c:1475)
/* rest
From: "Peter E. Berger"
The io_ti driver fails to download firmware to Edgeport devices such as
the EP/416 and EP/421 (devices with on-board E2PROM). One of the problems
is that the default 1 second timeout in ti_vsend_sync() is insufficient
for download operations. This patch increases the dow
From: "Peter E. Berger"
I found that when using the Edgeport EP/416, idle ports are regularly
bounced (disconnected and then reconnected). I discussed this with the
manufacturer (Digi International) and learned that EP/416 devices now
ship from the factory running firmware that requires periodic
From: "Peter E. Berger"
The io_ti driver fails to download firmware to Edgeport
devices such as the EP/416, even when the on-disk firmware image
(/lib/firmware/edgeport/down3.bin) is more current than the version
on the EP/416. The current download code is broken in a few ways.
Notably it mis-us
From: "Peter E. Berger"
When using Edgeport/416 models with newer firmware (sometime after
firmware version 4.80.0), idle ports are automatically bounced
(disconnected and then reconnected) approximately every 60 seconds.
This breaks programs (e.g: minicom) where idle periods are common,
normal a
From: "Peter E. Berger"
Do what we can to verify that the driver's firmware image is valid
(before attempting to download it to the Edgeport) by adding a new
function, check_fw_sanity(), and a call to it in in download_fw().
Note: It looks like some Edgeports (models like the EP/416 with on-boar
Hi everybody,
I just bought an Inateck FD2003 docking station which is based on a JMicron
"JMS56x Series" controller (152d:1567).
This docking station can host two sata drives. It works perfectly when one drive
is inserted (in whathever slot), but if I try to use two drives together, only
th
V2 - Fix a compiler bug that happend when the config options
CONFIG_USB_GADGET_DEBUG and CONFIG_USB_GADGET_VERBOSE
were enabled.
ep_dequeue() in bdc_ep.c was capturing the hw dequeue pointer
incorrectly by reading the wrong register for the upper 32 bits.
The header file defining the registers was
Hi,
On Wed, Jul 22, 2015 at 04:58:07PM -0400, Al Cooper wrote:
> V2 - Fix a compiler bug that happend when the config options
> CONFIG_USB_GADGET_DEBUG and CONFIG_USB_GADGET_VERBOSE
> were enabled.
this sort of version changes should be placed after the tearline so that
when I git am this patch,
On Wed, Jul 22, 2015 at 04:58:07PM -0400, Al Cooper wrote:
> V2 - Fix a compiler bug that happend when the config options
> CONFIG_USB_GADGET_DEBUG and CONFIG_USB_GADGET_VERBOSE
> were enabled.
>
> ep_dequeue() in bdc_ep.c was capturing the hw dequeue pointer
> incorrectly by reading the wrong reg
On Wed, Jul 22, 2015 at 04:26:57PM -0500, Felipe Balbi wrote:
> On Wed, Jul 22, 2015 at 04:58:07PM -0400, Al Cooper wrote:
> > V2 - Fix a compiler bug that happend when the config options
> > CONFIG_USB_GADGET_DEBUG and CONFIG_USB_GADGET_VERBOSE
> > were enabled.
> >
> > ep_dequeue() in bdc_ep.c w
On Tue, Jun 23, 2015 at 01:57:38PM +0300, Heikki Krogerus wrote:
> On Fri, Jun 19, 2015 at 01:12:36AM +0800, ChengYi He wrote:
> > put_device is required to release the last reference to the device.
> >
> > Signed-off-by: ChengYi He
> > ---
> > drivers/usb/common/ulpi.c | 4 +++-
> > 1 file chan
On Sat, Jul 11, 2015 at 12:04:26PM +, AMAN DEEP wrote:
> There is a race condition between
> finish_unlinks->finish_urb() function and
> usb_kill_urb() in ohci controller case. The finish_urb
> calls spin_unlock(&ohci->lock) before
> usb_hcd_giveback_urb() function call, then if during
> t
Hi Sven,
On 07/21/2015 08:47 PM, Sven Brauch wrote:
> On 22/07/15 01:34, Peter Hurley wrote:
>> I'd like to see that data, if you can, which will help me understand
>> at least the timing.
> Sure, please see below for the code which produced the output
> and the actual output. Let me know if you n
On Wed, Jul 22, 2015 at 5:29 PM, Felipe Balbi wrote:
> On Wed, Jul 22, 2015 at 04:26:57PM -0500, Felipe Balbi wrote:
>> On Wed, Jul 22, 2015 at 04:58:07PM -0400, Al Cooper wrote:
>> > V2 - Fix a compiler bug that happend when the config options
>> > CONFIG_USB_GADGET_DEBUG and CONFIG_USB_GADGET_VE
Hi,
On 23/07/15 00:12, Peter Hurley wrote:
> The premature unthrottle actually leads to the data loss but the throttling
> with a mere 2K left is _way too late_.
Ok, yes, I think so too.
> 10ms is a _really_ long time for a cpu not to attend to a kworker.
> Which raises 2 questions:
> 1. What are
On Thu, Jun 18, 2015 at 07:23:21PM +0200, Stefan Koch wrote:
> The attribute authorized shows the authorization state for an interface.
>
> Signed-off-by: Stefan Koch
> ---
> include/linux/usb.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/linux/usb.h b/include/linux/usb.h
>
On Thu, Jun 18, 2015 at 07:23:22PM +0200, Stefan Koch wrote:
> Interfaces are allowed per default.
> This can disabled or enabled (again) by writing 0 or 1 to
> /sys/bus/usb/devices/usbX/interface_authorized_default
>
> Signed-off-by: Stefan Koch
> ---
> drivers/usb/core/hcd.c | 52
> ++
On Thu, Jun 18, 2015 at 07:23:23PM +0200, Stefan Koch wrote:
> Driver probings and interface claims get rejected
> if an interface is not authorized.
>
> Signed-off-by: Stefan Koch
> ---
> drivers/usb/core/driver.c | 11 +++
> 1 file changed, 11 insertions(+)
>
> diff --git a/drivers/us
On Thu, Jun 18, 2015 at 07:23:24PM +0200, Stefan Koch wrote:
> The kernel supports the device authorization because of wireless USB.
> These is usable for wired USB devices, too.
> These new interface authorization allows to enable or disable
> individual interfaces instead a whole device.
>
> If
On Thu, Jun 18, 2015 at 07:23:25PM +0200, Stefan Koch wrote:
> This introduces an attribute for each interface to
> authorize (1) or deauthorize (0) it:
> /sys/bus/usb/devices/INTERFACE/authorized
>
> Signed-off-by: Stefan Koch
> ---
> drivers/usb/core/sysfs.c | 41 ++
On Tue, Jun 23, 2015 at 08:53:23AM +0200, Juergen Gross wrote:
> Add the definition of pvUSB protocol used between the pvUSB frontend in
> a Xen domU and the pvUSB backend in a Xen driver domain (usually Dom0).
>
> This header was originally provided by Fujitsu for Xen based on Linux
> 2.6.18.
>
On 07/22/2015 12:59 PM, Sean O. Stalley wrote:
On Wed, Jul 22, 2015 at 11:55:32AM -0500, Jeremy White wrote:
I privately wrote to the Intel authors of that patch a week ago; I've
publicly included them in this thread as well. As far as I can tell,
they've been silent on this front since Novembe
On Wed, Jul 22, 2015 at 10:13:08AM -0500, Felipe Balbi wrote:
> On Thu, Jul 09, 2015 at 03:18:37PM +0800, Li Jun wrote:
> > Change for v7:
> > - Free otg descriptor when failure of bind in patch 21, 22, 23.
> > add Roger's Reviewed-by for patch 10~20.
> > - Choose the lesser otg-rev if otg-rev ha
Sorry, add a title
On Wed, 2015-07-22 at 22:05 +0800, Chunfeng Yun wrote:
> From ac1e8724bfa47494223bad0af450c1a63cd2fe0c Mon Sep 17 00:00:00 2001
> From: Chunfeng Yun
> Date: Wed, 22 Jul 2015 21:15:15 +0800
> Subject: [PATCH 0/5] *** SUBJECT HERE ***
>
> The patch supports MediaTek's xHCI contr
On Wed, 22 Jul 2015, Giulio Bernardi wrote:
> Hi everybody,
>
> I just bought an Inateck FD2003 docking station which is based on a JMicron
> "JMS56x Series" controller (152d:1567).
>
> This docking station can host two sata drives. It works perfectly when one
> drive
> is inserted (in whathe
Hi,
On Wed, Jul 22, 2015 at 06:27:29PM -0400, Alan Cooper wrote:
> On Wed, Jul 22, 2015 at 5:29 PM, Felipe Balbi wrote:
> > On Wed, Jul 22, 2015 at 04:26:57PM -0500, Felipe Balbi wrote:
> >> On Wed, Jul 22, 2015 at 04:58:07PM -0400, Al Cooper wrote:
> >> > V2 - Fix a compiler bug that happend whe
On Wed, Jul 22, 2015 at 02:39:34PM -0700, Greg Kroah-Hartman wrote:
> On Tue, Jun 23, 2015 at 01:57:38PM +0300, Heikki Krogerus wrote:
> > On Fri, Jun 19, 2015 at 01:12:36AM +0800, ChengYi He wrote:
> > > put_device is required to release the last reference to the device.
> > >
> > > Signed-off-by
On Wed, Jul 22, 2015 at 12:11:55PM +0200, Daniel Mack wrote:
> On 07/22/2015 10:23 AM, Peter Chen wrote:
> > On Wed, Jul 22, 2015 at 10:04:30AM +0200, Daniel Mack wrote:
> >> On 07/22/2015 08:45 AM, Peter Chen wrote:
> >>> According to USB Audio Device 2.0 Spec, Ch4.10.1.1:
> >>> wMaxPacketSize is
Hi Jun,
2015-07-23 7:57 GMT+08:00 Li Jun :
> On Wed, Jul 22, 2015 at 10:13:08AM -0500, Felipe Balbi wrote:
>> On Thu, Jul 09, 2015 at 03:18:37PM +0800, Li Jun wrote:
>> > Change for v7:
>> > - Free otg descriptor when failure of bind in patch 21, 22, 23.
>> > add Roger's Reviewed-by for patch 10
On Wed, Jul 22, 2015 at 09:04:40PM -0500, Felipe Balbi wrote:
> On Wed, Jul 22, 2015 at 02:39:34PM -0700, Greg Kroah-Hartman wrote:
> > On Tue, Jun 23, 2015 at 01:57:38PM +0300, Heikki Krogerus wrote:
> > > On Fri, Jun 19, 2015 at 01:12:36AM +0800, ChengYi He wrote:
> > > > put_device is required t
Change for v8:
- Add Peter's ACk for chipidea driver; and Roger's Reviewed-by for patch
07, 21~23.
- Add ci->is_otg condition before enable ci->gadget.is_otg for chipidea
driver in patch 8.
Change for v7:
- Free otg descriptor when failure of bind in patch 21, 22, 23.
add Roger's Reviewed-by
From: Macpaul Lin
OTG 2.0 introduces bcdOTG in otg descriptor to identify the OTG and EH
supplement release number with which the OTG device is compliant, this
patch adds structure usb_otg20_descriptor for OTG 2.0 and above.
Signed-off-by: Macpaul Lin
Signed-off-by: Li Jun
Reviewed-by: Roger Q
Add otg version, srp, hnp and adp support for usb OTG port, then those OTG
features don't have to be decided by usb gadget drivers.
Signed-off-by: Li Jun
Reviewed-by: Roger Quadros
---
Documentation/devicetree/bindings/usb/generic.txt | 15 +++
1 file changed, 15 insertions(+)
diff
From: Macpaul Lin
Add USB_OTG_ADP definition for usb_otg_descriptor.bmAttributes.
Signed-off-by: Macpaul Lin
Signed-off-by: Li Jun
Acked-by: Peter Chen
---
include/uapi/linux/usb/ch9.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/usb/ch9.h b/include/uapi/linux/usb/c
Allocate and initialize usb otg descriptor according to gadget otg
capabilities, add it for each usb configurations, free it while
composite unbind. If otg capability is not defined, keep its otg
descriptor unchanged.
Signed-off-by: Li Jun
Reviewed-by: Roger Quadros
---
drivers/usb/gadget/confi
Allocate and initialize usb otg descriptor according to gadget otg
capabilities, add it for each usb configurations. If otg capability
is not defined, keep its original otg descriptor unchanged.
Signed-off-by: Li Jun
Reviewed-by: Roger Quadros
---
drivers/usb/gadget/legacy/acm_ms.c | 35 +++
From: Macpaul Lin
Copy usb_otg_descriptor from config's descriptor if host requests
USB_DT_OTG.
Signed-off-by: Macpaul Lin
Signed-off-by: Li Jun
Reviewed-by: Roger Quadros
---
drivers/usb/gadget/composite.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/driv
This patch adds a structure usb_otg_caps to cover all otg related
capabilities of the device, including otg revision, and if hnp/srp/adp
is supported.
Signed-off-by: Li Jun
Reviewed-by: Roger Quadros
---
include/linux/usb/otg.h | 15 +++
1 file changed, 15 insertions(+)
diff --git
After introduce usb otg properties, update ci_otg_is_fsm_mode conditions
to be depending on both usb hardware properties and usb driver config,
also resolve a compile issue in debug.c after the API change.
Signed-off-by: Li Jun
Acked-by: Peter Chen
---
drivers/usb/chipidea/ci.h| 5 -
dr
Allocate and initialize usb otg descriptor according to gadget otg
capabilities, add it for each usb configurations, free it while
ether unbind. If otg capability is not defined, keep its otg
descriptor unchanged.
Signed-off-by: Li Jun
Reviewed-by: Roger Quadros
---
drivers/usb/gadget/legacy/et
From: Macpaul Lin
Add usb_otg_caps pointer to usb_gadget structure to indicate its
otg capabilities.
Signed-off-by: Macpaul Lin
Signed-off-by: Li Jun
Reviewed-by: Roger Quadros
---
include/linux/usb/gadget.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/usb/gadget.h b/i
Check property of usb hardware to update otg version and disable SRP, HNP
and ADP if its disable flag is present.
Signed-off-by: Li Jun
Reviewed-by: Roger Quadros
---
drivers/usb/common/common.c | 56 +
include/linux/usb/of.h | 7 ++
2 files
Init and update otg capabilities by DT, set gadget's otg capabilities
accordingly.
Signed-off-by: Li Jun
Reviewed-by: Roger Quadros
Acked-by: Peter Chen
---
drivers/usb/chipidea/core.c | 15 +++
drivers/usb/chipidea/udc.c | 7 ++-
include/linux/usb/chipidea.h | 1 +
3 file
Allocate usb otg descriptor and initialize it according to gadget's otg
capabilities, if usb_otg_caps is not set, keep settings as current gadget
drivers. With this 2 new interfaces, gadget can use usb_otg_descriptor
for OTG 1.x, and usb_otg20_descriptor for OTG 2.0 or above, and otg
features can b
Allocate and initialize usb otg descriptor according to gadget otg
capabilities, add it for each usb configurations. If otg capability
is not defined, keep its original otg descriptor unchanged.
Signed-off-by: Li Jun
Reviewed-by: Roger Quadros
---
drivers/usb/gadget/legacy/zero.c | 41 +
Allocate and initialize usb otg descriptor according to gadget otg
capabilities, add it for each usb configurations. If otg capability
is not defined, keep its original otg descriptor unchanged.
Signed-off-by: Li Jun
Reviewed-by: Roger Quadros
---
drivers/usb/gadget/legacy/hid.c | 36 ++
Allocate and initialize usb otg descriptor according to gadget otg
capabilities, add it for each usb configurations. If otg capability
is not defined, keep its original otg descriptor unchanged.
Signed-off-by: Li Jun
Reviewed-by: Roger Quadros
---
drivers/usb/gadget/legacy/cdc2.c | 35 +
Allocate and initialize usb otg descriptor according to gadget otg
capabilities, add it for each usb configurations. If otg capability
is not defined, keep its original otg descriptor unchanged.
Signed-off-by: Li Jun
Reviewed-by: Roger Quadros
---
drivers/usb/gadget/legacy/g_ffs.c | 32
Allocate and initialize usb otg descriptor according to gadget otg
capabilities, add it for each usb configurations. If otg capability
is not defined, keep its original otg descriptor unchanged.
Signed-off-by: Li Jun
Reviewed-by: Roger Quadros
---
drivers/usb/gadget/legacy/printer.c | 49 ++
Allocate and initialize usb otg descriptor according to gadget otg
capabilities, add it for each usb configurations. If otg capability
is not defined, keep its original otg descriptor unchanged.
Signed-off-by: Li Jun
Reviewed-by: Roger Quadros
---
drivers/usb/gadget/legacy/audio.c | 34
Allocate and initialize usb otg descriptor according to gadget otg
capabilities, add it for each usb configurations. If otg capability
is not defined, keep its original otg descriptor unchanged.
Signed-off-by: Li Jun
Reviewed-by: Roger Quadros
---
drivers/usb/gadget/legacy/multi.c | 37
Allocate and initialize usb otg descriptor according to gadget otg
capabilities, add it for each usb configurations. If otg capability
is not defined, keep its original otg descriptor unchanged.
Signed-off-by: Li Jun
Reviewed-by: Roger Quadros
---
drivers/usb/gadget/legacy/serial.c | 37 +++
Allocate and initialize usb otg descriptor according to gadget otg
capabilities, add it for each usb configurations. If otg capability
is not defined, keep its original otg descriptor unchanged.
Signed-off-by: Li Jun
Reviewed-by: Roger Quadros
---
drivers/usb/gadget/legacy/mass_storage.c | 35 +
Allocate and initialize usb otg descriptor according to gadget otg
capabilities, add it for each usb configurations. If otg capability
is not defined, keep its original otg descriptor unchanged.
Signed-off-by: Li Jun
Reviewed-by: Roger Quadros
---
drivers/usb/gadget/legacy/ncm.c | 34 ++
On 07/23/2015 01:46 AM, Greg KH wrote:
On Tue, Jun 23, 2015 at 08:53:23AM +0200, Juergen Gross wrote:
Add the definition of pvUSB protocol used between the pvUSB frontend in
a Xen domU and the pvUSB backend in a Xen driver domain (usually Dom0).
This header was originally provided by Fujitsu fo
On Thu, Jul 23, 2015 at 06:04:39AM +0200, Juergen Gross wrote:
> On 07/23/2015 01:46 AM, Greg KH wrote:
> >On Tue, Jun 23, 2015 at 08:53:23AM +0200, Juergen Gross wrote:
> >>Add the definition of pvUSB protocol used between the pvUSB frontend in
> >>a Xen domU and the pvUSB backend in a Xen driver
Hello,
Is this:
case USB_ENDPOINT_XFER_INT:
/* Bulk endpoints handle interrupt transfers,
* except the toggle-quirky iso-synch kind
*/
if (!ep->caps.type_int && !ep->caps.type_bulk)
return 0;
... or
Hi,
On Wed, Jul 22, 2015 at 08:14:46PM -0700, Greg Kroah-Hartman wrote:
> On Wed, Jul 22, 2015 at 09:04:40PM -0500, Felipe Balbi wrote:
> > On Wed, Jul 22, 2015 at 02:39:34PM -0700, Greg Kroah-Hartman wrote:
> > > On Tue, Jun 23, 2015 at 01:57:38PM +0300, Heikki Krogerus wrote:
> > > > On Fri, Jun
On 07/23/2015 03:00 AM, Peter Chen wrote:
>> That detail is merely about completeness. The code that calculates the
>> > value of wMaxPacketSize should take into account what is configured in
>> > bInterval of the endpoint, so if users change one thing, they don't have
>> > to tweak the other as w
Here is the output of usbmon - collected with "usbmon" program. The output seems
the same of cat /sys/kernel/debug/usb/usbmon/0u with slightly more readable
timestamps and shortened addresses so I used that.
Giulio
8<---
343a9e40
On 07/23/2015 06:36 AM, Greg KH wrote:
On Thu, Jul 23, 2015 at 06:04:39AM +0200, Juergen Gross wrote:
On 07/23/2015 01:46 AM, Greg KH wrote:
On Tue, Jun 23, 2015 at 08:53:23AM +0200, Juergen Gross wrote:
Add the definition of pvUSB protocol used between the pvUSB frontend in
a Xen domU and the
98 matches
Mail list logo