On 5/18/2016 3:44 AM, John Keeping wrote:
> On Tue, 17 May 2016 16:16:23 -0700, John Youn wrote:
>
>> The following patch series fixes up isochronous support for the dwc2
>> gadget. The existing isochronous support lacked a few features. Most
>> notably it did not properl
On 5/18/2016 12:34 AM, Felipe Balbi wrote:
>
> Hi John,
>
> John Youn <johny...@synopsys.com> writes:
>> The following patch series fixes up isochronous support for the dwc2
>> gadget. The existing isochronous support lacked a few features. Most
>>
On 5/14/2016 6:11 AM, Christian Lamparter wrote:
> On Thursday, May 12, 2016 11:40:28 AM John Youn wrote:
>> On 5/12/2016 6:30 AM, Christian Lamparter wrote:
>>> On Thursday, May 12, 2016 01:55:44 PM Arnd Bergmann wrote:
>>>> On Thursday 12 May 2016 11:5
<vahr...@synopsys.com>
Signed-off-by: Vardan Mikayelyan <mvar...@synopsys.com>
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers/usb/dwc2/gadget.c | 87 ++-
1 file changed, 70 insertions(+), 17 deletions(-)
diff --git a/dri
From: Vardan Mikayelyan <mvar...@synopsys.com>
This chunk is not needed here. There is no functionality
depend on this, so if no-op, I think we do not need to have
this interrupt unmasked.
Signed-off-by: Vardan Mikayelyan <mvar...@synopsys.com>
Signed-off-by: John Youn <johny.
From: Vardan Mikayelyan <mvar...@synopsys.com>
Added register field definitions, register names are according
DWC-OTG databook.
Signed-off-by: Vardan Mikayelyan <mvar...@synopsys.com>
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers/usb/dwc2/hw.h | 13 +++
From: Vardan Mikayelyan <mvar...@synopsys.com>
Reads and returns interrupts for given endpoint, by masking epint_reg
with corresponding mask.
Signed-off-by: Vardan Mikayelyan <mvar...@synopsys.com>
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers/usb/
Mikayelyan <mvar...@synopsys.com>
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers/usb/dwc2/gadget.c | 173 +-
1 file changed, 124 insertions(+), 49 deletions(-)
diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c
i
now I have added mechanism to set pid and
excluded all code where this flag was set.
Signed-off-by: Vardan Mikayelyan <mvar...@synopsys.com>
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers/usb/dwc2/core.h | 1 -
drivers/usb/
The following patch series fixes up isochronous support for the dwc2
gadget. The existing isochronous support lacked a few features. Most
notably it did not properly sync up with the first packet and it
didn't handle the Incomplete ISO IN/OUT interrupts.
These patches have been sitting in our
to do resynchronization.
Signed-off-by: Vardan Mikayelyan <mvar...@synopsys.com>
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers/usb/dwc2/gadget.c | 51 +++
1 file changed, 38 insertions(+), 13 deletions(-)
diff --git a/drivers/usb/dwc2/
From: Vardan Mikayelyan <mvar...@synopsys.com>
No-op change. Changed field names to prevent misunderstanding.
Signed-off-by: Vardan Mikayelyan <mvar...@synopsys.com>
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers/usb/dwc2/gadget.c | 6 +++---
1 file changed,
ication must enable Global OUT NAK mode,
so if this mode is enabled we can continue without this step.
Signed-off-by: Vardan Mikayelyan <mvar...@synopsys.com>
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers/usb/dwc2/gadget.c | 6 ++
1 file changed, 2 insertions(+), 4
From: Vardan Mikayelyan <mvar...@synopsys.com>
Removed "ctrl |= DXEPCTL_USBACTEP" from
dwc2_hsotg_start_req() function because this
step is done in dwc2_hsotg_ep_enable().
Signed-off-by: Vardan Mikayelyan <mvar...@synopsys.com>
Signed-off-by: John Youn <johny...@synop
verrun: Indicates SOF number overrun in DSTS
Signed-off-by: Vardan Mikayelyan <mvar...@synopsys.com>
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers/usb/dwc2/core.h | 5 +
drivers/usb/dwc2/gadget.c | 19 +++
2 files changed, 24 insertions(+)
diff --git
lue;
Signed-off-by: Vardan Mikayelyan <mvar...@synopsys.com>
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers/usb/dwc2/core.h | 2 +-
drivers/usb/dwc2/gadget.c | 11 +++
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/dwc2/core.h b/d
<mvar...@synopsys.com>
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers/usb/dwc2/gadget.c | 94 +++
1 file changed, 94 insertions(+)
diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c
index 0be46e7..3a1f6a2 100644
---
c inline u32 dwc2_readl(const void __iomem *addr)
> +{
> + return readl(addr);
> +}
> +
> +static inline void dwc2_writel(u32 value, void __iomem *addr)
> +{
> + writel(value, addr);
> +
> +#ifdef DWC2_LOG_WRITES
> + pr_info("info:: wrote %08x t
On 5/12/2016 1:56 PM, Arnd Bergmann wrote:
> A patch that went into Linux-4.4 to fix big-endian mode on a Lantiq
> MIPS system unfortunately broke big-endian operation on PowerPC
> APM82181 as reported by Christian Lamparter, and likely other
> systems.
>
> It actually introduced multiple issues:
On 5/12/2016 1:39 PM, Christian Lamparter wrote:
> On Thursday, May 12, 2016 11:40:28 AM John Youn wrote:
>> On 5/12/2016 6:30 AM, Christian Lamparter wrote:
>>> On Thursday, May 12, 2016 01:55:44 PM Arnd Bergmann wrote:
>>>> On Thursday 12 May 2016 11:5
On 5/12/2016 6:30 AM, Christian Lamparter wrote:
> On Thursday, May 12, 2016 01:55:44 PM Arnd Bergmann wrote:
>> On Thursday 12 May 2016 11:58:18 Christian Lamparter wrote:
>> Detecting the endianess of the
>> device is probably the best future-proof solution, but it's also
>>
On 5/9/2016 1:39 PM, Arnd Bergmann wrote:
> On Monday 09 May 2016 13:22:48 John Youn wrote:
>> On 5/9/2016 3:36 AM, Arnd Bergmann wrote:
>>> On Monday 09 May 2016 10:23:22 Benjamin Herrenschmidt wrote:
>>>> On Sun, 2016-05-08 at 13:44 +0200, Christian Lamparter wrote:
On 5/9/2016 3:36 AM, Arnd Bergmann wrote:
> On Monday 09 May 2016 10:23:22 Benjamin Herrenschmidt wrote:
>> On Sun, 2016-05-08 at 13:44 +0200, Christian Lamparter wrote:
>>> On Sunday, May 08, 2016 08:40:55 PM Benjamin Herrenschmidt wrote:
On Sun, 2016-05-08 at 00:54 +0200, Christian
On 5/4/2016 3:42 AM, Felipe Balbi wrote:
>
> Hi,
>
> John Youn <john.y...@synopsys.com> writes:
>>> John Youn <john.y...@synopsys.com> writes:
>>>>> "Du, Changbin" <changbin...@intel.com> writes:
>>>>>> Hi,
On 4/28/2016 11:05 PM, Felipe Balbi wrote:
>
> Hi,
>
> John Youn <john.y...@synopsys.com> writes:
>> On 4/28/2016 1:01 AM, Felipe Balbi wrote:
>>> NumP field of DCFG register is used on NumP field of
>>> ACK TP header and it tells the host how many
On 4/28/2016 11:12 PM, Felipe Balbi wrote:
>
> Hi,
>
> John Youn <john.y...@synopsys.com> writes:
>>> "Du, Changbin" <changbin...@intel.com> writes:
>>>> Hi, Balbi,
>>>>
>>>> The step to reproduce this issue is:
>
On 4/28/2016 1:01 AM, Felipe Balbi wrote:
> NumP field of DCFG register is used on NumP field of
> ACK TP header and it tells the host how many packets
> an endpoint can receive before waiting for
> synchronization.
>
> Documentation says it should be set to anything
> <=bMaxBurst. Interestingly,
On 4/27/2016 11:48 PM, Felipe Balbi wrote:
>
> Hi,
>
> (we don't top-post on this forum ;-)
>
> "Du, Changbin" writes:
>> Hi, Balbi,
>>
>> The step to reproduce this issue is:
>> 1) connect device to a host and wait its enumeration.
>> 2) trigger software disconnect by
Cleanup in probe if we fail to get dr_mode.
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers/usb/dwc2/platform.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c
index 88629be..fc6f525 100644
--- a/d
From: Vardan Mikayelyan <mvar...@synopsys.com>
This is safety change added while doing slub debugging.
Affected functions:
dwc2_hcd_qtd_unlink_and_free()
_dwc2_hcd_urb_enqueue()
Signed-off-by: Vardan Mikayelyan <mvar...@synopsys.com>
Signed-off-by: John Youn <johny...@synopsys.co
From: Sevak Arakelyan <sev...@synopsys.com>
In case of DDMA mode we don't need to get an SOF interrupt so disable
the unmasking of SOF interrupt in DDMA mode.
Signed-off-by: Sevak Arakelyan <sev...@synopsys.com>
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers/us
m>
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers/usb/dwc2/gadget.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c
index d330190..4c5e300 100644
--- a/drivers/usb/dwc2/gadget.c
+++ b/drivers/usb/dwc2/gadget.c
From: Vahram Aharonyan <vahr...@synopsys.com>
Replaced the WARN_ON with a check and return of -EINVAL in the
dwc2_hsotg_ep_enable function if ep0 is passed in.
Signed-off-by: Vahram Aharonyan <vahr...@synopsys.com>
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers
Hi Felipe,
These are some various patches for dwc2 for next.
Thanks,
John
John Youn (1):
usb: dwc2: Proper cleanup on dr_mode failure
Sevak Arakelyan (1):
usb: dwc2: Fixed SOF interrupt enabling/disabling
Vahram Aharonyan (1):
usb: dwc2: gadget: Check for ep0 in enable
Vardan
ult UTMI width */
> hsotg->phyif = GUSBCFG_PHYIF16;
>
> @@ -434,6 +453,9 @@ static int dwc2_driver_remove(struct platform_device *dev)
> if (hsotg->ll_hw_enabled)
> dwc2_lowlevel_hw_disable(hsotg);
>
> + if (hsotg->reset)
> + reset_control_
On 4/25/2016 12:30 AM, Philipp Zabel wrote:
> Hi John,
>
> Am Freitag, den 22.04.2016, 20:31 -0700 schrieb John Youn:
>> On 4/20/2016 2:31 PM, dingu...@opensource.altera.com wrote:
>>> From: Dinh Nguyen <dingu...@opensource.altera.com>
>>>
>>>
On 4/20/2016 2:31 PM, dingu...@opensource.altera.com wrote:
> From: Dinh Nguyen
>
> Allow for platforms that have a reset controller driver in place to bring
> the USB IP out of reset.
>
> Signed-off-by: Dinh Nguyen
> ---
> v6:
On 4/14/2016 2:38 PM, dingu...@opensource.altera.com wrote:
> From: Dinh Nguyen
>
> Allow for platforms that have a reset controller driver in place to bring
> the USB IP out of reset.
>
> Signed-off-by: Dinh Nguyen
> ---
> v5:
On 4/13/2016 7:04 PM, Arnd Bergmann wrote:
> On Thursday 14 April 2016, dingu...@opensource.altera.com wrote:
>> @@ -337,6 +338,17 @@ static int dwc2_lowlevel_hw_init(struct dwc2_hsotg
>> *hsotg)
>> {
>> int i, ret;
>>
>> + hsotg->reset = devm_reset_control_get(hsotg->dev,
On 4/13/2016 7:58 AM, Alan Stern wrote:
> On Tue, 12 Apr 2016, John Youn wrote:
>
>>> Wait, even SuperSpeed GEN1-only devices *must* set bcdUSB to 0x0310 ? Do
>>> you have a reference to that ? I find that pretty odd because this means
>>> that if I take any of my
On 4/13/2016 11:52 AM, Dinh Nguyen wrote:
> On 04/13/2016 11:23 AM, Stefan Wahren wrote:
>
>>> + hsotg->reset = devm_reset_control_get(hsotg->dev, "dwc2");
>>
>> shouldn't this be documented in
>> Documentation/devicetree/bindings/usb/dwc2.txt ?
>>
>
> Sure, I can document it.
>
>>> + if
On 4/12/2016 12:18 AM, Bjørn Mork wrote:
> John Youn <john.y...@synopsys.com> writes:
>
>> Hi,
>>
>> I would like to port the following commit from 4.6 to older kernels.
>>
>> 1a85329171094951956a37acc8abb7e51c1e742e ("usb: gadget: composite:
>>
On 4/11/2016 11:25 PM, Felipe Balbi wrote:
>
> Hi,
>
> John Youn <john.y...@synopsys.com> writes:
>> Hi,
>>
>> I would like to port the following commit from 4.6 to older kernels.
>>
>> 1a85329171094951956a37acc8abb7e51c1e742e ("usb: gad
Hi,
I would like to port the following commit from 4.6 to older kernels.
1a85329171094951956a37acc8abb7e51c1e742e ("usb: gadget: composite:
Return bcdUSB 0x0310")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1a85329171094951956a37acc8abb7e51c1e742e
There is a some
On 4/10/2016 10:17 PM, Felipe Balbi wrote:
>
> Hi,
>
> John Youn <johny...@synopsys.com> writes:
>> Set the reserved fields of the SuperSpeed Plus Device Capability
>> descriptor to 0. Otherwise there might be stale data there which will
>> cause USB CV to f
Set the reserved fields of the SuperSpeed Plus Device Capability
descriptor to 0. Otherwise there might be stale data there which will
cause USB CV to fail.
Fixes: f228a8de242a ("usb: gadget: composite: Return SSP Dev Cap descriptor")
Signed-off-by: John Youn <johny...@synopsys
Set the reserved fields of the SuperSpeed Plus Device Capability
descriptor to 0. Otherwise there might be stale data there which will
cause USB CV to fail.
Fixes: f228a8de242a ("usb: gadget: composite: Return SSP Dev Cap descriptor")
Signed-off-by: John Youn <johny...@synopsys.com&
On 4/4/2016 3:51 AM, Felipe Balbi wrote:
>
> Hi John,
>
> John Youn <johny...@synopsys.com> writes:
>> The following patch series addresses the core reset and force mode
>> delay problems we have been seeing on dwc2 for some platforms.
>>
>
On 4/7/2016 1:36 PM, Michael Niewoehner wrote:
>
> Am 07.04.2016 um 20:41 schrieb John Youn <john.y...@synopsys.com>:
>
>> On 3/31/2016 2:44 PM, Michael Niewoehner wrote:
>>> Hi John,
>>>
>>> Am 29.03.2016 um 04:36 schrieb John Youn <johny...@
On 3/31/2016 2:44 PM, Michael Niewoehner wrote:
> Hi John,
>
> Am 29.03.2016 um 04:36 schrieb John Youn <johny...@synopsys.com>:
>
>> Hi,
>>
>> The following patch series addresses the core reset and force mode
>> delay problems we have been seeing o
On 3/28/2016 10:38 PM, dingu...@opensource.altera.com wrote:
> From: Dinh Nguyen <dingu...@opensource.altera.com>
>
> Allow for platforms that have a reset controller driver in place to bring
> the USB IP out of reset.
>
> Signed-off-by: Dinh Nguyen <dingu...@openso
On 3/30/2016 8:08 AM, Przemek Rudy wrote:
> On 03/30/2016 12:15 PM, Felipe Balbi wrote:
>> John Youn <john.y...@synopsys.com> writes:
>>> [ text/plain ]
>>> On 3/16/2016 3:10 PM, Przemek Rudy wrote:
>>>> The host/device mode set with dr_mode should
On 3/30/2016 6:22 AM, Felipe Balbi wrote:
>
> Hi,
>
> John Keeping writes:
>> Setting up a gadget with the uac2 function results in:
>>
>> Unable to handle kernel NULL pointer dereference at virtual address
>> 0058
>> ...
>> PC is at dwc2_hsotg_irq+0x7f0/0x908
>>
On 3/23/2016 11:52 PM, Felipe Balbi wrote:
>
> Hi,
>
> John Youn <john.y...@synopsys.com> writes:
>> [ text/plain ]
>> On 3/21/2016 11:40 PM, Felipe Balbi wrote:
>>>
>>> Hi,
>>>
>>> John Youn <john.y...@synopsys.com>
unnecessary delays.
Also remove the dwc2_force_mode_if_needed() function since the "if
needed" part is already taken care of by the polling in
dwc2_force_mode().
Finally, remove all other calls to dwc2_clear_force_mode().
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers
John Youn (3):
usb: dwc2: gadget: Only initialize device if in device mode
usb: dwc2: Add delay to core soft reset
usb: dwc2: Properly account for the force mode delays
Przemek Rudy (1):
usb: dwc2: do not override forced dr_mode in gadget setup
drivers/usb/dwc2/core.c | 195
In dwc2_hsotg_udc_start(), don't initialize the controller for device
mode unless we are actually in device mode.
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers/usb/dwc2/gadget.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/dwc2/gadg
From: Przemek Rudy <pru...@o2.pl>
The host/device mode set with dr_mode should be kept all the time,
not being changed to OTG in gadget setup (by overriding CFGUSB_FORCEDEVMODE
and CFGUSB_FORCEHOSTMODE bits).
Signed-off-by: Przemek Rudy <pru...@o2.pl>
Signed-off-by: John
the IDDIG debounce filter will occur before going back to host mode.
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers/usb/dwc2/core.c | 97 +
drivers/usb/dwc2/core.h | 1 +
drivers/usb/dwc2/hw.h | 1 +
3 files changed, 99 inse
Access multi-byte fields of the SSP Dev Cap descriptor using the correct
endianness.
Fixes: f228a8de242a ("usb: gadget: composite: Return SSP Dev Cap descriptor")
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers/usb/gadget/composite.c | 8 +---
1 file changed, 5
The wFunctionalitySupport field should be __le16.
Signed-off-by: John Youn <johny...@synopsys.com>
---
include/uapi/linux/usb/ch9.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/usb/ch9.h b/include/uapi/linux/usb/ch9.h
index 06d6c62..d5ce716
Hi Felipe,
Couple patches to fix endianness issues with the SuperSpeedPlus gadget
patches.
Regards,
John
John Youn (2):
usb: Fix SSP Device Cap wFunctionalitySupport type
usb: gadget: composite: Access SSP Dev Cap fields properly
drivers/usb/gadget/composite.c | 8 +---
include/uapi
? 9 : 5;
> - dwc2_writel(hsotg->phyif | GUSBCFG_TOUTCAL(7) |
> - (trdtim << GUSBCFG_USBTRDTIM_SHIFT),
> - hsotg->regs + GUSBCFG);
> + usbcfg |= hsotg->phyif | GUSBCFG_TOUTCAL(7) |
> + (trdtim << GUSBCFG_USBT
On 3/24/2016 4:32 AM, John Keeping wrote:
> Hi,
>
> I've been trying to use the uac2 gadget function on a Radxa Rock2 board
> which uses the dwc2 driver, but it seems there is a problem with
> isochronous in endpoints (out works fine).
>
> When trying to use the audio gadget no data is
On 3/22/2016 12:44 PM, Doug Anderson wrote:
> John,
>
> On Tue, Mar 22, 2016 at 12:26 PM, John Youn <john.y...@synopsys.com> wrote:
>> Thanks for the debug logs and everyones help.
>>
>> After reviewing with our hardware engineers, it seems this is likely
On 3/21/2016 11:40 PM, Felipe Balbi wrote:
>
> Hi,
>
> John Youn <john.y...@synopsys.com> writes:
>> [ text/plain ]
>> On 3/18/2016 12:17 PM, John Youn wrote:
>>> On 3/16/2016 6:56 AM, Felipe Balbi wrote:
>>>>
>>>> heh, +john
>&
On 3/22/2016 12:44 PM, Doug Anderson wrote:
> John,
>
> On Tue, Mar 22, 2016 at 12:26 PM, John Youn <john.y...@synopsys.com> wrote:
>> Thanks for the debug logs and everyones help.
>>
>> After reviewing with our hardware engineers, it seems this is likely
On 3/18/2016 10:21 PM, Doug Anderson wrote:
> Hi,
>
> On Wed, Mar 16, 2016 at 11:28 AM, John Youn <john.y...@synopsys.com> wrote:
>> On 3/10/2016 11:14 AM, John Youn wrote:
>>> On 3/9/2016 11:06 AM, Doug Anderson wrote:
>>>> Stefan,
>>>&g
On 3/18/2016 12:17 PM, John Youn wrote:
> On 3/16/2016 6:56 AM, Felipe Balbi wrote:
>>
>> heh, +john
>>
>> Felipe Balbi <ba...@kernel.org> writes:
>>> [ text/plain ]
>>>
>>> Hi,
>>>
>>> Roger Quadros <rog...@ti.
On 3/10/2016 11:14 AM, John Youn wrote:
> On 3/9/2016 11:06 AM, Doug Anderson wrote:
>> Stefan,
>>
>> On Wed, Mar 9, 2016 at 11:01 AM, Stefan Wahren <stefan.wah...@i2se.com>
>> wrote:
>>>
>>>> Doug Anderson <diand...@ch
On 3/16/2016 6:56 AM, Felipe Balbi wrote:
>
> heh, +john
>
> Felipe Balbi writes:
>> [ text/plain ]
>>
>> Hi,
>>
>> Roger Quadros writes:
>>> [ text/plain ]
>>> We will need this function for a workaround.
>>> The function issues a softreset only to the device
On 3/9/2016 11:06 AM, Doug Anderson wrote:
> Stefan,
>
> On Wed, Mar 9, 2016 at 11:01 AM, Stefan Wahren wrote:
>>
>>> Doug Anderson hat am 7. März 2016 um 22:30
>>> geschrieben:
>>>
>>>
>>> Stefan,
>>>
>>> On Mon, Mar 7, 2016 at 10:40 AM, Stefan
On 3/4/2016 6:14 PM, Doug Anderson wrote:
> Hi,
>
> On Fri, Mar 4, 2016 at 5:56 PM, John Youn <john.y...@synopsys.com> wrote:
>> On 3/4/2016 5:04 PM, Doug Anderson wrote:
>>> Felipe,
>>>
>>> Michael pointed out that there's an odd merge that
On 3/4/2016 10:23 AM, Douglas Anderson wrote:
> From testing and trying to make sense of the documentation, it appears
> that a 10 ms delay is needed after resetting the core to make sure that
> everything is stable and consistent. Let's add it.
>
> In my testing (on rk3288) this allows us to
3b6487 ("Merge tag 'v4.5-rc6' into next")
>
> Specifically:
>
> $ git blame 3b30be3b6487 -- drivers/usb/dwc2/core.c | grep "This is required"
> $ git blame 3b30be3b6487^2 -- drivers/usb/dwc2/core.c | grep "This is
> required"
> bd84f4ae9986a dr
mpatible = "brcm,bcm2835-usb", .data = _bcm2835 },
> { .compatible = "hisilicon,hi6220-usb", .data = _hi6220 },
> { .compatible = "rockchip,rk3066-usb", .data = _rk3066 },
> + { .compatible = "lantiq,arx100-usb", .data = _ltq },
> + { .compatible =
Hi Felipe,
This can be applied to next after 4.5-rc6.
Thanks,
John
John Youn (1):
usb: dwc2: Fix issues in dwc2_complete_non_isoc_xfer_ddma()
drivers/usb/dwc2/hcd_ddma.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
--
2.6.3
--
To unsubscribe from this list: send the line
.
Reported-by: Felipe Balbi <ba...@kernel.org>
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers/usb/dwc2/hcd_ddma.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/dwc2/hcd_ddma.c b/drivers/usb/dwc2/hcd_ddma.c
index a41274a..c7
kmem_cache_free(desc_cache, qh->desc_list);
> qh->desc_list = NULL;
> return -ENOMEM;
> }
>
Acked-by: John Youn <johny...@synopsys.com>
John
--
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
On 2/19/2016 2:48 PM, Doug Anderson wrote:
> Hi,
>
> On Fri, Feb 19, 2016 at 1:52 PM, Alan Stern wrote:
>> On Fri, 19 Feb 2016, Arnd Bergmann wrote:
>>
>>> The dwc2 dual-role USB controller driver has started calling
>>> usb_calc_bus_time, and does so regardless of
Check that dwc->maximum_speed is set to a valid value. Also add an error
when we use it later if we encounter an invalid value.
Signed-off-by: John Youn <johny...@synopsys.com>
---
Hi Felipe,
This patch depends on the previous SuperSpeed patches I sent. Let me
know if you'd rathe
On 2/17/2016 10:39 PM, Felipe Balbi wrote:
> John Youn <john.y...@synopsys.com> writes:
>> On 2/17/2016 12:39 AM, Felipe Balbi wrote:
>>>
>>> Hi,
>>>
>>> John Youn <john.y...@synopsys.com> writes:
>>>> Enable SuperSpeedPlus
This series contains two fixes for the host in Descriptor DMA mode.
v3:
* Added tested-bys
* Minor rewrite of commit message (typos, grammar)
v2:
* Resend with proper e-mails
Tang, Jianqiang (1):
usb: dwc2: host: fix the data toggle error in full speed descriptor
dma
Vardan Mikayelyan
rt
the failure.
Fixes: 26a19ea699060fde ("usb: dwc2: host: fix use of qtd after free in desc
dma mode")
Cc: Gregory Herrero <gregory.herr...@intel.com>
Tested-by: Gregory Herrero <gregory.herr...@intel.com>
Signed-off-by: Vardan Mikayelyan <mvar...@synopsys.com&g
From: Tang, Jianqiang <jianqiang.t...@intel.com>
There will be a data toggle error for full speed bulk-out transfers. The
data toggle bit is saved in the qh for non-control transfers, it is
wrong to check the qtd in that case.
John Youn:
* Added WARN() to warn on improper
On 2/17/2016 5:51 AM, B, Ravi wrote:
> Hi John
>
>
>> Fixes: aebda6187181 ("usb: dwc3: Reset the transfer resource index on
>> SET_INTERFACE")
>> Cc: <sta...@vger.kernel.org> # v3.2+
>> Reported-by: Ravi Babu <ravib...@ti.com>
>> Sig
On 2/17/2016 12:39 AM, Felipe Balbi wrote:
>
> Hi,
>
> John Youn <john.y...@synopsys.com> writes:
>> Enable SuperSpeedPlus by programming the DCFG.speed and after
>> enumerating, set gadget->speed appropriately.
>>
>> Signed-off-by: John Youn <jo
.2+
Reported-by: Ravi Babu <ravib...@ti.com>
Signed-off-by: John Youn <johny...@synopsys.com>
---
Hi Ravi,
Could you verify that it works with your test scenario?
Thanks,
John
v3:
* Added comments
* Removed unused variables
* Formatting
v2:
* Simplified assignment of resources by d
Sorry, messed up the emails. V2 is just a resend with e-mails fixed up.
This series contains two fixes for the host in Descriptor DMA mode.
v2:
* Resend with proper e-mails
Tang, Jianqiang (1):
usb: dwc2: host: fix the data toggle error in full speed descriptor
dma
Vardan Mikayelyan (1):
toggle error.
John Youn:
* Added WARN() to warn on improper usage of the
dwc2_hcd_save_data_toggle() function.
Signed-off-by: Dyson Lee <dyson@intel.com>
Signed-off-by: Tang, Jianqiang <jianqiang.t...@intel.com>
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers
rt
the failure.
Fixes: 26a19ea699060fde ("usb: dwc2: host: fix use of qtd after free in desc
dma mode")
Cc: Gregory Herrero <gregory.herr...@intel.com>
Signed-off-by: Vardan Mikayelyan <mvar...@synopsys.com>
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers
rt
the failure.
Fixes: 26a19ea699060fde ("usb: dwc2: host: fix use of qtd after free in desc
dma mode")
Cc: Gregory Herrero <gregory.herr...@intel.com>
Signed-off-by: Vardan Mikayelyan <mvar...@synopsys.com>
Signed-off-by: John Youn <johny...@synopsys.com>
---
drivers
This series contains two fixes for the host in Descriptor DMA mode.
Tang, Jianqiang (1):
usb: dwc2: host: fix the data toggle error in full speed descriptor
dma
Vardan Mikayelyan (1):
usb: dwc2: host: fix logical omissions in dwc2_process_non_isoc_desc
drivers/usb/dwc2/hcd_ddma.c | 23
On 2/16/2016 1:28 PM, Felipe Balbi wrote:
>
> Hi,
>
> John Youn <john.y...@synopsys.com> writes:
>> The assignement of EP transfer resources was not handled properly in the
>> dwc3 driver. Commit aebda6187181 ("usb: dwc3: Reset the transfer
>> resource
On 1/25/2016 10:20 PM, Jianqiang Tang wrote:
> From: "Tang, Jianqiang"
>
> There will be data toggle error happen for full speed buld-out transfer.
> The data toggle bit is saved in qh for non-control transfers, it is wrong
> to check the qtd for that case.
>
> Also
b...@ti.com>
Signed-off-by: John Youn <johny...@synopsys.com>
---
Hi Ravi,
This is a simplified version of the previous patch. Could you verify
that it works with your test scenario?
Thanks,
John
v2:
* Simplified assignment of resources by doing all endpoints at once.
drivers/usb/dwc3/core.
On 2/12/2016 2:05 AM, Felipe Balbi wrote:
>
> Hi,
>
> John Youn <john.y...@synopsys.com> writes:
>> On 2/10/2016 1:07 PM, Felipe Balbi wrote:
>>> John Youn <john.y...@synopsys.com> writes:
>>>>>> Basically assign all the resources i
tions to set and clear force mode")
Reported-by: Caesar Wang <caesar.upstr...@gmail.com>
Reported-by: Michael Niewoehner <li...@mniewoehner.de>
Tested-by: Caesar Wang <caesar.upstr...@gmail.com>
Signed-off-by: John Youn <johny...@synopsys.com>
---
Hi Felipe,
This fixes a pr
ds on USB || USB_GADGET
> help
> Say Y here if your system has a Dual Role Hi-Speed USB
>
Acked-by: John Youn <johny...@synopsys.com>
--
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
>
>
> Am 13.02.2016 um 22:13 schrieb Heiko Stuebner <he...@sntech.de>:
>
>> Am Donnerstag, 4. Februar 2016, 17:50:34 schrieb John Youn:
>>> Fixes an issue found on rockchip rk3036-based SOC platforms. For some
>>> reason, the existing msleep(25) is not
601 - 700 of 968 matches
Mail list logo