Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1518948 > unrolled thread

Re: [PATCH v3 5/6] usb: dwc3: use bus->sysdev for DMA configuration

Started byBaolin Wang <baolin.wang@linaro.org>
First post2016-11-10 13:40 +0100
Last post2016-11-11 13:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v3 5/6] usb: dwc3: use bus->sysdev for DMA configuration Baolin Wang <baolin.wang@linaro.org> - 2016-11-10 13:40 +0100
    RE: [PATCH v3 5/6] usb: dwc3: use bus->sysdev for DMA configuration Sriram Dash <sriram.dash@nxp.com> - 2016-11-11 13:20 +0100

#1518948 — Re: [PATCH v3 5/6] usb: dwc3: use bus->sysdev for DMA configuration

FromBaolin Wang <baolin.wang@linaro.org>
Date2016-11-10 13:40 +0100
SubjectRe: [PATCH v3 5/6] usb: dwc3: use bus->sysdev for DMA configuration
Message-ID<sBWO5-6e8-25@gated-at.bofh.it>
Hi,

On 10 November 2016 at 16:20, Sriram Dash <sriram.dash@nxp.com> wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> The dma ops for dwc3 devices are not set properly. So, use a
> physical device sysdev, which will be inherited from parent,
> to set the hardware / firmware parameters like dma.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Sriram Dash <sriram.dash@nxp.com>
> ---
> Changes in v3:
>   - No update
>
> Changes in v2:
>   - integrate dwc3 driver changes together
>
>  drivers/usb/dwc3/core.c   | 28 +++++++++++++++-------------
>  drivers/usb/dwc3/core.h   |  1 +
>  drivers/usb/dwc3/ep0.c    |  8 ++++----
>  drivers/usb/dwc3/gadget.c | 37 +++++++++++++++++++------------------
>  drivers/usb/dwc3/host.c   | 12 ++++--------
>  5 files changed, 43 insertions(+), 43 deletions(-)
>

Tested on my dwc3 platform, it can work well as host or gadget. You
can add my tested tag for patch 1/4/5 after fixing Felipe's issue.
Tested-by: Baolin Wang <baolin.wang@linaro.org>

-- 
Baolin.wang
Best Regards

[toc] | [next] | [standalone]


#1519753

FromSriram Dash <sriram.dash@nxp.com>
Date2016-11-11 13:20 +0100
Message-ID<sCiYi-4ee-19@gated-at.bofh.it>
In reply to#1518948
>From: Baolin Wang [mailto:baolin.wang@linaro.org]
>
>Hi,
>
>On 10 November 2016 at 16:20, Sriram Dash <sriram.dash@nxp.com> wrote:
>> From: Arnd Bergmann <arnd@arndb.de>
>>
>> The dma ops for dwc3 devices are not set properly. So, use a physical
>> device sysdev, which will be inherited from parent, to set the
>> hardware / firmware parameters like dma.
>>
>> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>> Signed-off-by: Sriram Dash <sriram.dash@nxp.com>
>> ---
>> Changes in v3:
>>   - No update
>>
>> Changes in v2:
>>   - integrate dwc3 driver changes together
>>
>>  drivers/usb/dwc3/core.c   | 28 +++++++++++++++-------------
>>  drivers/usb/dwc3/core.h   |  1 +
>>  drivers/usb/dwc3/ep0.c    |  8 ++++----
>>  drivers/usb/dwc3/gadget.c | 37 +++++++++++++++++++------------------
>>  drivers/usb/dwc3/host.c   | 12 ++++--------
>>  5 files changed, 43 insertions(+), 43 deletions(-)
>>
>
>Tested on my dwc3 platform, it can work well as host or gadget. You can add my
>tested tag for patch 1/4/5 after fixing Felipe's issue.
>Tested-by: Baolin Wang <baolin.wang@linaro.org>
>

Thanks Baolin.

>--
>Baolin.wang
>Best Regards

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web