Doug,
On 01/29/2016 10:20 AM, Douglas Anderson wrote:
When setting up ISO and INT transfers dwc2 needs to specify whether the
transfer is for an even or an odd frame (or microframe if the controller
is running in high speed mode).
The controller appears to use this as a simple way to figure out
Doug,
On 02/02/2016 08:36 AM, Doug Anderson wrote:
Kever,
On Sun, Jan 31, 2016 at 8:36 PM, Doug Anderson wrote:
Kever,
On Sun, Jan 31, 2016 at 7:32 PM, Kever Yang wrote:
Doug,
On 02/01/2016 06:09 AM, Doug Anderson wrote:
Kever,
On Sun, Jan 31, 2016 at 1:36 AM, Kever Yang
wrote:
Doug,
I want to write a end to end raw HID interface for some specific user
defined data communication on USB. Can any one help me or point me
1. What all changes I need in device/host driver.
2. How it interact with application at device side.
3. How it interact with Host side application.
Any clue an
We were getting build warning about:
drivers/usb/host/xhci.c: In function ‘xhci_add_ep_to_interval_table’:
drivers/usb/host/xhci.c:2499:2: warning: enumeration value
‘USB_SPEED_SUPER_PLUS’ not handled in switch
Fix it by adding SuperSpeedPlus USB3.1 devices as the behaviour is same
as wit
Update various places where the speed is checked so that it takes into
account SuperSpeedPlus properly.
Signed-off-by: John Youn
---
drivers/usb/dwc3/ep0.c| 9 ++---
drivers/usb/dwc3/gadget.c | 13 -
2 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/drivers/usb
Add the 'ssp_descriptors' parameter to the usb_assign_descriptors()
function. This allows a function driver to add descriptors for
SuperSpeedPlus speeds if it supports it.
Also update all uses of this function in the gadget subsystem so that
they pass NULL for the ssp_descriptors parameters.
Sign
Add a convenience function to check if the controller is DWC_usb31.
Signed-off-by: John Youn
---
drivers/usb/dwc3/core.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index 2913068..15281c1 100644
--- a/drivers/usb/dwc3/core.h
+++ b/d
When a function is added to a configuration with usb_add_function(), the
configuration speed flags are updated. These flags indicate for which
speeds the configuration is valid for.
This patch adds a flag in the configuration for SuperSpeedPlus and
also updates this based on the existence of ssp_d
Configure the usb_ep using the SuperSpeedPlus descriptors if connected
in SuperSpeedPlus.
Signed-off-by: John Youn
---
drivers/usb/gadget/composite.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c
index
Enable SuperSpeedPlus by programming the DCFG.speed and after
enumerating, set gadget->speed appropriately.
Signed-off-by: John Youn
---
drivers/usb/dwc3/gadget.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadg
If the maximum_speed is not set, set it to a known value, either
SuperSpeed or SuperSpeedPlus based on the type of controller we are
using. If we are on DWC_usb31 controller, check the PHY interface to see
if it is capable of SuperSpeedPlus.
Also this check is moved after dwc3_core_init() so that
Update various registers fields definitions for the DWC_usb31 controller
for SuperSpeedPlus support.
Signed-off-by: John Youn
---
drivers/usb/dwc3/core.h | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index 15281c1..6b13e
If a gadget supports SuperSpeedPlus or higher speeds, return a
SuperSpeedPlus USB Device Capability descriptor.
Currently this implementation returns a fixed descriptor with typical
values set.
Signed-off-by: John Youn
---
drivers/usb/gadget/composite.c | 42
Update the debug message reporting the speeds that a configuration
supports for SuperSpeedPlus.
Signed-off-by: John Youn
---
drivers/usb/gadget/composite.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c
index
Enable writing of SuperSpeedPlus descriptors for any SuperSpeedPlus
capable configuration when connected in SuperSpeedPlus.
Signed-off-by: John Youn
---
drivers/usb/gadget/composite.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/composite.c b/driver
There are a couple places in the code that get the function descriptors
based on the speed. Move this lookup into a function call and add
support to handle the SuperSpeedPlus descriptors as well.
Signed-off-by: John Youn
---
drivers/usb/gadget/composite.c | 53 +--
Enable superspeed plus configuration for the mass storage gadget.
The mass storage function doesn't do anything special for
SuperSpeedPlus. Just pass in the same SuperSpeed descriptors for
SuperSpeedPlus.
Signed-off-by: John Youn
---
drivers/usb/gadget/function/f_mass_storage.c | 2 +-
1 file c
The SuperspeedPlus Device Capability Descriptor has a variable size
depending on the number of sublink speed attributes.
This patch adds a macro to calculate that size. The macro takes one
argument, the Sublink Speed Attribute Count (SSAC) as reported by the
descriptor in bmAttributes[4:0].
See U
If enumerated in SuperSpeedPlus, count the configurations that support
it.
Signed-off-by: John Youn
---
drivers/usb/gadget/composite.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c
index 560330f..44ad7aa
Add a ssp_descriptors member to struct usb_function and handle the
initialization and cleanup of it. This holds the SuperSpeedPlus
descriptors for a function that supports SuperSpeedPlus. This is added
by usb_assign_descriptors().
Signed-off-by: John Youn
---
drivers/usb/gadget/config.c | 6 ++
This series of patches adds SuperSpeedPlus support to the composite
gadget framework. After this series the composite gadget framework
should be able to support SuperSpeedPlus functions and gadgets.
Additionally, the f_mass_storage function and the DWC3 gadget are
updated to support SuperSpeedPlus
Add a function to check for SuperSpeedPlus capable gadgets.
Signed-off-by: John Youn
---
include/linux/usb/gadget.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h
index d82d006..d6a1bda 100644
--- a/include/linux/usb/gadget
The USB 3.1 specification replaces the USB 3.0 specification and all new
devices that are running at SuperSpeed or higher speeds must report a
bcdUSB of 0x0310.
Signed-off-by: John Youn
---
drivers/usb/gadget/composite.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers
Add USB_SPEED_SUPER_PLUS to usb_device_speed enumeration and add an
entry in the speed_names array for it.
Signed-off-by: John Youn
---
drivers/usb/common/common.c | 1 +
include/uapi/linux/usb/ch9.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/usb/common/common.c b/drivers/usb
Kever,
On Sun, Jan 31, 2016 at 8:36 PM, Doug Anderson wrote:
> Kever,
>
> On Sun, Jan 31, 2016 at 7:32 PM, Kever Yang wrote:
>> Doug,
>>
>>
>> On 02/01/2016 06:09 AM, Doug Anderson wrote:
>>>
>>> Kever,
>>>
>>> On Sun, Jan 31, 2016 at 1:36 AM, Kever Yang
>>> wrote:
Doug,
>>>
From: Cristian Birsan
Commit 6b6e97107f12f3a9f7 (USB: musb: fix isochronous TXDMA (take 2)) introduces
a problem setting the desired channel mode for the Mentor DMA engine.
There is a case where the pointer of the channel DMA mode is incorrectly
assigned to a pointer value, when it should be ass
From: Cristian Birsan
Commit ac33cdb166811223cc (usb: musb: Remove ifdefs for musb_host_rx in
musb_host.c part5) introduces a problem setting DMA host mode.
This fixes the done condition that advances the musb schedule. Without this
patch the the msub_advance_schedule() is called immediately aft
On 1/26/2016 8:14 AM, Doug Anderson wrote:
> Hi,
>
> On Thu, Jan 21, 2016 at 3:28 PM, Heiko Stuebner wrote:
>> Am Montag, 11. Januar 2016, 16:32:00 schrieb John Youn:
>>> This series fixes a couple regressions reported on Raspberry Pi.
>>
>> same regressions (Isaw strange usb resets) seem to affe
你的老朋友邀你来Q群:343257759
From: Ken Lin
Add USB ID for cp2104/5 devices on GE B650v3 and B850v3 boards.
Signed-off-by: Ken Lin
Signed-off-by: Akshay Bhat
---
drivers/usb/serial/cp210x.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c
index 987813b..7c319e
A recent patch introduced support for superspeed plus (USB3.1), but that
caused a new gcc warning in the XHCI code:
usb/host/xhci.c: In function 'xhci_drop_ep_from_interval_table':
usb/host/xhci.c:2440:2: error: enumeration value 'USB_SPEED_SUPER_PLUS' not
handled in switch [-Werror=switch]
This
On Sun, 31 Jan 2016, Clemens Ladisch wrote:
> Alan Stern wrote:
> > On Sun, 31 Jan 2016, Clemens Ladisch wrote:
> >> Alan Stern wrote:
> >>> On Fri, 29 Jan 2016, Dan Carpenter wrote:
> The patch c6994e6f067c: "USB: gadget: add USB Audio Gadget driver"
> from Jun 3, 2009, leads to the fol
On 31/01/16 19:54, Johan Hovold wrote:
On Mon, Jan 18, 2016 at 02:14:37PM +, Martyn Welch wrote:
This patch adds support for the GPIO found on the CP2105. Unlike the GPIO
provided by some of the other devices supported by the cp210x driver, the
GPIO on the CP2015 is muxed on pins otherwise
Mathieu OTHACEHE writes:
> On Sun, Jan 31, 2016 at 10:33:54PM +0100, Bjørn Mork wrote:
>
>> I feel I'm missing something here, so I have to ask the stupid question:
>> What could possibly be the benefit here? Is it faster? Safer? Easier
>> to read?
>
> I don't think it will be faster or safer, m
On Sun, Jan 31, 2016 at 10:33:54PM +0100, Bjørn Mork wrote:
> Mathieu OTHACEHE writes:
>
> > This patch fixes the following coccinelle warnings:
> >
> > drivers/usb/serial/mos7840.c:2042:4-10: Move constant to right.
> > drivers/usb/serial/mos7840.c:2062:16-22: Move constant to right.
> >
> > Sig
35 matches
Mail list logo