Hi Igor,
I’m sorry, now I don’t do the jobs about USB any more. Maybe Peng know who can
help you.
Best regards
Sherry Sun
From: Igor Opaniuk
Sent: 2020年4月2日 5:35
To: Sherry Sun
Cc: u-boot ; Fabio Estevam ; Peng Fan
; thar...@gateworks.com
Subject: Re: iMX8MM USB support?
+ Sherry, as he
+ Ying
> -邮件原件-
> 发件人: Igor Opaniuk
> 发送时间: 2019年7月1日 19:32
> 收件人: Sherry Sun
> 抄送: Peng Fan ; Jun Li ; Ye Li
> ; U-Boot Mailing List ; Peter Chen
> ; dl-uboot-imx ; Marcel Ziswiler
> ; Max Krummenacher
> ; Igor Opaniuk
> ; Frank Li
> 主题: [EXT] Re: Upst
Hi,Igor
> -邮件原件-
> 发件人: Igor Opaniuk
> 发送时间: 2019年7月23日 20:43
> 收件人: Sherry Sun
> 抄送: Ying Liu ; Peng Fan ; Jun Li
> ; Ye Li ; U-Boot Mailing List
> ; Peter Chen ; dl-uboot-imx
> ; Marcel Ziswiler ; Max
> Krummenacher ; Igor Opaniuk
> ; Frank Li
> 主题: R
Hi Angus
>
> Hi Sherry,
>
> On 2019-07-17 18:40, sherry sun wrote:
> > From: Sherry Sun
> >
> > This patchset adds:
> > 1. Add usb_gadget_initialize() and usb_gadget_release() to initialize
> > and release UDC during sdp download.
> > 2. Add high
Hi, Marek
I'm so sorry to check the e-mail and reply you so late.
> On 7/16/19 2:08 PM, sherry sun wrote:
> > From: Sherry Sun
> >
> > This driver is ported from NXP i.MX U-Boot version imx_v2019.04 and
> > some changes have also been made to adapt to U-Boot.
&
Hi Igor,
Sorry for the late reply.
>
> Igor,
>
> > Subject: Re: [U-Boot] [PATCH 0/3] USB: Add cadence USB3 gadget driver
> > and host driver
> >
> > Hi Sherry,
> >
> > On Tue, Jul 16, 2019 at 4:15 PM sherry sun
> wrote:
> > >
> &
Hi Angus,
Sorry for the late reply.
> -邮件原件-
> 发件人: Angus Ainslie
> 发送时间: 2019年8月2日 10:30
> 收件人: Peng Fan
> 抄送: Sherry Sun ; sba...@denx.de;
> feste...@gmail.com; lu...@denx.de; ma...@denx.de;
> u-boot@lists.denx.de; dl-uboot-imx
> 主题: Re: 答复: [U-Boot] [PATCH 0
Hi Angus,
Hi Sherry,
On Aug. 8, 2019 2:38 a.m., Sherry Sun
mailto:sherry@nxp.com>> wrote:
Hi Angus,
Sorry for the late reply.
> -邮件原件-
> 发件人: Angus Ainslie mailto:an...@akkea.ca>>
> 发送时间: 2019年8月2日 10:30
> 收件人: Peng Fan mailto:peng....@nxp.com>>
From: Sherry Sun
These patches introduce new Cadence USBSS driver to U-Boot.
The first patch is to add the Cadence USB3 IP(CDNS3) core and driver for
the usb gadget.
The second patch introduce the xhci-imx8 usb host driver separately.
The third patch introduce the cdns3 phy driver which can be
From: Sherry Sun
Add the USB3 host driver for NXP imx8 platform, and the
cadence IP is in it. The USB3 host driver support DM
mode, it will probe USB3 host node in dts.
Signed-off-by: Sherry Sun
---
drivers/usb/host/Kconfig | 9 ++
drivers/usb/host/Makefile| 1 +
drivers/usb/host
From: Sherry Sun
These patches introduce new Cadence USBSS driver to U-Boot.
The first patch is to add the Cadence USB3 IP(CDNS3) driver for the usb
gadget, but the host mode is not supported now. The second patch
introduce the xhci-imx8 usb host driver separately. The cdns3 usb
gadget driver
From: Sherry Sun
This driver is ported from NXP i.MX U-Boot version imx_v2019.04
and some changes have also been made to adapt to U-Boot.
Add the USB3 host driver for NXP imx8 platform, and the
cadence IP is in it.
The USB3 host driver support DM mode. It will probe USB3
host node, enable the
From: Sherry Sun
This patch was copied from kernel commit: 67fdfda4a99ed.
Sometimes, the gadget driver we want to run has max_speed lower than
what the UDC supports. In such situations, UDC might want to make sure
we don't try to connect on speeds not supported by the gadget
driver because
From: Sherry Sun
The SPL SDP is configured as BOOT_DEVICE_BOARD, so when booting from
USB, change its type to BOOT_DEVICE_BOARD, so we can use SDP.
Signed-off-by: Sherry Sun
Signed-off-by: Ye Li
---
arch/arm/mach-imx/spl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
From: Sherry Sun
Need initialize UDC before run sdp download and release it at the end of
sdp.
Signed-off-by: Sherry Sun
Signed-off-by: Frank Li
---
common/spl/spl_sdp.c | 4
1 file changed, 4 insertions(+)
diff --git a/common/spl/spl_sdp.c b/common/spl/spl_sdp.c
index 806bf1327e
From: Sherry Sun
If SDP_WRITE and SDP_JUMP command addr is zero, use CONFIG_SDP_LOADADDR
as default address.
Signed-off-by: Sherry Sun
Signed-off-by: Frank Li
---
drivers/usb/gadget/Kconfig | 4
drivers/usb/gadget/f_sdp.c | 6 --
2 files changed, 8 insertions(+), 2 deletions
From: Sherry Sun
This patchset adds:
1. Add usb_gadget_initialize() and usb_gadget_release() to initialize and
release UDC during sdp download.
2. Add high speed endpoint descriptor for sdp.
3. Add a macro definition--CONFIG_SDP_LOADADDR as default sdp load
address while SDP_WRITE and SDP_JUMP
From: Sherry Sun
Because the buffer length of sdp usb request is 65, we have to allocate
65 bytes not 64 bytes. Otherwise there is potential buffer overflow.
So the wMaxPacketSize of fullspeed can't meet the needs. Add HS
endpoint descriptor for SDP. Then we can use high speed endpoint,
an
Hi, Lukasz
>
> Hi Sherry,
>
> > From: Sherry Sun
> >
> > Because the buffer length of sdp usb request is 65,
>
> Is the value 65 mentioned somewhere (in any doc/spec)?
>
> As fair as I remember other protocols - like DFU use 64B. Do we need here to
&
Hi, Lukasz
>
> On Thu, 18 Jul 2019 07:38:10 +
> Peng Fan wrote:
>
> > Hi Lukasz,
> >
> > > Subject: Re: [PATCH 1/4] imx: spl: Change USB boot device type
> > >
> > > Hi Sherry,
> > >
> > > > From: Sherry Sun
> &g
i Lukasz,
> > > >
> > > > > Subject: Re: [PATCH 1/4] imx: spl: Change USB boot device type
> > > > >
> > > > > Hi Sherry,
> > > > >
> > > > > > From: Sherry Sun
> > > >
From: Sherry Sun
This patch was copied from kernel commit: 67fdfda4a99ed.
Sometimes, the gadget driver we want to run has max_speed lower than
what the UDC supports. In such situations, UDC might want to make sure
we don't try to connect on speeds not supported by the gadget
driver because
From: Sherry Sun
The cdns3-usb-phy driver supports both host and peripheral
mode of usb driver which use cadence usb3 IP.
Signed-off-by: Sherry Sun
---
drivers/phy/Kconfig | 8 ++
drivers/phy/Makefile| 1 +
drivers/phy/cdns3-usb-phy.c | 242
From: Sherry Sun
This driver is ported from NXP i.MX U-Boot version imx_v2019.04
and some changes have also been made to adapt to U-Boot.
Add the Cadence USB3 IP(CDNS3) driver for the gadget (device mode).
The CDNS3 gadget driver support DM mode. CONFIG_DM_USB_GADGET should
be enabled when use
Hi Marek,
>
> On 8/14/19 2:16 PM, sherry sun wrote:
> > From: Sherry Sun
> >
> > Add the USB3 host driver for NXP imx8 platform, and the cadence IP is
> > in it. The USB3 host driver support DM mode, it will probe USB3 host
> > node in dts.
>
> We alr
Hi Marek,
>
> Hi Marek,
>
> >
> > On 8/14/19 2:16 PM, sherry sun wrote:
> > > From: Sherry Sun
> > >
> > > Add the USB3 host driver for NXP imx8 platform, and the cadence IP
> > > is in it. The USB3 host driver support DM mode, it will p
Hi Marek
>
> On 8/14/19 2:16 PM, sherry sun wrote:
> > From: Sherry Sun
> >
> > This driver is ported from NXP i.MX U-Boot version imx_v2019.04 and
> > some changes have also been made to adapt to U-Boot.
> >
> > Add the Cadence USB3 IP(CDNS3) driver f
) into two functions:
cdns3_host_role_set() and cdns3_gadget_role_set().
Sherry Sun (4):
USB: gadget: Add the cadence USB3 gadget driver
USB: host: Add the USB3 host driver
phy: Add USB PHY driver for the cadence USB3
USB: gadget: core: introduce ->udc_set_sp
Add the USB3 host driver for NXP imx8 platform, and the
cadence IP is in it. The USB3 host driver support DM
mode, it will probe USB3 host node in dts.
Signed-off-by: Sherry Sun
---
drivers/usb/host/Kconfig | 9 ++
drivers/usb/host/Makefile| 1 +
drivers/usb/host/xhci-imx8.c | 189
The cdns3-usb-phy driver supports both host and peripheral
mode of usb driver which use cadence usb3 IP.
Signed-off-by: Sherry Sun
---
drivers/phy/Kconfig | 8 ++
drivers/phy/Makefile| 1 +
drivers/phy/cdns3-usb-phy.c | 243
3 files
fail.
So here introduce a new optional ->udc_set_speed() method which can be
implemented by interested UDC drivers to achieve this purpose.
Signed-off-by: Sherry Sun
---
drivers/usb/gadget/udc/udc-core.c | 23 +++
include/linux/usb/gadget.h| 2 ++
2 files cha
.
Signed-off-by: Sherry Sun
---
Makefile |1 +
doc/device-tree-bindings/usb/cdns-usb3.txt | 39 +
drivers/usb/Kconfig|2 +
drivers/usb/cdns3/Kconfig | 20 +
drivers/usb/cdns3/Makefile |5 +
drivers
Hi Marek
>
> On 8/16/19 6:45 AM, Sherry Sun wrote:
> > Hi Marek
> >
> >>
> >> On 8/14/19 2:16 PM, sherry sun wrote:
> >>> From: Sherry Sun
> >>>
> >>> This driver is ported from NXP i.MX U-Boot version imx_v2019.04 and
&g
Hi Marek,
>
> On 8/16/19 8:10 AM, Sherry Sun wrote:
>
> [...]
>
> > diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index
> > ac68aa2d27..cc1dfe463b 100644
> > --- a/drivers/usb/host/Kconfig
> > +++ b/drivers/usb/host/Kconfig
>
Add the USB3 host driver for NXP imx8 platform, and the
cadence IP is in it. The USB3 host driver support DM
mode, it will probe USB3 host node in dts.
Signed-off-by: Sherry Sun
---
drivers/usb/host/Kconfig | 9 ++
drivers/usb/host/Makefile| 1 +
drivers/usb/host/xhci-imx8.c | 209
https://github.com/sherrysun1/u-boot-imx.git to
start your test quickly.
Changes in v4:
- Keep all include list in files sorted.
- Delete the unnecessary registers read in code.
- Add ret return after wait_for_bit_le32() is failed.
- Add macros instead those magic values.
Sherry Sun (4
The cdns3-usb-phy driver supports both host and peripheral
mode of usb driver which use cadence usb3 IP.
Signed-off-by: Sherry Sun
---
drivers/phy/Kconfig | 8 ++
drivers/phy/Makefile| 1 +
drivers/phy/cdns3-usb-phy.c | 241
3 files
fail.
So here introduce a new optional ->udc_set_speed() method which can be
implemented by interested UDC drivers to achieve this purpose.
Signed-off-by: Sherry Sun
---
drivers/usb/gadget/udc/udc-core.c | 23 +++
include/linux/usb/gadget.h| 2 ++
2 files cha
’t understand, you can also get my test patches at
https://github.com/sherrysun1/u-boot-imx.git. You just need check the first
four patches which I
used to test for imx8mq_evk.
And feel free to let me know if any problems.
Best regards
Sherry sun
Hi Sherry,
On Aug. 8, 2019 2:38 a.m., Sherry
.
Signed-off-by: Sherry Sun
---
Makefile |1 +
doc/device-tree-bindings/usb/cdns-usb3.txt | 39 +
drivers/usb/Kconfig|2 +
drivers/usb/cdns3/Kconfig | 20 +
drivers/usb/cdns3/Makefile |5 +
drivers
Hi Marek,
>
> On 8/19/19 8:10 AM, Sherry Sun wrote:
> > This driver is ported from NXP i.MX U-Boot version imx_v2019.04 and
> > some changes have also been made to adapt to U-Boot.
> >
> > Add the Cadence USB3 IP(CDNS3) driver for the gadget (device mode).
> >
Hi Marek,
>
> On 8/19/19 8:10 AM, Sherry Sun wrote:
> > Add the USB3 host driver for NXP imx8 platform, and the cadence IP is
> > in it. The USB3 host driver support DM mode, it will probe USB3 host
> > node in dts.
> >
> > Signed-off-by: Sherry
Hi Marek,
>
> On 8/20/19 10:31 AM, Sherry Sun wrote:
> > Hi Marek,
> >
> >>
> >> On 8/19/19 8:10 AM, Sherry Sun wrote:
> >>> Add the USB3 host driver for NXP imx8 platform, and the cadence IP
> >>> is in it. The USB3 host drive
Hi Marek,
>
> On 8/20/19 5:24 PM, Sherry Sun wrote:
> > Hi Marek,
>
> Hi,
>
> >> On 8/20/19 10:31 AM, Sherry Sun wrote:
> >>> Hi Marek,
> >>>
> >>>>
> >>>> On 8/19/19 8:10 AM, Sherry Sun wrote:
> >>
Hi Marek,
>
> On 8/20/19 5:42 PM, Sherry Sun wrote:
> [...]
>
> >>>>>>> +U_BOOT_DRIVER(xhci_imx8) = {
> >>>>>>> + .name = "xhci_imx8",
> >>>>>>> + .id = UCLASS_USB,
> >>
Use "cdns,usb3-1.0.0" compatible instead "cdns,usb3".
- Add DM_FLAG_OS_PREPARE flag to xhci-imx8 driver.
Sherry Sun (7):
dt-bindings: add dt-binding doc for CDNS3 controller
usb: gadget: Add the cadence USB3 gadget driver
usb: gadget: Add match_ep call back to usb
This patch aim at documenting USB related dt-bindings for the
Cadence USB controller.
Signed-off-by: Sherry Sun
---
doc/device-tree-bindings/usb/cdns-usb3.txt | 53 ++
1 file changed, 53 insertions(+)
create mode 100644 doc/device-tree-bindings/usb/cdns-usb3.txt
diff --git
.
Signed-off-by: Sherry Sun
---
Makefile |1 +
drivers/usb/Kconfig |2 +
drivers/usb/cdns3/Kconfig | 20 +
drivers/usb/cdns3/Makefile|5 +
drivers/usb/cdns3/cdns3-generic.c | 114 ++
drivers/usb/cdns3/cdns3-nxp-reg
The cdns3-usb-phy driver supports both host and peripheral
mode of usb driver which use cadence usb3 IP.
Signed-off-by: Sherry Sun
---
drivers/phy/Kconfig | 8 ++
drivers/phy/Makefile| 1 +
drivers/phy/cdns3-usb-phy.c | 241
3 files
information and configure the EP once
the set configuration request is received.
Signed-off-by: Sherry Sun
---
drivers/usb/gadget/epautoconf.c | 4
include/linux/usb/gadget.h | 3 +++
2 files changed, 7 insertions(+)
diff --git a/drivers/usb/gadget/epautoconf.c b/drivers/usb/gadget
Like other usb controllers, add gadget_is_cdns3 checking to
provide bcdUSB value in device descriptor.
Signed-off-by: Sherry Sun
---
drivers/usb/gadget/gadget_chips.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/usb/gadget/gadget_chips.h
b/drivers/usb/gadget
fail.
So here introduce a new optional ->udc_set_speed() method which can be
implemented by interested UDC drivers to achieve this purpose.
Signed-off-by: Sherry Sun
---
drivers/usb/gadget/udc/udc-core.c | 23 +++
include/linux/usb/gadget.h| 2 ++
2 files cha
Add the USB3 host driver for NXP imx8 platform, and the
cadence IP is in it. The USB3 host driver support DM
mode, it will probe USB3 host node in dts.
Signed-off-by: Sherry Sun
---
drivers/usb/host/Kconfig | 9 ++
drivers/usb/host/Makefile| 1 +
drivers/usb/host/xhci-imx8.c | 210
Need initialize UDC before run sdp download and release it at the end of
sdp.
Signed-off-by: Sherry Sun
Signed-off-by: Frank Li
---
common/spl/spl_sdp.c | 4
1 file changed, 4 insertions(+)
diff --git a/common/spl/spl_sdp.c b/common/spl/spl_sdp.c
index 806bf1327e..7b0a213d4c 100644
--- a
sdp.
3. Add a macro definition--CONFIG_SDP_LOADADDR as default sdp load
address while SDP_WRITE and SDP_JUMP command addr is zero.
Sherry Sun (4):
imx: spl: Change USB boot device type for imx8/8m
SDP: use CONFIG_SDP_LOADADDR as default load address
SDP: fix wrong usb request size and add
e can send packet with 512 byte size.
Signed-off-by: Sherry Sun
Signed-off-by: Ye Li
---
drivers/usb/gadget/f_sdp.c | 33 ++---
1 file changed, 30 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/gadget/f_sdp.c b/drivers/usb/gadget/f_sdp.c
index 841814bc07..8aaed
The SPL SDP is configured as BOOT_DEVICE_BOARD, but for i.MX8 and
i.MX8M, the boot_device_spl is still set to BOOT_DEVICE_USB, which
may cause SDP can't work, in order to fix this issue, when booting
from USB in spl, we change its type to BOOT_DEVICE_BOARD.
Signed-off-by: Sherry Sun
Signe
If SDP_WRITE and SDP_JUMP command addr is zero, use CONFIG_SDP_LOADADDR
as default address.
Signed-off-by: Sherry Sun
Signed-off-by: Frank Li
---
drivers/usb/gadget/Kconfig | 4
drivers/usb/gadget/f_sdp.c | 6 --
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers
If SDP_WRITE and SDP_JUMP command addr is zero, use CONFIG_SDP_LOADADDR
as default address.
Signed-off-by: Sherry Sun
Signed-off-by: Frank Li
Reviewed-by: Lukasz Majewski
---
drivers/usb/gadget/Kconfig | 4
drivers/usb/gadget/f_sdp.c | 6 --
2 files changed, 8 insertions(+), 2
high speed endpoint descriptor for sdp.
3. Add a macro definition--CONFIG_SDP_LOADADDR as default sdp load
address while SDP_WRITE and SDP_JUMP command addr is zero.
The current patches have been validated on both i.MX8 and i.MX8M platform.
Sherry Sun (4):
imx: spl: Change USB boot device type
Need initialize UDC before run sdp download and release it at the end of
sdp.
Signed-off-by: Sherry Sun
Signed-off-by: Frank Li
Reviewed-by: Lukasz Majewski
---
common/spl/spl_sdp.c | 4
1 file changed, 4 insertions(+)
diff --git a/common/spl/spl_sdp.c b/common/spl/spl_sdp.c
index
e can send packet with 512 byte size.
Signed-off-by: Sherry Sun
Signed-off-by: Ye Li
---
drivers/usb/gadget/f_sdp.c | 33 ++---
1 file changed, 30 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/gadget/f_sdp.c b/drivers/usb/gadget/f_sdp.c
index 841814bc07..8aaed
The SPL SDP is configured as BOOT_DEVICE_BOARD, but for i.MX8 and
i.MX8M, the boot_device_spl is still set to BOOT_DEVICE_USB, which
may cause SDP can't work, in order to fix this issue, when booting
from USB in spl, we change its type to BOOT_DEVICE_BOARD.
Signed-off-by: Sherry Sun
Signe
Hi Lukasz,
>
> On Thu, 22 Aug 2019 01:46:20 +0000
> Sherry Sun wrote:
>
> > Because the buffer length of sdp usb request is 65, we have to
> > allocate 65 bytes not 64 bytes. Otherwise there is potential buffer
> > overflow.
> >
> > So the wMaxPacketS
zero.
The current patches have been validated on both i.MX8 and i.MX8M platform.
Sherry Sun (4):
imx: spl: Change USB boot device type for imx8/8m
SDP: use CONFIG_SDP_LOADADDR as default load address
SDP: fix wrong usb request size and add high speed endpoint descriptor
SDP: Call
The SPL SDP is configured as BOOT_DEVICE_BOARD, but for i.MX8 and
i.MX8M, the boot_device_spl is still set to BOOT_DEVICE_USB, which
may cause SDP can't work, in order to fix this issue, when booting
from USB in spl, we change its type to BOOT_DEVICE_BOARD.
Signed-off-by: Sherry Sun
Signe
e can send packet with 512 byte size.
Signed-off-by: Sherry Sun
Signed-off-by: Ye Li
---
drivers/usb/gadget/f_sdp.c | 37 ++---
1 file changed, 34 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/gadget/f_sdp.c b/drivers/usb/gadget/f_sdp.c
index 84181
Need initialize UDC before run sdp download and release it at the end of
sdp.
Signed-off-by: Sherry Sun
Signed-off-by: Frank Li
Reviewed-by: Lukasz Majewski
---
common/spl/spl_sdp.c | 4
1 file changed, 4 insertions(+)
diff --git a/common/spl/spl_sdp.c b/common/spl/spl_sdp.c
index
If SDP_WRITE and SDP_JUMP command addr is zero, use CONFIG_SDP_LOADADDR
as default address.
Signed-off-by: Sherry Sun
Signed-off-by: Frank Li
Reviewed-by: Lukasz Majewski
---
drivers/usb/gadget/Kconfig | 4
drivers/usb/gadget/f_sdp.c | 6 --
2 files changed, 8 insertions(+), 2
r.
>
> This is done in dwc3_glue_bind().
Thanks for your suggestions.
So if I want to use the cdns3 usb node as both usb gadget device and usb host
device,
do you mean that I should make the cdns3 usb node as a usb wrapper device, and
create t
Hi Jean,
>
> Hi Sherry,
>
> On 21/08/2019 16:36, Sherry Sun wrote:
> > The cdns3-usb-phy driver supports both host and peripheral mode of usb
> > driver which use cadence usb3 IP.
> >
> > Signed-off-by: Sherry Sun
> > ---
> > drivers/phy/Kco
o use the cdns3 usb node as both usb gadget device and usb
> host device, do you mean that I should make the cdns3 usb node as a usb
> wrapper device, and create two subnodes in it.
> Then when binding the wrapper node, it will hard-coded the two subnodes
> to different driv
Hi Jean,
>
> +Kishon who worked on this PHY under linux
>
>
> Hi Sherry,
>
>
> On 28/08/2019 10:05, Sherry Sun wrote:
> > Hi Jean,
> >
> >> Hi Sherry,
> >>
> >> On 21/08/2019 16:36, Sherry Sun wrote:
> >>> The cdns
Hi Vignesh,
>
> Hi Sherry,
>
> On 21/08/19 8:05 PM, Sherry Sun wrote:
> > These patches introduce new Cadence driver to U-Boot.
> > The first patch is to add the Cadence USB3 IP(CDNS3) core and driver
> > for the usb gadget.
> > The second patch int
Hi Vignesh,
>
> Hi,
>
> On 28/08/19 7:52 PM, Sherry Sun wrote:
> > Hi Vignesh,
> [...]
> >> I see that Cadence USB driver for Linux kernel is still under
> >> development and DT compatible binding is supposed to be "cdns,usb3"
> not
Hi Jean,
>
>
> On 28/08/2019 13:50, Sherry Sun wrote:
> > Hi Jean,
> >
> >> Hi Jean,
> >>
> >>> Hi Marek, Sherry,
> >>>
> >>>
> >>>>>>> we keep the cdns3 node for usb gadget driver, then add a u
Hi Vignesh,
>
>
>
> On 30/08/19 3:36 PM, Sherry Sun wrote:
> > Hi Jean,
> >
> >>
> >>
> >> On 28/08/2019 13:50, Sherry Sun wrote:
> >>> Hi Jean,
> >>>
> >>>> Hi Jean,
> >>>>
> >
r if we add two subnodes for
gadget and host.
But I see a for loop in dwc3_glue_bind() as follows, if there only one single
node representing both Host and Device node under usb wrapper node, why we need
this for loop?
212 for (node = fdt_first_subnode(fdt, dev_of_offset(parent)); node >
Hi Jean,
>
>
> On 02/09/2019 13:29, Sherry Sun wrote:
> > Hi Vignesh,
> >
> >> Hi Sherry,
> >>
> >> [...]
> >>>> AFAIK, U-Boot does not support runtime switching of USB port to
> >>>> host from device and v
Hi Jean,
>
> Hi Sherry,
>
> On 03/09/2019 14:44, Sherry Sun wrote:
> > Hi Jean,
> >
> >>
> >> On 02/09/2019 13:29, Sherry Sun wrote:
> >>> Hi Vignesh,
> >>>
> >>>> Hi Sherry,
> >>>>
> >>&g
Hi Lukasz,
Ping. Any comments on V4?
Best regards
Sherry Sun
>
> Because the buffer length of sdp usb request is 65, we have to allocate
> 65 bytes not 64 bytes. Otherwise there is potential buffer overflow.
>
> So the wMaxPacketSize of fullspeed can't meet the ne
81 matches
Mail list logo