| #
36c87911 |
| 19-Oct-2023 |
william.wu <william.wu@rock-chips.com> |
usb: rockusb: Add support for usb3 download
This patch improve the usb gadget drivers and the usb dwc3 controller drivers to support rockusb usb3 download images.
With this patch, it can support: 1
usb: rockusb: Add support for usb3 download
This patch improve the usb gadget drivers and the usb dwc3 controller drivers to support rockusb usb3 download images.
With this patch, it can support: 1. Maskrom usbplug usb2 switch to usb3 automatically if the boards and the upgrade tool support usb3.
2. Loader enter usb3 automatically if the boards support usb3.
3. Force Maskrom/Loader usb fall back to usb2 if wait for usb3 enumeration time out.
Signed-off-by: Jianwei Zheng <jianwei.zheng@rock-chips.com> Signed-off-by: william.wu <william.wu@rock-chips.com> Change-Id: I9ad13fb42ae59cc9075545e22627f237f0eb1f32
show more ...
|
| #
1a4f6af8 |
| 02-Mar-2020 |
Joseph Chen <chenjh@rock-chips.com> |
Merge branch 'next-dev' into thunder-boot
|
| #
9c946fbb |
| 09-Jan-2020 |
Frank Wang <frank.wang@rock-chips.com> |
usb: dwc3: add dis-u1u2-quirk to reject enter U1 and U2
The DWC3 with Innosilicon USB 3.0 PHY on Rockchip platforms (e.g. rk3328, rk1808) has problem to exit to U0 state from U1 or U2 state when DWC
usb: dwc3: add dis-u1u2-quirk to reject enter U1 and U2
The DWC3 with Innosilicon USB 3.0 PHY on Rockchip platforms (e.g. rk3328, rk1808) has problem to exit to U0 state from U1 or U2 state when DWC3 work as peripheral mode. This patch adds a quirk to reject transition to U1 and U2 state to workaround this issue.
Refer to commit aaa5c055cc06 ("usb: dwc3: add dis-u1u2-quirk to reject enter U1 and U2") in Rockchip Linux Kernel-4.4 .
Change-Id: I1f4176caab3ccdc31ba7eb06684267833bf804db Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
show more ...
|
| #
dc627159 |
| 29-Nov-2018 |
Jean-Jacques Hiblot <jjhiblot@ti.com> |
UPSTREAM: usb: dwc3: Fix a compilation error with the edison defconfig
The error is: In file included from include/part.h:10:0, from include/usb.h:18, from include/
UPSTREAM: usb: dwc3: Fix a compilation error with the edison defconfig
The error is: In file included from include/part.h:10:0, from include/usb.h:18, from include/linux/usb/gadget.h:22, from drivers/usb/dwc3/ep0.c:20: include/ide.h:62:14: error: unknown type name ‘uchar’ void ide_led(uchar led, uchar status);
Fixing it by including common.h that defines the uchar type.
Change-Id: I97a5eabe32e03709a7e2800cd6ee8adf186daa76 Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 4d3825c1915e1649c4be0320e74be158e4698655)
show more ...
|
| #
6e4c159c |
| 09-Jul-2018 |
William Wu <william.wu@rock-chips.com> |
usb: dwc3: get rid of debug compile error
When enable debug option to compile, it will give the following error, this patch is used to get rid of it.
error: ‘flags’ is used uninitialized in this fu
usb: dwc3: get rid of debug compile error
When enable debug option to compile, it will give the following error, this patch is used to get rid of it.
error: ‘flags’ is used uninitialized in this function [-Werror=uninitialized]
Change-Id: Iba4cd59ab28eb7a48490e45842541f0418239e17 Signed-off-by: William Wu <william.wu@rock-chips.com>
show more ...
|
| #
bdf1ea11 |
| 14-Apr-2017 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-usb
|
| #
b7bf4a95 |
| 06-Apr-2017 |
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> |
usb: dwc3: ensure consistent types for dwc3_flush_cache
The dwc3_flush_cache() call was declared and used inconsistently: * The declaration assumed 'int' for addresses (a potential issue when ru
usb: dwc3: ensure consistent types for dwc3_flush_cache
The dwc3_flush_cache() call was declared and used inconsistently: * The declaration assumed 'int' for addresses (a potential issue when running in a LP64 memory model). * The invocation cast the address to 'long'.
This change ensures that both the declaration and usage of this function consistently uses 'uintptr_t' for correct behaviour even when the allocated buffers (to be flushed) reside outside of the lower 32bits of memory.
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
show more ...
|
| #
5f5620ab |
| 12-Nov-2015 |
Stefano Babic <sbabic@denx.de> |
Merge git://git.denx.de/u-boot
|
| #
1674942a |
| 05-Nov-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-usb
|
| #
01c94c4a |
| 30-Oct-2015 |
Michal Simek <michal.simek@xilinx.com> |
usb: dwc3: Fix warnings on 64-bit builds
Change aritmentics to use 64bit types to be compatible with 64bit builds.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
|
| #
8d488f3e |
| 23-Feb-2015 |
Kishon Vijay Abraham I <kishon@ti.com> |
usb: dwc3: Add chained TRB support for ep0
dwc3 can do only max packet aligned transfers. So in case request length is not max packet aligned and is bigger than DWC3_EP0_BOUNCE_SIZE two chained TRBs
usb: dwc3: Add chained TRB support for ep0
dwc3 can do only max packet aligned transfers. So in case request length is not max packet aligned and is bigger than DWC3_EP0_BOUNCE_SIZE two chained TRBs is required to handle the transfer.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
show more ...
|
| #
1f78f8fe |
| 23-Feb-2015 |
Kishon Vijay Abraham I <kishon@ti.com> |
usb: dwc3: ep0: preparation for implementing chained TRB
No functional change. Modified few things so that there are no code duplication while implementing chained TRB.
Signed-off-by: Kishon Vijay
usb: dwc3: ep0: preparation for implementing chained TRB
No functional change. Modified few things so that there are no code duplication while implementing chained TRB.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
show more ...
|
| #
526a50f8 |
| 23-Feb-2015 |
Kishon Vijay Abraham I <kishon@ti.com> |
dwc3: flush the buffers before using it
In the linux kernel, non cacheable buffers are used. However in uboot since there are no APIs to allocate non cacheable memory, all the buffers should be flus
dwc3: flush the buffers before using it
In the linux kernel, non cacheable buffers are used. However in uboot since there are no APIs to allocate non cacheable memory, all the buffers should be flushed before using it.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
show more ...
|
| #
b6d959ac |
| 23-Feb-2015 |
Kishon Vijay Abraham I <kishon@ti.com> |
usb: dwc3: ep0: make dwc3 ep0 build in uboot
*) Changed the included header files to that used in u-boot. *) added dwc3_ep_event_string() used in ep0.c *) Fixed other misc warnings
Signed-off-by: K
usb: dwc3: ep0: make dwc3 ep0 build in uboot
*) Changed the included header files to that used in u-boot. *) added dwc3_ep_event_string() used in ep0.c *) Fixed other misc warnings
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
show more ...
|
| #
9de1115d |
| 23-Feb-2015 |
Kishon Vijay Abraham I <kishon@ti.com> |
usb: dwc3: remove trace_* APIs from dwc3 driver
Removed most of the trace_* APIs from dwc3 driver since tracepoints are not supported in u-boot. Replaced some of the trace_* API with dev_dbg/dev/vdb
usb: dwc3: remove trace_* APIs from dwc3 driver
Removed most of the trace_* APIs from dwc3 driver since tracepoints are not supported in u-boot. Replaced some of the trace_* API with dev_dbg/dev/vdbg.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Review-by: Lukasz Majewski <l.majewski@samsung.com>
show more ...
|
| #
30c31d58 |
| 23-Feb-2015 |
Kishon Vijay Abraham I <kishon@ti.com> |
usb: dwc3: Modify the file headers to u-boot format
Modified the file header to the format that is used in u-boot. Also included in the header, the commit in linux kernel from which each of these fi
usb: dwc3: Modify the file headers to u-boot format
Modified the file header to the format that is used in u-boot. Also included in the header, the commit in linux kernel from which each of these files are added.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
show more ...
|
| #
85d5e707 |
| 23-Feb-2015 |
Kishon Vijay Abraham I <kishon@ti.com> |
usb: dwc3: add dwc3 folder from linux kernel to u-boot
Added dwc3 folder from linux kernel 3.19-rc1 (97bf6af1f9) to u-boot. This will be adapted to work with u-boot in the following patches.
Signed
usb: dwc3: add dwc3 folder from linux kernel to u-boot
Added dwc3 folder from linux kernel 3.19-rc1 (97bf6af1f9) to u-boot. This will be adapted to work with u-boot in the following patches.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
show more ...
|