Factor out the core of test for all bdinfo output into bdinfo_test_all()
and then reuse it to verify that both 'bdinfo' and 'bdinfo -a' print all
the bdinfo output.
Reviewed-by: Simon Glass
Signed-off-by: Marek Vasut
---
Cc: Bin Meng
Cc: Mario Six
Cc: Nikhil M Jain
Cc:
The bdinfo -m should print only the board memory layout.
Test the expected output.
Signed-off-by: Marek Vasut
---
Cc: Bin Meng
Cc: Mario Six
Cc: Nikhil M Jain
Cc: Simon Glass
---
V2: Rename bdinfo_test_mem() to bdinfo_check_mem()
---
test/cmd/bdinfo.c | 26 +++---
1 file
come this was never trapped by CI ?
Reviewed-by: Marek Vasut
r failed
Signed-off-by: Fabio Estevam
Reviewed-by: Marek Vasut
On 10/7/23 23:56, Fabio Estevam wrote:
From: Fabio Estevam
Select the USB options to allow running "ums 0 mmc 0".
Signed-off-by: Fabio Estevam
---
configs/mx28evk_defconfig | 14 ++
1 file changed, 14 insertions(+)
diff --git a/configs/mx28evk_defconfig b/configs/mx28evk_defco
On 10/8/23 22:59, Fabio Estevam wrote:
From: Fabio Estevam
Select the USB options to allow running "ums 0 mmc 0".
Signed-off-by: Fabio Estevam
---
Changes since v1:
- Remove unrelated config options. (Marek)
configs/mx28evk_defconfig | 12
1 file changed, 12 insertions(+)
di
On 10/9/23 15:15, Fabio Estevam wrote:
From: Fabio Estevam
Select the USB options to allow running "ums 0 mmc 0".
Signed-off-by: Fabio Estevam
Reviewed-by: Marek Vasut
Thanks !
Add extension to the 'mmc' command to read out the card registers.
Currently, only the eMMC OCR/CID/CSD/EXTCSD/RCA/DSR register are
supported. A register value can either be displayed or read into
an environment variable.
Signed-off-by: Marek Vasut
---
Cc: Abdellatif El Khlifi
Cc
The patch fixed by this commit renders ST STM32MP15xx EV1 board and
all DHSOM SoM based boards unbootable from SPI NOR. Fix the damage
by updating -u-boot.dtsi to match the stm32mp15-pinctrl.dtsi update.
Fixes: 08002ffd083d ("ARM: dts: stm32mp: alignment with v6.3")
Signed-off-by: M
Add extension to the 'mmc' command to read out the card registers.
Currently, only the eMMC OCR/CID/CSD/EXTCSD/RCA/DSR register are
supported. A register value can either be displayed or read into
an environment variable.
Signed-off-by: Marek Vasut
---
Cc: Abdellatif El Khlifi
Cc
On 10/10/23 08:51, Heinrich Schuchardt wrote:
Am 10. Oktober 2023 01:14:58 MESZ schrieb Marek Vasut :
Add extension to the 'mmc' command to read out the card registers.
Currently, only the eMMC OCR/CID/CSD/EXTCSD/RCA/DSR register are
supported. A register value can either be display
Drop the map_to_sysmem() copy paste error. No functional change.
Signed-off-by: Marek Vasut
---
Cc: Jason Liu
Cc: Michal Simek
Cc: Ovidiu Panait
Cc: Simon Glass
---
test/cmd/fdt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/cmd/fdt.c b/test/cmd/fdt.c
index
Map fdt_blob and new_fdt to sysmem, otherwise $fdtcontroladdr
and bdinfo output do not match and the bdinfo output address
is not a valid address accessible via sandbox memory accessors.
Signed-off-by: Marek Vasut
---
Cc: Jason Liu
Cc: Michal Simek
Cc: Ovidiu Panait
Cc: Simon Glass
---
cmd
Move all the network information printing into print_eth(),
no functional change.
Signed-off-by: Marek Vasut
---
Cc: Jason Liu
Cc: Michal Simek
Cc: Ovidiu Panait
Cc: Simon Glass
---
cmd/bdinfo.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd
Instead of always printing ethaddr of MAC 0, print eth%daddr of the current MAC.
Signed-off-by: Marek Vasut
---
Cc: Jason Liu
Cc: Michal Simek
Cc: Ovidiu Panait
Cc: Simon Glass
---
cmd/bdinfo.c | 20 +---
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/cmd
Add test for command bdinfo .
Signed-off-by: Marek Vasut
---
Cc: Jason Liu
Cc: Michal Simek
Cc: Ovidiu Panait
Cc: Simon Glass
---
include/test/suites.h | 1 +
test/cmd/Makefile | 1 +
test/cmd/bdinfo.c | 179 ++
test/cmd_ut.c | 6
extended address mode and the
page_size is fixed to 256
For future use, manufacturer code should be moved out from framework
code as same as in Linux.
Reviewed-by: Marek Vasut
Signed-off-by: Takahiro Kuwano
Signed-off-by: Hai Pham
Signed-off-by: Cong Dang
Signed-off-by: Marek Vasut
---
Cc
Reviewed-by: Marek Vasut
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut # Fix for RZ/A1
---
Cc: Jagan Teki
Cc: Vignesh R
---
drivers/spi/renesas_rpc_spi.c | 29 +
1 file changed, 21 insertions(+), 8 deletions(-)
diff --git a/drivers/spi/renesas_rpc_spi.c b
From: Hai Pham
Enable support for parsing and auto discovery of parameters for
SPI NOR flashes using Serial Flash Discoverable Parameters (SFDP)
tables as per JESD216 standard.
Reviewed-by: Marek Vasut
Signed-off-by: Hai Pham
Signed-off-by: Cong Dang
Signed-off-by: Marek Vasut # Make SFDP
From: Hai Pham
Support RPC SPI on R-Car Gen4 R8A779F0 S4 and R8A779G0 V4H SoCs.
Reviewed-by: Marek Vasut
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[Marek: Squash S4 and V4H patches, fix brackets around STRTIM2]
---
Cc: Jagan Teki
Cc: Vignesh R
---
drivers/spi/renesas_rpc_spi.c
-byte address mode
support possible.
Reviewed-by: Marek Vasut
Signed-off-by: Cong Dang
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
---
Cc: Jagan Teki
Cc: Vignesh R
---
drivers/spi/renesas_rpc_spi.c | 172 +++---
1 file changed, 78 insertions(+), 94 deletions(-)
.
Reviewed-by: Marek Vasut
You really could've just included the one Linux 6.3 commit hash and
wrote this is synced with Linux 6.3, since all the commits listed above
would be part of the Linux 6.3 commit hash anyway . It would make the
commit message shorter, but this variant is also fine.
instead of -EINVAL if the descriptor is not ready yet.
Reviewed-by: Marek Vasut
Signed-off-by: Valentine Barshak
---
Cc: Joe Hershberger
Cc: Ramon Fried
---
drivers/net/sh_eth.c | 16 +++-
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/drivers/net/sh_eth.c b/drivers/net
In case NET networking is not enabled, it is not possible to compile
the USB ethernet gadget. Protect the symbols in Makefile to avoid build
failure. Such build failure may occur e.g. in case NET and USB ethernet
gadget is enabled in U-Boot proper, but not in SPL.
Signed-off-by: Marek Vasut
On 5/1/23 15:47, Tom Rini wrote:
On Sun, Apr 30, 2023 at 11:20:35PM +0200, Marek Vasut wrote:
In case NET networking is not enabled, it is not possible to compile
the USB ethernet gadget. Protect the symbols in Makefile to avoid build
failure. Such build failure may occur e.g. in case NET and
On 5/1/23 19:23, Tom Rini wrote:
On Mon, May 01, 2023 at 06:53:52PM +0200, Marek Vasut wrote:
On 5/1/23 15:47, Tom Rini wrote:
On Sun, Apr 30, 2023 at 11:20:35PM +0200, Marek Vasut wrote:
In case NET networking is not enabled, it is not possible to compile
the USB ethernet gadget. Protect
On 5/1/23 20:53, Tom Rini wrote:
On Mon, May 01, 2023 at 07:40:57PM +0200, Marek Vasut wrote:
On 5/1/23 19:23, Tom Rini wrote:
On Mon, May 01, 2023 at 06:53:52PM +0200, Marek Vasut wrote:
On 5/1/23 15:47, Tom Rini wrote:
On Sun, Apr 30, 2023 at 11:20:35PM +0200, Marek Vasut wrote:
In case
On 5/2/23 08:51, Eugen Hristev wrote:
regulator_set_enable_if_allowed already handles cases when the
regulator is already enabled, or already disabled, and does not
treat these as errors.
With this change, the driver can work correctly even if the regulator
is already taken or already disabled by
On 5/2/23 12:41, Eugen Hristev wrote:
On 5/2/23 12:18, Marek Vasut wrote:
On 5/2/23 08:51, Eugen Hristev wrote:
regulator_set_enable_if_allowed already handles cases when the
regulator is already enabled, or already disabled, and does not
treat these as errors.
With this change, the driver can
On 5/1/23 23:18, Tom Rini wrote:
On Mon, May 01, 2023 at 10:49:37PM +0200, Marek Vasut wrote:
On 5/1/23 20:53, Tom Rini wrote:
On Mon, May 01, 2023 at 07:40:57PM +0200, Marek Vasut wrote:
On 5/1/23 19:23, Tom Rini wrote:
On Mon, May 01, 2023 at 06:53:52PM +0200, Marek Vasut wrote:
On 5/1/23
On 5/2/23 18:13, Tim Harvey wrote:
On Mon, May 1, 2023 at 11:51 PM Eugen Hristev
wrote:
regulator_set_enable_if_allowed already handles cases when the
regulator is already enabled, or already disabled, and does not
treat these as errors.
With this change, the driver can work correctly even if
On 5/2/23 13:18, Eugen Hristev wrote:
On 5/2/23 13:53, Marek Vasut wrote:
On 5/2/23 12:41, Eugen Hristev wrote:
On 5/2/23 12:18, Marek Vasut wrote:
On 5/2/23 08:51, Eugen Hristev wrote:
regulator_set_enable_if_allowed already handles cases when the
regulator is already enabled, or already
On 5/4/23 11:04, Lukasz Majewski wrote:
On Sun, 30 Apr 2023 23:20:35 +0200
Marek Vasut wrote:
In case NET networking is not enabled, it is not possible to compile
the USB ethernet gadget. Protect the symbols in Makefile to avoid
build failure. Such build failure may occur e.g. in case NET and
On 5/4/23 10:12, Eugen Hristev wrote:
On 5/4/23 00:52, Marek Vasut wrote:
On 5/2/23 18:13, Tim Harvey wrote:
On Mon, May 1, 2023 at 11:51 PM Eugen Hristev
wrote:
regulator_set_enable_if_allowed already handles cases when the
regulator is already enabled, or already disabled, and does not
On 5/4/23 13:51, Eugen Hristev wrote:
On 5/4/23 14:41, Marek Vasut wrote:
On 5/4/23 10:12, Eugen Hristev wrote:
On 5/4/23 00:52, Marek Vasut wrote:
On 5/2/23 18:13, Tim Harvey wrote:
On Mon, May 1, 2023 at 11:51 PM Eugen Hristev
wrote:
regulator_set_enable_if_allowed already handles cases
On 5/4/23 17:51, Tom Rini wrote:
On Sat, Apr 22, 2023 at 03:01:34PM +0200, Marek Vasut wrote:
Add test for command bdinfo .
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Jason Liu
Cc: Michal Simek
Cc: Ovidiu Panait
Cc: Simon Glass
---
include/test/suites.h | 1 +
test
The correct specifier of the section is ".data" and not "data",
use the former to place the variables in ".data" section.
Fixes: 731fd50e27f ("ARM: stm32: Implement board coding on AV96")
Fixes: 92ca0f7446c ("ARM: dts: stm32: Synchronize DDR sett
The get_stm32mp_rom_api_table() function is defined in sys_params.h ,
add the missing header to avoid compiler warning.
Fixes: dbeaca79b79 ("ARM: stm32: Factor out save_boot_params")
Signed-off-by: Marek Vasut
---
Cc: Patrice Chotard
Cc: Patrick Delaunay
Cc: uboot-s
device trees used here in
OF_LIST.
Cc: Marek Vasut
Cc: Patrick Delaunay
Cc: Patrice Chotard
This ^ should be ...
Signed-off-by: Tom Rini
---
... here , followed by one more line of ---
configs/stm32mp15_dhcor_basic_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs
To avoid piling up all the various Kconfig symbols in one place, i.e.
common/spl/Kconfig, move the USB Kconfig symbols into drivers/usb/ .
This commit moves SPL_USB_HOST and updates help text of both USB_HOST
and SPL_USB_HOST .
Signed-off-by: Marek Vasut
---
Cc: Andrew Davis
Cc: Chris Packham
To avoid piling up all the various Kconfig symbols in one place, i.e.
common/spl/Kconfig, move the USB Kconfig symbols into drivers/usb/ .
This commit moves SPL_USB_STORAGE and matching SYS_USB_FAT_BOOT_PARTITION .
Signed-off-by: Marek Vasut
---
Cc: Andrew Davis
Cc: Chris Packham
Cc: Jim Liu
e to match the symbol changes.
Signed-off-by: Marek Vasut
---
Cc: Andrew Davis
Cc: Chris Packham
Cc: Jim Liu
Cc: Lukasz Majewski
Cc: Samuel Holland
Cc: Simon Glass
Cc: Stefan Roese
Cc: Tom Rini
Cc: Weijie Gao
---
common/spl/Kconfig | 63
d
Define SPL_USB_ETH_RNDIS symbol to make it possible to select USB
gadget ethernet support in SPL and U-Boot separately in Kconfig .
Make use of the new symbols in gadget Makefile and move the rndis.o
just below the now merged USB_ETHER symbol in Makefile.
Signed-off-by: Marek Vasut
---
Cc
Add trivial driver for the MXS AUART IP. This is the other UART IP
present in i.MX23 and i.MX28, used to drive the non-DUART ports.
Signed-off-by: Marek Vasut
---
Cc: "NXP i.MX U-Boot Team"
Cc: Andrejs Cainikovs
Cc: Fabio Estevam
Cc: Fedor Ross
Cc: Jim Liu
Cc: Johan Jonker
Cc: M
On 5/6/23 04:03, Simon Glass wrote:
This should be declared in a header file so that type-checking works
correctly.
Add a single declaration to usb.h and remove the others.
Signed-off-by: Simon Glass
Reviewed-by: Marek Vasut
o the lack of this delay
in U-Boot, but better to align it with the driver implementation.
Signed-off-by: Fabio Estevam
Reviewed-by: Marek Vasut
directory, without bringing in
the R-Car support code. The support code contains platform specific
access (TMU_BASE) which is not needed on other Renesas devices such as
RZ/N1.
Signed-off-by: Ralph Siemsen
Reviewed-by: Sean Anderson
Reviewed-by: Marek Vasut
dev_dbg(dev, "unable to find regmap\n");
+ return PTR_ERR(priv->regmap);
+ }
+
+ /* Enable S/W reset */
+ regmap_write(priv->regmap, 0x120, 0x41);
Please introduce a macro for the register name and BIT()s for the
register bits.
With
On 4/24/23 03:15, Ralph Siemsen wrote:
This is taken directly from Linux kernel 6.3-rc7.
You can now use final 6.3 since it was released .
A commit ID of that 6.3 (source commit in Linux) in the commit message
is a good practice.
Signed-off-by: Ralph Siemsen
Reviewed-by: Marek Vasut
On 4/24/23 03:15, Ralph Siemsen wrote:
[...]
diff --git a/arch/arm/mach-rmobile/cpu_info.c b/arch/arm/mach-rmobile/cpu_info.c
index 7e7465a2c8..15be32af31 100644
--- a/arch/arm/mach-rmobile/cpu_info.c
+++ b/arch/arm/mach-rmobile/cpu_info.c
@@ -31,6 +31,7 @@ void enable_caches(void)
#ifdef
On 4/24/23 03:15, Ralph Siemsen wrote:
Add support for Schneider Electronics RZ/N1D and RZ/N1S boards, which
are based on the Reneasas RZ/N1 SoC devices.
The intention is to support both boards using a single defconfig, and to
handle the differences at runtime.
The DT comes from Linux kernel,
return -EINVAL;
Wouldn't this return -EINVAL; leak memory allocated by the calloc() above?
[...]
With that fixed:
Reviewed-by: Marek Vasut
+* RZ/A1 (32-bit)
+- GR-PEACH board
+* RZ/G
+- Beacon-rzg2 board
+- Hihope-rzg2 board
+- ek874 board
+* RZ/N1 (32-bit)
+- Schneider rzn1-snarc board
[...]
With the above fixed:
Reviewed-by: Marek Vasut
On 4/24/23 03:15, Ralph Siemsen wrote:
[...]
diff --git a/drivers/ram/cadence/ddr_ctrl.c b/drivers/ram/cadence/ddr_ctrl.c
new file mode 100644
index 00..35544fbb95
--- /dev/null
+++ b/drivers/ram/cadence/ddr_ctrl.c
[...]
+void cdns_ddr_ctrl_start(void *ddr_ctrl_basex)
+{
+ u32
On 5/8/23 05:00, Venkatesh Yadav Abbarapu wrote:
Port the usb reset patches from linux kernel.
What kind of patches are these ?
What sort of problem are those patches attempting to address ?
Venkatesh Yadav Abbarapu (3):
usb: dwc3: core: improve reset sequence
usb: dwc3: gadget: Don't s
On 5/8/23 19:50, Ralph Siemsen wrote:
On Sun, May 07, 2023 at 06:08:33PM +0200, Marek Vasut wrote:
[...]
+static int spkgimage_parse_config_file(char *filename)
+{
+ FILE *fcfg;
+ char line[256];
+ size_t line_num = 0;
+
+ fcfg = fopen(filename, "r");
+
On 5/8/23 20:23, Ralph Siemsen wrote:
On Sun, May 07, 2023 at 06:06:40PM +0200, Marek Vasut wrote:
On 4/24/23 03:15, Ralph Siemsen wrote:
Add support for Schneider Electronics RZ/N1D and RZ/N1S boards, which
are based on the Reneasas RZ/N1 SoC devices.
The intention is to support both boards
On 5/9/23 16:32, Lukasz Majewski wrote:
This option sets the current limit for 5V source to zero, so all
the PMU outputs are primarily powered from battery source (DCDC_BAT).
This option may be set on systems, where the 5V is NOT supposed to be
in any scenario powering the system - for example o
On 5/9/23 06:11, Venkatesh Yadav Abbarapu wrote:
Currently the parent node(dwc3) ref_clk is updated to the
dwc3->ref_clk, but we need to update the child node(dwc3)
"ref" clock to the dwc3->ref_clk.
For versal SOC, the parent node(usb) ref_clk is updated to dwc3->ref_clk
which is USB3_DUAL_REF, w
On 5/9/23 16:46, Lukasz Majewski wrote:
Hi Marek,
Hi,
On 5/9/23 16:32, Lukasz Majewski wrote:
This option sets the current limit for 5V source to zero, so all
the PMU outputs are primarily powered from battery source
(DCDC_BAT).
This option may be set on systems, where the 5V is NOT suppose
On 5/9/23 15:07, Ralph Siemsen wrote:
On Tue, May 09, 2023 at 04:25:06AM +0200, Marek Vasut wrote:
The usual fail path handling like:
"
if (there is an error)
goto exit;
...
exit:
free(data);
return ret;
"
does not work here ?
Yes, this would handle de-allocation in the fa
On 5/9/23 17:04, Lukasz Majewski wrote:
Hi Marek,
On 5/9/23 16:46, Lukasz Majewski wrote:
Hi Marek,
Hi,
On 5/9/23 16:32, Lukasz Majewski wrote:
This option sets the current limit for 5V source to zero, so all
the PMU outputs are primarily powered from battery source
(DCDC_BAT).
This opti
suspend again
This does not seem to have any adverse impact on power consumption in suspend.
Signed-off-by: Marek Vasut
---
Cc: Ilias Apalodimas
Cc: Marek Vasut
Cc: Patrice Chotard
Cc: Patrick Delaunay
Cc: Sughosh Ganu
Cc: u-boot@lists.denx.de
Cc: uboot-st...@st-md-mailman.stormreply.com
---
arch
On 5/11/23 08:39, Patrice CHOTARD wrote:
Hi,
On 5/11/23 02:22, Marek Vasut wrote:
In case the IWDG is enabled by either U-Boot or Linux, the IWDG can never
be disabled again. That includes low power states, which means that if the
IWDG is enabled, the SoC would reset itself after a while in
suspend again
This does not seem to have any adverse impact on power consumption in suspend.
Signed-off-by: Marek Vasut
---
Cc: Ilias Apalodimas
Cc: Marek Vasut
Cc: Patrice Chotard
Cc: Patrick Delaunay
Cc: Sughosh Ganu
Cc: u-boot@lists.denx.de
Cc: uboot-st...@st-md-mailman.stormreply.com
---
V2
On 5/12/23 15:43, Patrick DELAUNAY wrote:
Hi,
Hi,
+ /* Ping IWDG2 and ACK pretimer IRQ */
+ if (iwdg2_wake) {
+ writel(IWDG_KR_RELOAD_KEY, STM32_IWDG2_BASE + IWDG_KR);
+ writel(IWDG_EWCR_EWIC, STM32_IWDG2_BASE + IWDG_EWCR);
+ }
+ }
writel(
, RTC, LCD
Add basic support for this family, modeled on the existing RZA1.
Signed-off-by: Ralph Siemsen
Reviewed-by: Marek Vasut
Reviewed-by: Marek Vasut
, RTC, LCD
Add basic support for this family, modeled on the existing RZA1.
Signed-off-by: Ralph Siemsen
Reviewed-by: Marek Vasut
Reviewed-by: Marek Vasut
On 5/13/23 03:36, Ralph Siemsen wrote:
Driver for Cadence EDAC DDR controller, as found in the Renesas RZ/N1.
Signed-off-by: Ralph Siemsen
Reviewed-by: Marek Vasut
The following changes since commit e94fbdd2729fdcd570035d43f67adda8e0dfc115:
Merge https://source.denx.de/u-boot/custodians/u-boot-x86 (2023-05-11
08:40:33 -0400)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-sh.git master_rzn1/rzn1
for you to fetc
On 5/15/23 16:53, Filip Zaludek wrote:
Two following performance patches applied together occasionally harm usb
keyboard on RPi3.
'dwc2: use the nonblock argument in submit_int_msg'
commit 9dcab2c4d2cb50ab1864c818b82a72393c160236
'console: usb: kbd: Limit poll frequency to improve performance'
The following changes since commit 5d0b3dde115b0d26d414199678983d01b738ad1b:
Merge branch '2023-05-15-build-system-updates' into next (2023-05-15 15:26:54
-0400)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-sh.git next_gpio
for you to fetch change
d at the end.
"
bind /soc/usb-otg@4900 usb_ether
setenv ethact usb_ether
setenv loadaddr 0xc200
setenv ipaddr 10.0.0.2
setenv serverip 10.0.0.1
setenv netmask 255.255.255.0
tftpboot 0xc200 10.0.0.1:test.file
unbind /soc/usb-otg@4900 usb_ether
"
Signed-off-by: Marek Vasut
--
These functions here are only ever called once since drop of non-DM
networking code. Inline them. No functional change.
Signed-off-by: Marek Vasut
---
Cc: Kevin Hilman
Cc: Lukasz Majewski
Cc: Marek Vasut
Cc: Simon Glass
---
drivers/usb/gadget/ether.c | 48
Move the driver probe function above the driver structure, so it
can be placed alongside other related functions, like upcoming
remove function. No functional change.
Signed-off-by: Marek Vasut
---
Cc: Kevin Hilman
Cc: Lukasz Majewski
Cc: Marek Vasut
Cc: Simon Glass
---
drivers/usb/gadget
ing USB gadget functionality.
This also drops use of usb_gadget_initialize()/usb_gadget_release(),
which are helper functions implemented in the UDC uclass to bind and
unbind UDC drivers to controllers from U-Boot command line. Those have
no place in drivers.
Signed-off-by: Marek Vasut
---
NOTE
On 5/17/23 08:37, Michal Simek wrote:
Hi,
Hi,
On 5/8/23 13:56, Marek Vasut wrote:
On 5/8/23 05:00, Venkatesh Yadav Abbarapu wrote:
Port the usb reset patches from linux kernel.
What kind of patches are these ?
What sort of problem are those patches attempting to address ?
Venkatesh
27;t affect the DHSOM .
Signed-off-by: Marek Vasut
---
NOTE: This is 2023.07 material
NOTE: d1a4b09de64 ("board: st: stpmic1: add function stpmic1_init")
mentions 'keep vdd on during the reset cycle (to avoid issue
when backup battery is absent)', but there is no furt
nges up to da83ada02a2684f743fadaf3b915e92f83d74628:
usb: gadget: Add and use matching SPL USB ethernet gadget Kconfig
symbols (2023-05-17 01:51:39 +0200)
--------
Marek Vasut (4):
usb: Move SPL_USB_HOST Kconfig symbol to drivers/usb/
On 5/19/23 10:41, Lukasz Majewski wrote:
Hello Lukasz,
On 5/9/23 16:32, Lukasz Majewski wrote:
This option sets the current limit for 5V source to zero, so all
the PMU outputs are primarily powered from battery source
(DCDC_BAT).
This option may be set on systems, where the 5V is NOT supposed
On 4/9/21 10:00 AM, Patrick Delaunay wrote:
The gpio reset assert/deassert delay are today harcoded in U-Boot driver
but the value should be read from DT.
STM32 use the generic binding defined in linux:
Documentation/devicetree/bindings/net/ethernet-phy.yaml
reset-gpios:
maxItems: 1
On 4/8/21 9:08 AM, Marcel Ziswiler wrote:
Hi Marek
Hi,
Upon compiling I noticed the following but I do realize that it is not this
patch set which introduced this
issue.
drivers/usb/host/ehci-mx6.c: In function ‘ehci_usb_probe’:
drivers/usb/host/ehci-mx6.c:686:30: warning: cast from pointer
The USB no-op PHY uses "usb-nop-xceiv" compatible string. This driver is
compatible with USB no-op PHY, so add the compatible string.
Signed-off-by: Marek Vasut
Cc: Alexey Brodkin
Cc: Eugeniy Paltsev
Cc: Fabio Estevam
Cc: Jean-Jacques Hiblot
Cc: Murali Karicheri
Cc: Peng Fan
C
The standard compatible string is "usb-nop-xceiv", use it.
Signed-off-by: Marek Vasut
Cc: Alexey Brodkin
Cc: Eugeniy Paltsev
Cc: Fabio Estevam
Cc: Jean-Jacques Hiblot
Cc: Murali Karicheri
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
V2: No change
---
ar
The fsl,usbphy DT property is deprecated, replace it with phys DT
property and specify #phy-cells, so that the generic PHY framework
can parse the PHY bindings without any extra hacking.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
The fsl,usbphy DT property is deprecated, replace it with phys DT
property and specify #phy-cells, so that the generic PHY framework
can parse the PHY bindings without any extra hacking.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
The driver turns on Vbus regulator in probe, but fails to turn it back
off in case of probe failure. Add the missing code.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
V2: Mark struct ehci_mx6_priv_data *priv as "__maybe_u
The standard compatible string is "usb-nop-xceiv", use it.
Note that keystone-k2g.dtsi already uses the aforementioned
compat string, so this patch can only remove the override.
Signed-off-by: Marek Vasut
Cc: Alexey Brodkin
Cc: Eugeniy Paltsev
Cc: Fabio Estevam
Cc: Jean-Jacques
The driver is compatible with iMX8MM, add missing compatible string.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
V2: No change
---
drivers/power/domain/imx8m-power-domain.c | 1 +
1 file changed, 1 insertion(+)
diff --git a
Add power domain nodes to DT.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
V2: No change
---
arch/arm/dts/imx8mm.dtsi | 73
include/dt-bindings/power/imx8mm-power.h | 22 +++
2 files
Add power domain nodes to DT.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
V2: New patch
---
arch/arm/dts/imx8mn.dtsi | 51
include/dt-bindings/power/imx8mn-power.h | 15 +++
2 files
The driver is compatible with iMX8MN, add missing compatible string.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
V2: New patch
---
drivers/power/domain/imx8m-power-domain.c | 1 +
1 file changed, 1 insertion(+)
diff --git a
controller sequence number mapping.
Fixes: 4de51cc25b5 ("usb: ehci-mx6: Drop assignment of sequence number")
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
V2: - Move anatop_off variable inside if defined(CONFIG_MX6) to avoid
Merge USBNC register layout structure into a single one, instead of
having three separate structures and a lot of ifdeffery. No functional
change.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
V2: No change
---
drivers/usb/host/ehci
Add support for using DM clock framework to enable and disable all the
necessary clock for the USB controller.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
V2: No change
---
drivers/usb/host/ehci-mx6.c | 37
("usb: ehci-mx6: Drop assignment of sequence number")
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
V2: Declare ret only if CONFIG_IS_ENABLED(DM_REGULATOR) , to avoid
warning that it is declared, but not used
---
driver
driver, similar to Linux phy-mxs-usb.c .
Fixes: 4de51cc25b5 ("usb: ehci-mx6: Drop assignment of sequence number")
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
V2: - Always call usb_oc_config(), independent of whether CON
ned-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
V2: No change
---
drivers/usb/host/ehci-mx6.c | 19 ---
1 file changed, 8 insertions(+), 11 deletions(-)
diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-m
901 - 1000 of 20929 matches
Mail list logo