Re: [PATCH v4 2/2] arm: rk3399: usb2phy: phy-rockchip-inno-usb2.c: Implement operations for the 480MHz usb2phy clock in rk3399.

2022-12-10 Thread Marek Vasut
On 12/9/22 16:47, Xavier Drudis Ferran wrote: This clock has no users but appears in a phandle list used by ehci-generic.c to bulk enable it. The phandle list comes from linux, where it is needed for suspend/resume to work [1]. My tests give the same results with or without this patch, but

[PATCH v2] serial: Use -EAGAIN in getc and putc

2022-12-10 Thread Pali Rohár
U-Boot serial code already handles -EAGAIN value from getc and putc callbacks. So change drivers code to return -EAGAIN when HW is busy instead of doing its own busy loop and waiting until HW is ready. Signed-off-by: Pali Rohár --- Changes in v2: * Fix serial_lpuart.c code after Tom's review *

[PATCH] serial: Do not write additional \r before \n for dm_serial drivers

2022-12-10 Thread Pali Rohár
serial-uclass.c code already puts \r before \n for all dm_serial drivers. Signed-off-by: Pali Rohár --- drivers/serial/serial_lpuart.c | 3 --- drivers/serial/serial_mpc8xx.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/drivers/serial/serial_lpuart.c b/drivers/serial/serial_lpuart.c

Re: [PATCH] serial: Use -EAGAIN in getc and putc

2022-12-10 Thread Pali Rohár
On Thursday 08 December 2022 10:45:49 Tom Rini wrote: > On Sun, Dec 04, 2022 at 01:36:55PM +0100, Pali Rohár wrote: > > > U-Boot serial code already handles -EAGAIN value from getc and putc > > callbacks. So change drivers code to return -EAGAIN when HW is busy instead > > of doing its own busy

[PATCH] imx6qdl-sabresd: Pass mmc alias

2022-12-10 Thread Fabio Estevam
From: Fabio Estevam Originally, the mmc aliases node was present in imx6qdl-sabresd.dtsi. After the sync with Linux in commit d0399a46e7cd ("imx6dl/imx6qdl: synchronise device trees with linux"), the aliases node is gone as the upstream version does not have it. This causes a regression in

jffs2 for loading kernel image from spi-flash

2022-12-10 Thread kwangdo yi
Hi u-boot professionals, Sorry for this unsolicited email. I am working on bringing up the kernel.jffs2 stored in one of the spi-nor flash mtd partitions. But the jffs2 cmds (fsload, fsinfo, fsls) to load it to the boot address seem to work only with memory-mapped nor flash. The get_fl_mem_nor()

Re: [PATCH] ARM: imx: Reinstate decode ECSPI env location from i.MX8M ROMAPI tables

2022-12-10 Thread Fabio Estevam
On 09/12/2022 22:29, Marek Vasut wrote: Decode ECSPI boot device in env_get_location() from i.MX8M ROMAPI tables. This is necessary to correctly identify env is in SPI NOR when the system boots from SPI NOR attached to ECSPI. This reinstates change from commit: e26d0152d61 ("ARM: imx: Decode

Re: [PATCH 2/2] ARM: imx: Remove PMIC reset configuration from board files

2022-12-10 Thread Fabio Estevam
On 09/12/2022 16:35, Marek Vasut wrote: The PCA9450 reset configuration can now be performed by the PCA9450 PMIC driver itself, remove the hard-coded variant from board code and let the PMIC driver perform this task using one-liner: ``` $ sed -i '/set WDOG_B_CFG to cold reset/,+2 d' $(git

Re: [PATCH 1/2] pmic: pca9450: Make warm reset on WDOG_B assertion

2022-12-10 Thread Fabio Estevam
On 09/12/2022 16:35, Marek Vasut wrote: The default configuration of the PMIC behavior makes the PMIC power cycle most regulators on WDOG_B assertion. This power cycling causes the memory contents of OCRAM to be lost. Some systems neeeds some memory that survives reset and reboot, therefore this

[PATCH] patch V2: SPI: NOR: ZynqMp: enabling gigadevice part #

2022-12-10 Thread Victor Lim
Enabling Gigadevice in the config file Signed-off-by: Victor Lim --- configs/xilinx_zynqmp_mini_qspi_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/xilinx_zynqmp_mini_qspi_defconfig b/configs/xilinx_zynqmp_mini_qspi_defconfig index

[PATCH] patch V2: SPI: NOR: Enable GIGADEVICE in the config file

2022-12-10 Thread Victor Lim
Working with Xilinx team to add Gigadevice part # to uboot Signed-off-by: Victor Lim --- configs/zynq_cse_qspi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/zynq_cse_qspi_defconfig b/configs/zynq_cse_qspi_defconfig index 60f0d7cac4..cd245906ab 100644 ---

Re: [PATCH] net: zynq_gem: Add support for new compatible str with xlnx prefix

2022-12-10 Thread Krzysztof Kozlowski
On 09/12/2022 16:19, Michal Simek wrote: > cdns prefix was deprecated and replaced by xlnx one. > > Signed-off-by: Michal Simek > --- > > Link: > https://lore.kernel.org/r/20220726070802.26579-1-krzysztof.kozlow...@linaro.org Thanks. Acked-by: Krzysztof Kozlowski Best regards, Krzysztof