and keep only the USB_DWC3_GADGET option. Enable it
by default if USB_GADGET and USB_DWC3 are enabled.
It must be disabled for the evb-rk3328 as it uses DWC2 for the gadget and
DWC3 for the host.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2:
Select USB_GADGET_DUALSPEED
Separate platform data from the private data.
This is one step toward adding host support.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
drivers/usb/dwc3/dwc3-generic.c | 37 -
1 file changed, 23 insertions(+), 14 deletions
Turning off the USB clocks may take longer than 100us.
Increase the timeout to 100ms.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
arch/arm/mach-keystone/include/mach/psc_defs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach
As the PHY driver now handles the transitions of USB power domain, we
must add this information in the node of each PHY.
Also, the phy are expected in the "phys" property, not "usb-phys".
Also add the aliases for the USB ports on boards with more than a single
port.
Signed-
KEYSTONE_USB_PHY is now required for proper USB operations.
XHCI_DWC3 can be disabled as the xhci-dwc3 is not used anymore
USB_DWC3_GADGET can also be removed, it is now selected automatically.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
configs
This breaks linux boot sequence.
Observed on k2e and k2l platforms.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
board/ti/ks2_evm/board.c | 13 -
1 file changed, 13 deletions(-)
diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c
There is no need to fail if the maximum speed is not specified.
If the speed is not specified, do the same as linux and assume super speed.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3:
- updated log message when defaulting to super speed
Changes in v2: None
drivers/usb/dwc3/dwc3
child devices (1 for device and 1 for
host) but bind only one at a any given time.
Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2:
Add a test for the NOP uclass
arch/sandbox/dts/test.dts | 12 +++
drivers/core/uclass.c | 5 +++
include
the required on/off sequence.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
drivers/phy/keystone-usb-phy.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/phy/keystone-usb-phy.c b/drivers/phy/keystone-usb-phy.c
index e8146cabfa
Factor code for re-usability.
This is another step toward adding host support.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
drivers/usb/dwc3/dwc3-generic.c | 55 +
1 file changed, 35 insertions(+), 20 deletions(-)
diff --git
c5ac6116db35d.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2:
Update commit log
drivers/usb/dwc3/core.c | 65 +
drivers/usb/dwc3/core.h | 1 +
drivers/usb/dwc3/dwc3-generic.c | 6 ++-
3 files changed, 71 insertions
The xhci.h header file is currently located under drivers/usb/xhci
Move it to the include/usb folder to make it available to drivers that
are not under drivers/usb/xhci
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
MAINTAINERS | 1
This allow the phy to enter idle and then suspend.
the K2 platforms require the PHY to be suspended before the USB domain
clock can be turned off.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
drivers/usb/dwc3/core.c | 13 +
1 file changed, 13
This driver is not used anymore.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
configs/avnet_ultra96_rev1_defconfig | 1 -
.../xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 -
.../xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1
No one is actually implementing those functions.
We could remove calls to these altogether, but it does not really hurt to
keep the empty inlined version at the moment and it satisfies a symmetry
with the gadget mode.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2
dwc3-generic has been broken since MISC uclass has been modified to scan DT
sub-nodes after bind.
Fixing it by a using the no-op uclass.
Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/usb/dwc3/dwc3-generic.c | 2 +-
1 file
There is simply no reason to do that here.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
drivers/usb/dwc3/dwc3-generic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/dwc3/dwc3-generic.c b/drivers/usb/dwc3/dwc3-generic.c
index
On 27/06/2019 13:11, Marek Vasut wrote:
On 6/27/19 1:02 PM, Jean-Jacques Hiblot wrote:
The xhci.h header file is currently located under drivers/usb/xhci
Move it to the include/usb folder to make it available to drivers that
are not under drivers/usb/xhci
Signed-off-by: Jean-Jacques Hiblot
nges in v2:
Add a test for the NOP uclass
Update commit log
Select USB_GADGET_DUALSPEED if USB_DWC3_GADGET is selected
Jean-Jacques Hiblot (18):
usb: dwc3-generic: remove dm_scan_fdt_dev() from the remove() callback
usb: host: remove the xhci-zynqmp driver
dm: Add a No-op uclass
usb:
There is no need to fail if the maximum speed is not specified.
If the speed is not specified, do the same as linux and assume super speed.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3:
- updated log message when defaulting to super speed
Changes in v2: None
drivers/usb/dwc3/dwc3
This driver is not used anymore.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
configs/avnet_ultra96_rev1_defconfig | 1 -
.../xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 -
.../xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1
As the PHY driver now handles the transitions of USB power domain, we
must add this information in the node of each PHY.
Also, the phy are expected in the "phys" property, not "usb-phys".
Also add the aliases for the USB ports on boards with more than a single
port.
Signed-
the required on/off sequence.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
drivers/phy/keystone-usb-phy.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/phy/keystone-usb-phy.c b/drivers/phy/keystone-usb-phy.c
index e8146cabfa
child devices (1 for device and 1 for
host) but bind only one at a any given time.
Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2:
Add a test for the NOP uclass
arch/sandbox/dts/test.dts | 12 +++
drivers/core/uclass.c | 5 +++
include
Factor code for re-usability.
This is another step toward adding host support.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
drivers/usb/dwc3/dwc3-generic.c | 55 +
1 file changed, 35 insertions(+), 20 deletions(-)
diff --git
This breaks linux boot sequence.
Observed on k2e and k2l platforms.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
board/ti/ks2_evm/board.c | 13 -
1 file changed, 13 deletions(-)
diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c
The xhci.h header file is currently located under drivers/usb/xhci
Move it to the include/usb folder to make it available to drivers that
are not under drivers/usb/xhci
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
MAINTAINERS | 1
n for this
is simply that the xhci layer expects a struct xhci_ctrl at the beginning
of the private data and it seemed wasteful to include it also for the
peripheral case.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
drivers/usb/dwc3/core.c | 2 +-
drivers/usb
KEYSTONE_USB_PHY is now required for proper USB operations.
XHCI_DWC3 can be disabled as the xhci-dwc3 is not used anymore
USB_DWC3_GADGET can also be removed, it is now selected automatically.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
configs
and keep only the USB_DWC3_GADGET option. Enable it
by default if USB_GADGET and USB_DWC3 are enabled.
It must be disabled for the evb-rk3328 as it uses DWC2 for the gadget and
DWC3 for the host.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2:
Select USB_GADGET_DUALSPEED
c5ac6116db35d.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2:
Update commit log
drivers/usb/dwc3/core.c | 65 +
drivers/usb/dwc3/core.h | 1 +
drivers/usb/dwc3/dwc3-generic.c | 6 ++-
3 files changed, 71 insertions
Turning off the USB clocks may take longer than 100us.
Increase the timeout to 100ms.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
arch/arm/mach-keystone/include/mach/psc_defs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach
No one is actually implementing those functions.
We could remove calls to these altogether, but it does not really hurt to
keep the empty inlined version at the moment and it satisfies a symmetry
with the gadget mode.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2
This allow the phy to enter idle and then suspend.
the K2 platforms require the PHY to be suspended before the USB domain
clock can be turned off.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
drivers/usb/dwc3/core.c | 13 +
1 file changed, 13
Separate platform data from the private data.
This is one step toward adding host support.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
drivers/usb/dwc3/dwc3-generic.c | 37 -
1 file changed, 23 insertions(+), 14 deletions
dwc3-generic has been broken since MISC uclass has been modified to scan DT
sub-nodes after bind.
Fixing it by a using the no-op uclass.
Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/usb/dwc3/dwc3-generic.c | 2 +-
1 file
There is simply no reason to do that here.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
drivers/usb/dwc3/dwc3-generic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/dwc3/dwc3-generic.c b/drivers/usb/dwc3/dwc3-generic.c
index
The e-MMC spec allows the e-MMC to specify a timeout for the partition
switch command. It can take up to 2550 ms. There is no lower limit to this
value in the spec, but do as the the linux driver does and force it to be
at least 300ms.
Signed-off-by: Jean-Jacques Hiblot
---
drivers/mmc/mmc.c
This reverts commit 318a7a576bc49aa8b4207e694d3fbd48c663d6ac.
The last and only user of this callback had been the omap_hsmmc driver.
It is not used anymore. Removing the callback.
Signed-off-by: Jean-Jacques Hiblot
---
drivers/mmc/mmc-uclass.c | 13 -
drivers/mmc/mmc.c
-Jacques Hiblot
---
drivers/mmc/mmc.c | 36
1 file changed, 36 deletions(-)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index b0684596f9..709733747a 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -955,46 +955,10 @@ static int mmc_set_capacity
This operation may fail. Retry it a few times before giving up and report
a failure.
Signed-off-by: Jean-Jacques Hiblot
---
drivers/mmc/mmc.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 709733747a..cec39a9acf
Using the DAT0 line as a rdy/busy line is an alternative to reading the
status register of the card. It especially useful in situation where the
bus is not in a good shape, like when modes are switched.
This is also how the linux driver behaves.
Signed-off-by: Jean-Jacques Hiblot
---
drivers
the status of
the card. It is important to do so because the operation may have failed.
Signed-off-by: Jean-Jacques Hiblot
---
drivers/mmc/mmc.c | 49 ++-
1 file changed, 36 insertions(+), 13 deletions(-)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc
Starting with rev 4.5, the eMMC can define a generic timeout for the
SWITCH command.
Signed-off-by: Jean-Jacques Hiblot
---
drivers/mmc/mmc.c | 10 +-
include/mmc.h | 2 ++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index
This function can also be used for eMMC devices.
Signed-off-by: Jean-Jacques Hiblot
---
drivers/mmc/omap_hsmmc.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c
index d8f36cd1db..3ea7f4e173 100644
--- a/drivers/mmc/omap_hsmmc.c
+++ b
/550855605
Jean-Jacques Hiblot (11):
mmc: omap_hsmmc: reset FSM for DAT and CMD lines if needed before a
new command
mmc: omap_hsmmc: don't fill the send_init_stream callback
Revert "mmc: Add a new callback function to perform the 74 clocks
cycle sequence"
mmc: omap_hsmm
-off-by: Jean-Jacques Hiblot
---
drivers/mmc/mmc.c | 45 ++-
drivers/mmc/mmc_private.h | 9
drivers/mmc/mmc_write.c | 4 ++--
3 files changed, 37 insertions(+), 21 deletions(-)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index
This is not required. The MMC core sends CMD0 right after the
initialization and it serves the same purpose.
Signed-off-by: Jean-Jacques Hiblot
---
drivers/mmc/omap_hsmmc.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c
index
happens after a mode switch.
Signed-off-by: Jean-Jacques Hiblot
---
drivers/mmc/omap_hsmmc.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c
index 133cdc1352..5446ca8b8d 100644
--- a/drivers/mmc/omap_hsmmc.c
On 26/06/2019 11:50, Marek Vasut wrote:
On 6/26/19 11:22 AM, Jean-Jacques Hiblot wrote:
On 25/06/2019 21:47, Marek Vasut wrote:
On 6/25/19 9:07 PM, Jean-Jacques Hiblot wrote:
On 25/06/2019 17:53, Marek Vasut wrote:
On 6/25/19 4:13 PM, Jean-Jacques Hiblot wrote:
Hi Marek,
On 06/02/2019 14
On 25/06/2019 21:47, Marek Vasut wrote:
On 6/25/19 9:07 PM, Jean-Jacques Hiblot wrote:
On 25/06/2019 17:53, Marek Vasut wrote:
On 6/25/19 4:13 PM, Jean-Jacques Hiblot wrote:
Hi Marek,
On 06/02/2019 14:11, Marek Vasut wrote:
When using CMD6 to switch eMMC card timing from HS200/HS400 to
HS
Hi Simon,
On 22/06/2019 21:09, Simon Glass wrote:
Hi Jean-Jacques,
On Thu, 23 May 2019 at 11:39, Jean-Jacques Hiblot wrote:
The purpose of this series is to provide the SPL with ability to apply
overlays for u-boot. this is only a RFC so far, to get a feedback on the
approach.
Our use
On 25/06/2019 17:53, Marek Vasut wrote:
On 6/25/19 4:13 PM, Jean-Jacques Hiblot wrote:
Hi Marek,
On 06/02/2019 14:11, Marek Vasut wrote:
When using CMD6 to switch eMMC card timing from HS200/HS400 to HS/legacy,
do not poll for the completion status using CMD13, but rather wait 50mS.
Once
Hi Marek,
On 06/02/2019 14:11, Marek Vasut wrote:
When using CMD6 to switch eMMC card timing from HS200/HS400 to HS/legacy,
do not poll for the completion status using CMD13, but rather wait 50mS.
Once the card receives the CMD6 and starts executing it, the bus is in
undefined state until both
On 18/06/2019 07:03, Peng Fan wrote:
Subject: Re: [U-Boot] [PATCH] mmc: Avoid HS400 mode when accessing boot
partitions
On 6/17/19 4:46 PM, Jean-Jacques Hiblot wrote:
On 17/06/2019 12:34, Marek Vasut wrote:
On 6/17/19 11:09 AM, Jean-Jacques Hiblot wrote:
On 15/06/2019 17:15, Marek Vasut
Add a standalone MMC block write test. This allows direct testing of MMC
access rather than relying on doing so as a side-effect of e.g. DFU or
UMS testing, which may not be enabled on all platforms.
Signed-off-by: Jean-Jacques Hiblot
---
This patch relies on patch "cmd: mem: Add a co
On 17/06/2019 12:34, Marek Vasut wrote:
On 6/17/19 11:09 AM, Jean-Jacques Hiblot wrote:
On 15/06/2019 17:15, Marek Vasut wrote:
On 6/14/19 5:27 PM, Jean-Jacques Hiblot wrote:
Marek, Faiz,
On 11/06/2019 17:59, Faiz Abbas wrote:
Hi Marek,
On 11/06/19 3:34 PM, Marek Vasut wrote:
On 6/11/19
On 15/06/2019 17:15, Marek Vasut wrote:
On 6/14/19 5:27 PM, Jean-Jacques Hiblot wrote:
Marek, Faiz,
On 11/06/2019 17:59, Faiz Abbas wrote:
Hi Marek,
On 11/06/19 3:34 PM, Marek Vasut wrote:
On 6/11/19 10:12 AM, Faiz Abbas wrote:
Peng, Marek,
On 11/06/19 6:47 AM, Peng Fan wrote
This command fills the memory with data produced by rand().
Signed-off-by: Jean-Jacques Hiblot
---
cmd/Kconfig | 3 ++-
cmd/mem.c | 48
2 files changed, 50 insertions(+), 1 deletion(-)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index ea1a325eb3
Marek, Faiz,
On 11/06/2019 17:59, Faiz Abbas wrote:
Hi Marek,
On 11/06/19 3:34 PM, Marek Vasut wrote:
On 6/11/19 10:12 AM, Faiz Abbas wrote:
Peng, Marek,
On 11/06/19 6:47 AM, Peng Fan wrote:
partitions
On 6/10/19 7:59 AM, Peng Fan wrote:
Subject: Re: [U-Boot] [PATCH] mmc: Avoid HS400
+ Jaehoon
Hi Marek,
On 10/06/2019 13:33, Marek Vasut wrote:
On 6/10/19 7:59 AM, Peng Fan wrote:
Subject: Re: [U-Boot] [PATCH] mmc: Avoid HS400 mode when accessing boot
partitions
Hi Marek, Peng,
On 03/06/19 12:04 PM, Peng Fan wrote:
Subject: [PATCH] mmc: Avoid HS400 mode when accessing
On 27/05/2019 17:15, Simon Goldschmidt wrote:
Tom Rini mailto:tr...@konsulko.com>> schrieb am
Mo., 27. Mai 2019, 16:54:
On Mon, May 27, 2019 at 03:47:13PM +0200, Jean-Jacques Hiblot wrote:
> Simon,
>
>
> On 24/05/2019 22:10, Simon Goldschmidt wrote:
Simon,
On 24/05/2019 22:10, Simon Goldschmidt wrote:
Am 24.05.2019 um 22:07 schrieb Simon Goldschmidt:
This adds a size check for SPL that can dynamically check generated
SPL binaries (including devicetree) for a size limit that ensures
this image plus global data, heap and stack fit in
l move on to other available
reviewed-by and tested-by : Jean-Jacques Hiblot
Building for arm, the reduction in size is around 50 bytes
JJ
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
This is required for proper operation of the 8-bit data transfers.
This fixes transient errors seen on BeagleBone Black.
Signed-off-by: Jean-Jacques Hiblot
---
board/ti/am335x/mux.c | 4
1 file changed, 4 insertions(+)
diff --git a/board/ti/am335x/mux.c b/board/ti/am335x/mux.c
index
dtso files and use .dts extension for the
overlays
- add dynamic allocation usage in a separate patch
- defconfig change for the am335x_evm
Jean-Jacques Hiblot (11):
spl: fit: Make room in the FDT before applying overlays
spl: fit: allocate a temporary buffer to load the overlays
spl: fit: D
The current tests do to handle well the cases where those variables are not
defined. When CONFIG_SPL_LOAD_FIT is not defined, U_BOOT_ITS gets defined
as an empty string.
Fixing it by using intermediate variables with the quotes removed
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
In order to apply an overlay to a DTB. The DTB must have been generated
with the option '-@'.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
scripts/Makefile.lib | 4
1 file changed, 4 insertions(+)
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
Currently the FIT generator scripts are passed only a list of dtbs.
However some platforms may also require information about the board itself.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
Makefile | 2 +-
arch/arm/mach-imx
To reduce the complexity of the Makefile, let the generator tell what its
dependencies are. For this purpose use the "--deps" option.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
Makefile | 9 ++---
arch/ar
and at least
show which overlay is failing.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
common/spl/spl_fit.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c
index d5e3858ed0..d772f2db64
of the source directory.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
Makefile| 5 +++--
board/theobroma-systems/lion_rk3368/fit_spl_atf.its | 6 +++---
board/theobroma-systems/puma_rk3399/fit_spl_atf.its | 8
3
There is no need for it to be non-constant. Making it constant, allows to
return constant string without warning.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
common/spl/spl_fit.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a hand few of images.
To address this problem, give the board-level code the opportunity to
add to the list of images. The images from the FIT property are loaded
first, and then the board_fit_get_additionnal_images() is called to
get more image names.
Signed-off-by: Jean-Jacques Hiblot
on the loadables.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
common/spl/spl_fit.c | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c
index 3fbcb969f8..c1c982f002 100644
--- a/common/spl
If the node describing an overlay does not specify a load address, it will
be loaded at the address previously used.
Fixing it by allocating a temporary 64kB region that will be used as a
default load address.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
If one overlay that must be applied cannot be found in the FIT, the current
implementation stops applying the overlays. Let's make it skip only the
failing overlay instead.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3: None
Changes in v2: None
common/spl/spl_fit.c | 6 +-
1 file
feature.
Signed-off-by: Michal Simek
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v3:
- Add a new config option: SPL_LOAD_FIT_APPLY_OVERLAY. By default, it is
not selected.
Changes in v2: None
Kconfig | 10 ++
common/spl/spl_fit.c | 27 +
- Select USB_GADGET_DUALSPEED if USB_DWC3_GADGET is selected
Jean-Jacques Hiblot (18):
usb: dwc3-generic: remove dm_scan_fdt_dev() from the remove() callback
usb: host: remove the xhci-zynqmp driver
dm: Add a No-op uclass
usb: dwc3: Use UCLASS_NOP instead of UCLASS_MISC for the DWC3
As the PHY driver now handles the transitions of USB power domain, we
must add this information in the node of each PHY.
Also, the phy are expected in the "phys" property, not "usb-phys".
Also add the aliases for the USB ports on boards with more than a single
port.
Signed-
There is no need to fail if the maximum speed is not specified.
If the speed is not specified, do the same as linux and assume super speed.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v2: None
drivers/usb/dwc3/dwc3-generic.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
Turning off the USB clocks may take longer than 100us.
Increase the timeout to 100ms.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v2: None
arch/arm/mach-keystone/include/mach/psc_defs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-keystone/include
KEYSTONE_USB_PHY is now required for proper USB operations.
XHCI_DWC3 can be disabled as the xhci-dwc3 is not used anymore
USB_DWC3_GADGET can also be removed, it is now selected automatically.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v2: None
configs/k2g_evm_defconfig | 3 +--
1
and keep only the USB_DWC3_GADGET option. Enable it
by default if USB_GADGET and USB_DWC3 are enabled.
It must be disabled for the evb-rk3328 as it uses DWC2 for the gadget and
DWC3 for the host.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v2:
Select USB_GADGET_DUALSPEED if USB_DWC3_GADGET
n for this
is simply that the xhci layer expects a struct xhci_ctrl at the beginning
of the private data and it seemed wasteful to include it also for the
peripheral case.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v2: None
drivers/usb/dwc3/core.c | 2 +-
drivers/usb/dwc3
This driver is not used anymore.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v2: None
configs/avnet_ultra96_rev1_defconfig | 1 -
.../xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 -
.../xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1
The xhci.h header file is currently located under drivers/usb/xhci
Move it to the include/usb folder to make it available to drivers that
are not under drivers/usb/xhci
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v2: None
MAINTAINERS | 1 +
drivers/usb/host
the required on/off sequence.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v2: None
drivers/phy/keystone-usb-phy.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/phy/keystone-usb-phy.c b/drivers/phy/keystone-usb-phy.c
index e8146cabfa..14ac62 100644
This breaks linux boot sequence.
Observed on k2e and k2l platforms.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v2: None
board/ti/ks2_evm/board.c | 13 -
1 file changed, 13 deletions(-)
diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c
index eed62e9cac
Factor code for re-usability.
This is another step toward adding host support.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v2: None
drivers/usb/dwc3/dwc3-generic.c | 55 +
1 file changed, 35 insertions(+), 20 deletions(-)
diff --git a/drivers/usb/dwc3
Separate platform data from the private data.
This is one step toward adding host support.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v2: None
drivers/usb/dwc3/dwc3-generic.c | 37 -
1 file changed, 23 insertions(+), 14 deletions(-)
diff --git a/drivers
c5ac6116db35d.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v2:
- Update commit log
drivers/usb/dwc3/core.c | 65 +
drivers/usb/dwc3/core.h | 1 +
drivers/usb/dwc3/dwc3-generic.c | 6 ++-
3 files changed, 71 insertions(+), 1 deletion
dwc3-generic has been broken since MISC uclass has been modified to scan DT
sub-nodes after bind.
Fixing it by a using the no-op uclass.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v2: None
drivers/usb/dwc3/dwc3-generic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
This allow the phy to enter idle and then suspend.
the K2 platforms require the PHY to be suspended before the USB domain
clock can be turned off.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v2: None
drivers/usb/dwc3/core.c | 13 +
1 file changed, 13 insertions(+)
diff
No one is actually implementing those functions.
We could remove calls to these altogether, but it does not really hurt to
keep the empty inlined version at the moment and it satisfies a symmetry
with the gadget mode.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v2: None
drivers/usb/dwc3
child devices (1 for device and 1 for
host) but bind only one at a any given time.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v2:
Add a test for the NOP uclass
arch/sandbox/dts/test.dts | 12 +++
drivers/core/uclass.c | 5 +++
include/dm/uclass-id.h| 1 +
test/dm/Makefile
There is simply no reason to do that here.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v2: None
drivers/usb/dwc3/dwc3-generic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/dwc3/dwc3-generic.c b/drivers/usb/dwc3/dwc3-generic.c
index 3e6c494dc6
Hi Simon,
On 07/05/2019 05:52, Simon Glass wrote:
Hi Jean-Jacques,
On Fri, 5 Apr 2019 at 06:56, Jean-Jacques Hiblot wrote:
This uclass is intended for devices that do not need any features from the
uclass, including binding children.
This will typically be used by devices that are used
the already in-tree pattern.
Jean-Jacques Hiblot (CC'ed) did a great job on porting / developing
this code (moreover there is a u-boot command - bind/unbind which allows
binding usb devices)
In this UDCcase the bind/unbind commands are used only to bind the UDC
ethernet (usbether). Other operations
On 29/04/2019 11:52, Marek Vasut wrote:
On 4/29/19 11:09 AM, Jean-Jacques Hiblot wrote:
Marek,
This series fixes the linux boot on the K2 platforms. without it the K2
platforms are broken. Can you give it a look please ?
Sure, can you rebase/repost please ? I don't have it in my mailbox
201 - 300 of 1387 matches
Mail list logo