Re: [PATCH v3 5/8] qemu: arm: Remove platform specific function to get RNG device

2022-03-08 Thread Ilias Apalodimas
On Wed, 9 Mar 2022 at 04:35, Simon Glass wrote: > > On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > > > The Qemu platform has a function defined to get the random number > > generator(RNG) device. However, the RNG device can be obtained simply > > by searching for a device belonging to the R

Re: drivers: clk: stm32h7: Endless loop of dead in driver probe function

2022-03-08 Thread Patrice CHOTARD
Hi johannes On 3/9/22 08:24, Johannes (krjdev) Krottmayer wrote: > Hi Patrick! > > Sorry, for my late response. :( > > On 08.03.22 10:00, Patrick DELAUNAY wrote:> Yes, the current clock > driver for STM32 MCU is not perfect,> > as the all U-Boot and the > Linux support on STM32 MCU.> >> >> For i

Re: [PATCH v3 6/8] cmd: rng: Add support for selecting RNG device

2022-03-08 Thread Ilias Apalodimas
On Fri, Mar 04, 2022 at 07:04:27PM +0530, Sughosh Ganu wrote: > The 'rng' u-boot command is used for printing a select number of > random bytes on the console. Currently, the RNG device from which the > random bytes are read is fixed. However, a platform can have multiple > RNG devices, one example

[PATCH v2] armv8: layerscape: fix the function mismatch issue

2022-03-08 Thread andy . tang
From: Yuantian Tang Signed-off-by: Yuantian Tang --- v2: update copyright year arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S b/arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S index

Re: [PATCH v3 7/8] doc: rng: Add documentation for the rng command

2022-03-08 Thread Ilias Apalodimas
On Fri, Mar 04, 2022 at 07:04:28PM +0530, Sughosh Ganu wrote: > Add a usage document for the 'rng' u-boot command. > > Signed-off-by: Sughosh Ganu > --- > > Changes since V2: None > > doc/usage/index.rst | 1 + > doc/usage/rng.rst | 25 + > 2 files changed, 26 insert

Re: [PATCH v3 2/8] tpm: Fix the return type of tpm_startup

2022-03-08 Thread Ilias Apalodimas
On Fri, Mar 04, 2022 at 07:04:23PM +0530, Sughosh Ganu wrote: > The tpm_startup function returns negative values for error > conditions. Fix the return type of the function to a signed int > instead of a u32. > > Signed-off-by: Sughosh Ganu > Reviewed-by: Simon Glass > --- > > Changes since V2:

Re: [PATCH v3 1/8] tpm: rng: Change tpm_get_random to return an int

2022-03-08 Thread Ilias Apalodimas
On Fri, Mar 04, 2022 at 07:04:22PM +0530, Sughosh Ganu wrote: > The tpm random number generation functionality will be moved to the > driver model. With that, the tpm_get_random function will call the > common driver model api instead of separate functions for tpmv1 and > tpmv2. Return an int inste

Re: drivers: clk: stm32h7: Endless loop of dead in driver probe function

2022-03-08 Thread Johannes (krjdev) Krottmayer
Hi Patrick! Sorry, for my late response. :( On 08.03.22 10:00, Patrick DELAUNAY wrote:> Yes, the current clock driver for STM32 MCU is not perfect,> > as the all U-Boot and the Linux support on STM32 MCU.> > > For information, in the other driver based on a other version of RCC for > STM32 MPU

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Mark Kettenis
> Date: Tue, 8 Mar 2022 22:00:35 -0500 > From: Tom Rini > > On Tue, Mar 08, 2022 at 07:32:59PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 8 Mar 2022 at 17:13, Tom Rini wrote: > > > > > > On Tue, Mar 08, 2022 at 02:20:15PM -0700, Simon Glass wrote: > > > > Hi Soeren, > > > > > > > >

[PATCH] armv8: layerscape: fix the function mismatch issue

2022-03-08 Thread andy . tang
From: Yuantian Tang Signed-off-by: Yuantian Tang --- arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S b/arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S index d8803738f1..4b5e2e1632 100644

Re: [PATCH] riscv: Fix build against binutils 2.38

2022-03-08 Thread Leo Liang
Hi Alex, On Thu, Mar 03, 2022 at 11:06:18AM +, Leo Liang wrote: > Hi Alex, > On Tue, Mar 01, 2022 at 03:21:56AM +, Leo Liang wrote: > > Hi Alex, > > On Mon, Feb 21, 2022 at 05:42:41PM +0100, Alexandre Ghiti wrote: > > > On Sat, Feb 19, 2022 at 9:52 AM Leo Liang wrote: > > > > > > > > Hi Al

Re: [PATCH v2 1/1] wdt: nuvoton: Add support for Nuvoton

2022-03-08 Thread Stefan Roese
On 3/9/22 07:13, jimliu2 wrote: Add watchdog controller driver for NPCM7xx/npcm8xx Signed-off-by: jimliu2 So what did you change in v2? Please add a changelog next time, as described here: http://www.denx.de/wiki/view/U-Boot/Patches#Sending_updated_patch_versions Also there is no need to se

Re: [PATCH v3 8/8] test: rng: Add a UT testcase for the rng command

2022-03-08 Thread Sughosh Ganu
hi Simon, On Wed, 9 Mar 2022 at 08:06, Simon Glass wrote: > > Hi Sughosh, > > On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > > > The 'rng' command dumps a number of random bytes on the console. Add a > > set of tests for the 'rng' command. The test function performs basic > > sanity testin

[PATCH v2 1/1] wdt: nuvoton: Add support for Nuvoton

2022-03-08 Thread jimliu2
Add watchdog controller driver for NPCM7xx/npcm8xx Signed-off-by: jimliu2 --- drivers/watchdog/Kconfig| 6 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/npcm_wdt.c | 119 3 files changed, 126 insertions(+) create mode 100644 drivers/watchdog

[PATCH v2 0/1]wdt: nuvoton: Add support for Nuvoton

2022-03-08 Thread jimliu2
Add watchdog controller driver for NPCM7xx/npcm8xx jimliu2 (1): wdt: nuvoton: Add support for Nuvoton drivers/watchdog/Kconfig| 6 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/npcm_wdt.c | 119 3 files changed, 126 insertions(+) create mo

Re: [PATCH v3 6/8] cmd: rng: Add support for selecting RNG device

2022-03-08 Thread Sughosh Ganu
hi Simon, On Wed, 9 Mar 2022 at 08:05, Simon Glass wrote: > > Hi Sughosh, > > On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > > > The 'rng' u-boot command is used for printing a select number of > > random bytes on the console. Currently, the RNG device from which the > > random bytes are r

Re: [PATCH v3 4/8] tpm: Add the RNG child device

2022-03-08 Thread Sughosh Ganu
hi Simon, On Wed, 9 Mar 2022 at 08:05, Simon Glass wrote: > > Hi, > > On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > > > The TPM device comes with the random number generator(RNG) > > functionality which is built into the TPM device. Add logic to add the > > RNG child device in the TPM ucl

Re: [PATCH v3 3/8] tpm: rng: Add driver model interface for TPM RNG device

2022-03-08 Thread Sughosh Ganu
hi Simon, Thanks for looking into this. I now have a fair idea of the structure that you are looking for this interface. On Wed, 9 Mar 2022 at 08:05, Simon Glass wrote: > > Hi Sugosh, > > On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > > > The TPM device has a builtin random number generat

Re: [PATCH v2 3/3] tools: kwboot: Allow to mix positional arguments with option -b

2022-03-08 Thread Stefan Roese
On 3/8/22 20:22, Pali Rohár wrote: On Monday 07 March 2022 21:23:29 Tony Dinh wrote: Hi Pali, I've tested this patch series and it's all working fine! Perfect! Stefan, I think that this change should go into 2022.04 as it is fixing regression introduced during 2022.04 development. I agree.

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread AKASHI Takahiro
On Tue, Mar 08, 2022 at 08:10:01PM -0700, Simon Glass wrote: > Hi Takahiro, > > On Tue, 8 Mar 2022 at 19:48, AKASHI Takahiro > wrote: > > > > Hi Simon, > > > > On Tue, Mar 08, 2022 at 07:34:15PM -0700, Simon Glass wrote: > > > Hi Takahiro, > > > > > > On Tue, 8 Mar 2022 at 19:10, AKASHI Takahiro

[PATCH] ARM: dts: imx: Add flexspi node to i.MX8MP

2022-03-08 Thread Marek Vasut
Add flexspi DT node matching Linux kernel as of commit d7cd74466651e ("arm64: dts: imx8mp: Reorder flexspi clock-names entry") Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic --- arch/arm/dts/imx8mp.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff

[PATCH] spi: nxp_fspi: Add i.MX8MP compatible string

2022-03-08 Thread Marek Vasut
The i.MX8M Mini and i.MX8M Plus flexspi IPs are compatible with one another, however the linux kernel DT uses separate compatible string for each SoC. Add the missing i.MX8MP compatible into this driver. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic --- drivers/s

[PATCH] mtd: spi-nor-ids: Add Winbond W25Q128JW ID

2022-03-08 Thread Marek Vasut
Add ID for Winbond W25Q128JW device. This is a 128 Mbit QSPI NOR. Tested on W25Q128JWPIM part. Signed-off-by: Marek Vasut Cc: Horatiu Vultur Cc: Jagan Teki Cc: Simon Goldschmidt Cc: Stefan Roese Cc: Vignesh R --- drivers/mtd/spi/spi-nor-ids.c | 5 + 1 file changed, 5 insertions(+) diff

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Simon Glass
Hi Tom, On Tue, 8 Mar 2022 at 20:10, Simon Glass wrote: > > Hi Tom, > > On Tue, 8 Mar 2022 at 20:00, Tom Rini wrote: > > > > On Tue, Mar 08, 2022 at 07:32:59PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 8 Mar 2022 at 17:13, Tom Rini wrote: > > > > > > > > On Tue, Mar 08, 2022

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Simon Glass
Hi Tom, On Tue, 8 Mar 2022 at 20:00, Tom Rini wrote: > > On Tue, Mar 08, 2022 at 07:32:59PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 8 Mar 2022 at 17:13, Tom Rini wrote: > > > > > > On Tue, Mar 08, 2022 at 02:20:15PM -0700, Simon Glass wrote: > > > > Hi Soeren, > > > > > > > > On T

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Simon Glass
Hi Takahiro, On Tue, 8 Mar 2022 at 19:48, AKASHI Takahiro wrote: > > Hi Simon, > > On Tue, Mar 08, 2022 at 07:34:15PM -0700, Simon Glass wrote: > > Hi Takahiro, > > > > On Tue, 8 Mar 2022 at 19:10, AKASHI Takahiro > > wrote: > > > > > > Heinrich, Simon, > > > > > > On Tue, Mar 08, 2022 at 05:49

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Tom Rini
On Tue, Mar 08, 2022 at 07:32:59PM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 8 Mar 2022 at 17:13, Tom Rini wrote: > > > > On Tue, Mar 08, 2022 at 02:20:15PM -0700, Simon Glass wrote: > > > Hi Soeren, > > > > > > On Tue, 8 Mar 2022 at 12:15, Soeren Moch wrote: > > > > > > > > > > > > > > >

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread AKASHI Takahiro
Hi Simon, On Tue, Mar 08, 2022 at 07:34:15PM -0700, Simon Glass wrote: > Hi Takahiro, > > On Tue, 8 Mar 2022 at 19:10, AKASHI Takahiro > wrote: > > > > Heinrich, Simon, > > > > On Tue, Mar 08, 2022 at 05:49:13PM +0100, Heinrich Schuchardt wrote: > > > On 3/8/22 12:36, AKASHI Takahiro wrote: > >

Re: [RFC PATCH v3 1/2] efi_loader: introduce "bootefi bootindex" command

2022-03-08 Thread Takahiro Akashi
On Wed, Mar 09, 2022 at 09:47:25AM +0900, Masahisa Kojima wrote: > On Tue, 8 Mar 2022 at 23:17, Takahiro Akashi > wrote: > > > > On Tue, Mar 08, 2022 at 11:07:44PM +0900, Masahisa Kojima wrote: > > > This commit introduces the new command "bootefi bootindex". > > > With this command, user can sel

Re: [PATCH v3 8/8] test: rng: Add a UT testcase for the rng command

2022-03-08 Thread Simon Glass
Hi Sughosh, On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > The 'rng' command dumps a number of random bytes on the console. Add a > set of tests for the 'rng' command. The test function performs basic > sanity testing of the command. > > Since a unit test is being added for the command, ena

Re: [PATCH v3 7/8] doc: rng: Add documentation for the rng command

2022-03-08 Thread Simon Glass
On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > Add a usage document for the 'rng' u-boot command. > > Signed-off-by: Sughosh Ganu > --- > > Changes since V2: None > > doc/usage/index.rst | 1 + > doc/usage/rng.rst | 25 + > 2 files changed, 26 insertions(+) > cr

Re: [PATCH v3 6/8] cmd: rng: Add support for selecting RNG device

2022-03-08 Thread Simon Glass
Hi Sughosh, On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > The 'rng' u-boot command is used for printing a select number of > random bytes on the console. Currently, the RNG device from which the > random bytes are read is fixed. However, a platform can have multiple > RNG devices, one exam

Re: [PATCH v3 5/8] qemu: arm: Remove platform specific function to get RNG device

2022-03-08 Thread Simon Glass
On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > The Qemu platform has a function defined to get the random number > generator(RNG) device. However, the RNG device can be obtained simply > by searching for a device belonging to the RNG uclass. Remove the > superfluous platform function defined

Re: [PATCH v3 4/8] tpm: Add the RNG child device

2022-03-08 Thread Simon Glass
Hi, On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > The TPM device comes with the random number generator(RNG) > functionality which is built into the TPM device. Add logic to add the > RNG child device in the TPM uclass post probe callback. > > The RNG device can then be used to pass a set

Re: [PATCH v3 3/8] tpm: rng: Add driver model interface for TPM RNG device

2022-03-08 Thread Simon Glass
Hi Sugosh, On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > The TPM device has a builtin random number generator(RNG) > functionality. Expose the RNG functions of the TPM device to the > driver model so that they can be used by the EFI_RNG_PROTOCOL if the > protocol is installed. > > Also cha

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Simon Glass
Hi Takahiro, On Tue, 8 Mar 2022 at 19:10, AKASHI Takahiro wrote: > > Heinrich, Simon, > > On Tue, Mar 08, 2022 at 05:49:13PM +0100, Heinrich Schuchardt wrote: > > On 3/8/22 12:36, AKASHI Takahiro wrote: > > > With this patch set[1] applied, UEFI subsystem maintains a list of its > > > disk object

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Simon Glass
Hi Tom, On Tue, 8 Mar 2022 at 17:13, Tom Rini wrote: > > On Tue, Mar 08, 2022 at 02:20:15PM -0700, Simon Glass wrote: > > Hi Soeren, > > > > On Tue, 8 Mar 2022 at 12:15, Soeren Moch wrote: > > > > > > > > > > > > On 08.03.22 17:56, Simon Glass wrote: > > > > Hi, > > > > > > > > On Tue, 8 Mar 20

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread AKASHI Takahiro
Heinrich, Simon, On Tue, Mar 08, 2022 at 05:49:13PM +0100, Heinrich Schuchardt wrote: > On 3/8/22 12:36, AKASHI Takahiro wrote: > > With this patch set[1] applied, UEFI subsystem maintains a list of its > > disk objects dynamically at runtime based on block device's probing. > > (See "issues" belo

RE: [PATCH] board: gateworks venice: add support for GPY111 phy

2022-03-08 Thread Peng Fan
> Subject: [PATCH] board: gateworks venice: add support for GPY111 phy > > The TI DP83867 phy has been replaced with the MaxLinear GPY111 phy due > to part availability. > > Add support for it by adding LED config and dt-prop based internal delay > config > tx-delay/rx-delay per PHY ID. > > Sig

RE: [PATCH] board: venice: add spl_board_loader_name

2022-03-08 Thread Peng Fan
> Subject: [PATCH] board: venice: add spl_board_loader_name > > Implement spl_board_loader_name to provide more meaningful device > names vs MMC1 and MMC2. > > Signed-off-by: Tim Harvey Nice. Reviewed-by: Peng Fan > --- > board/gateworks/venice/spl.c | 14 ++ > 1 file changed, 14

RE: [PATCH] imx8m{m,n}-venice-gw7902: add GSC ADC rail for VDD_5P0

2022-03-08 Thread Peng Fan
> Subject: [PATCH] imx8m{m,n}-venice-gw7902: add GSC ADC rail for VDD_5P0 > > The GW7902-C revision adds an ADC for the VDD_5P0 voltage rail. > Add register definitions for it. > > Signed-off-by: Tim Harvey Acked-by: Peng Fan > --- > arch/arm/dts/imx8mm-venice-gw7902.dts | 7 +++ > arch/a

RE: [PATCH] arm: dts: imx8m*-venice: add gpio hog support

2022-03-08 Thread Peng Fan
> Subject: [PATCH] arm: dts: imx8m*-venice: add gpio hog support > > Add gpio hog support for board-specific gpio lines: > - put hogs in u-boot.dtsi so as to keep the regular dts files > in sync with the kernel. The hogs will not be put in the kernel > as that makes them un-usable by userspace

Re: [RFC PATCH v3 1/2] efi_loader: introduce "bootefi bootindex" command

2022-03-08 Thread Masahisa Kojima
On Tue, 8 Mar 2022 at 23:17, Takahiro Akashi wrote: > > On Tue, Mar 08, 2022 at 11:07:44PM +0900, Masahisa Kojima wrote: > > This commit introduces the new command "bootefi bootindex". > > With this command, user can select which "Boot" option > > to load and execute. > > You can do the same t

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Tom Rini
On Tue, Mar 08, 2022 at 02:20:15PM -0700, Simon Glass wrote: > Hi Soeren, > > On Tue, 8 Mar 2022 at 12:15, Soeren Moch wrote: > > > > > > > > On 08.03.22 17:56, Simon Glass wrote: > > > Hi, > > > > > > On Tue, 8 Mar 2022 at 09:49, Heinrich Schuchardt > > > wrote: > > >> > > >> On 3/8/22 12:36,

Re: [PATCH] usb: dwc3: Add support for usb3-phy PHY configuration

2022-03-08 Thread Marek Vasut
On 3/8/22 16:34, Michal Simek wrote: On 3/8/22 16:32, Marek Vasut wrote: On 3/8/22 14:46, Michal Simek wrote: On 3/8/22 14:39, Marek Vasut wrote: On 3/8/22 14:21, Michal Simek wrote: On 3/4/22 18:33, Marek Vasut wrote: On 3/4/22 05:42, Marek Vasut wrote: On 3/3/22 09:40, Bin Meng wrot

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Simon Glass
Hi Soeren, On Tue, 8 Mar 2022 at 12:15, Soeren Moch wrote: > > > > On 08.03.22 17:56, Simon Glass wrote: > > Hi, > > > > On Tue, 8 Mar 2022 at 09:49, Heinrich Schuchardt wrote: > >> > >> On 3/8/22 12:36, AKASHI Takahiro wrote: > >>> With this patch set[1] applied, UEFI subsystem maintains a list

Re: [PATCH v2 3/3] tools: kwboot: Allow to mix positional arguments with option -b

2022-03-08 Thread Pali Rohár
On Monday 07 March 2022 21:23:29 Tony Dinh wrote: > Hi Pali, > > I've tested this patch series and it's all working fine! Perfect! Stefan, I think that this change should go into 2022.04 as it is fixing regression introduced during 2022.04 development. Could you do more checks/testing of kwboot

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Soeren Moch
On 08.03.22 17:56, Simon Glass wrote: Hi, On Tue, 8 Mar 2022 at 09:49, Heinrich Schuchardt wrote: On 3/8/22 12:36, AKASHI Takahiro wrote: With this patch set[1] applied, UEFI subsystem maintains a list of its disk objects dynamically at runtime based on block device's probing. (See "issue

[PATCH] imx8m{m,n}_venice_defconfig: add DT overlay support

2022-03-08 Thread Tim Harvey
enable CONFIG_OF_LIBFDT_OVERLAY to support applying dt overlays in U-Boot. Signed-off-by: Tim Harvey --- configs/imx8mm_venice_defconfig | 1 + configs/imx8mn_venice_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/imx8mm_venice_defconfig b/configs/imx8mm_venice_defconfig

[PATCH] board: gateworks venice: add support for GPY111 phy

2022-03-08 Thread Tim Harvey
The TI DP83867 phy has been replaced with the MaxLinear GPY111 phy due to part availability. Add support for it by adding LED config and dt-prop based internal delay config tx-delay/rx-delay per PHY ID. Signed-off-by: Tim Harvey --- board/gateworks/venice/venice.c | 16 1 file

[PATCH] board: venice: add spl_board_loader_name

2022-03-08 Thread Tim Harvey
Implement spl_board_loader_name to provide more meaningful device names vs MMC1 and MMC2. Signed-off-by: Tim Harvey --- board/gateworks/venice/spl.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/board/gateworks/venice/spl.c b/board/gateworks/venice/spl.c index 8b301570577c.

[PATCH] imx8m{m,n}-venice-gw7902: add GSC ADC rail for VDD_5P0

2022-03-08 Thread Tim Harvey
The GW7902-C revision adds an ADC for the VDD_5P0 voltage rail. Add register definitions for it. Signed-off-by: Tim Harvey --- arch/arm/dts/imx8mm-venice-gw7902.dts | 7 +++ arch/arm/dts/imx8mn-venice-gw7902.dts | 7 +++ 2 files changed, 14 insertions(+) diff --git a/arch/arm/dts/imx8mm

[PATCH] arm: dts: imx8m*-venice: add gpio hog support

2022-03-08 Thread Tim Harvey
Add gpio hog support for board-specific gpio lines: - put hogs in u-boot.dtsi so as to keep the regular dts files in sync with the kernel. The hogs will not be put in the kernel as that makes them un-usable by userspace as well as re-initializes them to dt defaults overriding changes which ma

[PATCH] Nokia RX-51: Update documentation about QEMU

2022-03-08 Thread Pali Rohár
Add section how to run U-Boot in n900 qemu machine. Signed-off-by: Pali Rohár --- doc/board/nokia/rx51.rst | 47 1 file changed, 47 insertions(+) diff --git a/doc/board/nokia/rx51.rst b/doc/board/nokia/rx51.rst index 941f78e777ee..b297e056c4e7 100644 ---

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Simon Glass
Hi Heinrich, On Tue, 8 Mar 2022 at 10:26, Heinrich Schuchardt wrote: > > On 3/8/22 17:56, Simon Glass wrote: > > Hi, > > > > On Tue, 8 Mar 2022 at 09:49, Heinrich Schuchardt wrote: > >> > >> On 3/8/22 12:36, AKASHI Takahiro wrote: > >>> With this patch set[1] applied, UEFI subsystem maintains a

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Heinrich Schuchardt
On 3/8/22 17:56, Simon Glass wrote: Hi, On Tue, 8 Mar 2022 at 09:49, Heinrich Schuchardt wrote: On 3/8/22 12:36, AKASHI Takahiro wrote: With this patch set[1] applied, UEFI subsystem maintains a list of its disk objects dynamically at runtime based on block device's probing. (See "issues" be

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Simon Glass
Hi, On Tue, 8 Mar 2022 at 09:49, Heinrich Schuchardt wrote: > > On 3/8/22 12:36, AKASHI Takahiro wrote: > > With this patch set[1] applied, UEFI subsystem maintains a list of its > > disk objects dynamically at runtime based on block device's probing. > > (See "issues" below.) > > > > [1]https://

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Heinrich Schuchardt
On 3/8/22 12:36, AKASHI Takahiro wrote: With this patch set[1] applied, UEFI subsystem maintains a list of its disk objects dynamically at runtime based on block device's probing. (See "issues" below.) [1]https://github.com/t-akashi/u-boot/tree/efi/dm_disk This series together with Simon's ser

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Simon Glass
Hi, On Tue, 8 Mar 2022 at 06:29, Heinrich Schuchardt wrote: > > On 3/8/22 14:04, AKASHI Takahiro wrote: > > On Tue, Mar 08, 2022 at 01:59:08PM +0100, Heinrich Schuchardt wrote: > >> On 3/8/22 12:36, AKASHI Takahiro wrote: > >>> With this patch set[1] applied, UEFI subsystem maintains a list of it

Re: Porting U-Boot's UEFI Payload to coreboot

2022-03-08 Thread Simon Glass
Hi, On Tue, 8 Mar 2022 at 06:57, Heinrich Schuchardt wrote: > > On 3/8/22 13:59, Ahamed Husni wrote: > > Hi everyone, > > > > I am trying to work on a project to port the U-Boot UEFI code to coreboot > > as a payload. > > I haven't worked with UEFI before except running a basic EFI payload in a >

Re: [PATCH v2 00/13] event: Provide support for events to connect subsystems

2022-03-08 Thread Simon Glass
Hi Tom, On Tue, 8 Mar 2022 at 06:26, Tom Rini wrote: > > On Tue, Mar 08, 2022 at 02:11:02PM +0100, Heinrich Schuchardt wrote: > > On 3/4/22 16:42, Simon Glass wrote: > > > It is a common need in U-Boot to have one subsystem notify another > > > when something happens. An example is reading a part

Re: [PATCH v2 05/13] event: Add basic support for events

2022-03-08 Thread Simon Glass
Hi Takahiro, On Sun, 6 Mar 2022 at 21:26, AKASHI Takahiro wrote: > > Hi Simon, > > On Fri, Mar 04, 2022 at 08:43:00AM -0700, Simon Glass wrote: > > Add a way to create and dispatch events without needing to allocate > > memory. Also add a way to 'spy' on events, thus allowing 'hooks' to be > > cr

Re: [PATCH] usb: dwc3: Add support for usb3-phy PHY configuration

2022-03-08 Thread Michal Simek
On 3/8/22 16:32, Marek Vasut wrote: On 3/8/22 14:46, Michal Simek wrote: On 3/8/22 14:39, Marek Vasut wrote: On 3/8/22 14:21, Michal Simek wrote: On 3/4/22 18:33, Marek Vasut wrote: On 3/4/22 05:42, Marek Vasut wrote: On 3/3/22 09:40, Bin Meng wrote: On Wed, Feb 23, 2022 at 10:56 PM M

Re: [PATCH] usb: dwc3: Add support for usb3-phy PHY configuration

2022-03-08 Thread Marek Vasut
On 3/8/22 14:46, Michal Simek wrote: On 3/8/22 14:39, Marek Vasut wrote: On 3/8/22 14:21, Michal Simek wrote: On 3/4/22 18:33, Marek Vasut wrote: On 3/4/22 05:42, Marek Vasut wrote: On 3/3/22 09:40, Bin Meng wrote: On Wed, Feb 23, 2022 at 10:56 PM Michal Simek wrote: When usb3-phy lab

Re: [RFC PATCH v3 1/2] efi_loader: introduce "bootefi bootindex" command

2022-03-08 Thread Takahiro Akashi
On Tue, Mar 08, 2022 at 11:07:44PM +0900, Masahisa Kojima wrote: > This commit introduces the new command "bootefi bootindex". > With this command, user can select which "Boot" option > to load and execute. You can do the same thing with: $ efidebug boot next 1 (for BOOT0001) $ bootefi bootmgr

[RFC PATCH v3 2/2] bootmenu: add UEFI and disto_boot entries

2022-03-08 Thread Masahisa Kojima
This commit adds the UEFI related menu entries and distro_boot entries into the bootmenu. For UEFI, user can select which UEFI "Boot" option to execute, call UEFI bootmgr and UEFI boot variable maintenance menu. UEFI bootmgr entry is required to correctly handle "BootNext" variable. For distr

[RFC PATCH v3 1/2] efi_loader: introduce "bootefi bootindex" command

2022-03-08 Thread Masahisa Kojima
This commit introduces the new command "bootefi bootindex". With this command, user can select which "Boot" option to load and execute. Signed-off-by: Masahisa Kojima --- Changes in v3: - newly created cmd/bootefi.c| 42 include/efi_loade

[RFC PATCH v3 0/2] enable menu-driven boot device selection

2022-03-08 Thread Masahisa Kojima
This patch series adds the menu-driven boot device selection, by extending the existing "bootmenu" to include UEFI and distro_boot related entries. The menu example shown with this patch series is as follows. *** U-Boot Boot Menu *** Boot 1. kernel (bootmenu_0) Boot 2. kernel (bootm

Re: Porting U-Boot's UEFI Payload to coreboot

2022-03-08 Thread Heinrich Schuchardt
On 3/8/22 13:59, Ahamed Husni wrote: Hi everyone, I am trying to work on a project to port the U-Boot UEFI code to coreboot as a payload. I haven't worked with UEFI before except running a basic EFI payload in a coreboot/u-boot environment. (Serial output: https://gist.github.com/drac98/6166d29f

Re: [PATCH v2 2/2] usb: dwc3: Add support for usb3-phy PHY configuration

2022-03-08 Thread Michal Simek
On 3/8/22 14:39, Marek Vasut wrote: On 3/8/22 14:19, Michal Simek wrote: When usb3-phy label is found, PHY driver is called and serdes line is initialized. This is preparation for serdes/psgtr driver to configure GT lines based on description in DT. Signed-off-by: Michal Simek --- Changes

Re: [PATCH] usb: dwc3: Add support for usb3-phy PHY configuration

2022-03-08 Thread Michal Simek
On 3/8/22 14:39, Marek Vasut wrote: On 3/8/22 14:21, Michal Simek wrote: On 3/4/22 18:33, Marek Vasut wrote: On 3/4/22 05:42, Marek Vasut wrote: On 3/3/22 09:40, Bin Meng wrote: On Wed, Feb 23, 2022 at 10:56 PM Michal Simek wrote: When usb3-phy label is found, PHY driver is called and

Re: [PATCH v2] tools: mkimage: Call verify_header after writing image to disk

2022-03-08 Thread Tom Rini
On Fri, Jan 14, 2022 at 06:34:43PM +0100, Pali Rohár wrote: > If image backend provides verify_header callback then call it after writing > image to disk. This ensures that written image is correct. > > Signed-off-by: Pali Rohár > Reviewed-by: Stefan Roese > Reviewed-by: Simon Glass > --- > t

Re: [PATCH v2 2/2] usb: dwc3: Add support for usb3-phy PHY configuration

2022-03-08 Thread Marek Vasut
On 3/8/22 14:19, Michal Simek wrote: When usb3-phy label is found, PHY driver is called and serdes line is initialized. This is preparation for serdes/psgtr driver to configure GT lines based on description in DT. Signed-off-by: Michal Simek --- Changes in v2: - Add missing header I think 1/

Re: [PATCH] usb: dwc3: Add support for usb3-phy PHY configuration

2022-03-08 Thread Marek Vasut
On 3/8/22 14:21, Michal Simek wrote: On 3/4/22 18:33, Marek Vasut wrote: On 3/4/22 05:42, Marek Vasut wrote: On 3/3/22 09:40, Bin Meng wrote: On Wed, Feb 23, 2022 at 10:56 PM Michal Simek wrote: When usb3-phy label is found, PHY driver is called and serdes line is initialized. This is pre

Re: [EXT] Re: [PATCH v8 01/15] crypto/fsl: Add support for CAAM Job ring driver model

2022-03-08 Thread Michael Nazzareno Trimarchi
Hi On Tue, Mar 8, 2022 at 2:28 PM Stefano Babic wrote: > > Hi Tom, > > On 08.03.22 13:48, Tom Rini wrote: > > On Tue, Mar 08, 2022 at 08:12:27AM -0300, Fabio Estevam wrote: > >> On Tue, Mar 8, 2022 at 8:10 AM Gaurav Jain wrote: > >> > >>> I further checked on your concern and propose the below c

Re: [PATCH v3 01/19] scsi: call device_probe() after scanning

2022-03-08 Thread Heinrich Schuchardt
On 3/8/22 12:36, AKASHI Takahiro wrote: Every time a scsi bus/port is scanned and a new block device is detected, we want to call device_probe() as it will give us a chance to run additional post-processings for some purposes. In particular, support for creating partitions on a device will be ad

Re: [EXT] Re: [PATCH v8 01/15] crypto/fsl: Add support for CAAM Job ring driver model

2022-03-08 Thread Tom Rini
On Tue, Mar 08, 2022 at 01:21:41PM +, Gaurav Jain wrote: > > > > -Original Message- > > From: Tom Rini > > Sent: Tuesday, March 8, 2022 6:19 PM > > To: Fabio Estevam > > Cc: Gaurav Jain ; Michael Walle ; > > sba...@denx.de; Varun Sethi ; Adrian Alonso > > ; Alison Wang ; Andy Tang >

Re: [EXT] Re: [PATCH v8 01/15] crypto/fsl: Add support for CAAM Job ring driver model

2022-03-08 Thread Stefano Babic
Hi Tom, On 08.03.22 13:48, Tom Rini wrote: On Tue, Mar 08, 2022 at 08:12:27AM -0300, Fabio Estevam wrote: On Tue, Mar 8, 2022 at 8:10 AM Gaurav Jain wrote: I further checked on your concern and propose the below change to stop building caam driver in SPL for imx6dl_mamoj. --- a/configs/imx

Re: [PATCH v2 00/13] event: Provide support for events to connect subsystems

2022-03-08 Thread Tom Rini
On Tue, Mar 08, 2022 at 02:11:02PM +0100, Heinrich Schuchardt wrote: > On 3/4/22 16:42, Simon Glass wrote: > > It is a common need in U-Boot to have one subsystem notify another > > when something happens. An example is reading a partition table when a > > new block device is set up. > > > > It is

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Heinrich Schuchardt
On 3/8/22 14:04, AKASHI Takahiro wrote: On Tue, Mar 08, 2022 at 01:59:08PM +0100, Heinrich Schuchardt wrote: On 3/8/22 12:36, AKASHI Takahiro wrote: With this patch set[1] applied, UEFI subsystem maintains a list of its disk objects dynamically at runtime based on block device's probing. (See "

Re: [PATCH] usb: dwc3: Add support for usb3-phy PHY configuration

2022-03-08 Thread Michal Simek
On 3/4/22 18:33, Marek Vasut wrote: On 3/4/22 05:42, Marek Vasut wrote: On 3/3/22 09:40, Bin Meng wrote: On Wed, Feb 23, 2022 at 10:56 PM Michal Simek wrote: When usb3-phy label is found, PHY driver is called and serdes line is initialized. This is preparation for serdes/psgtr driver to c

RE: [EXT] Re: [PATCH v8 01/15] crypto/fsl: Add support for CAAM Job ring driver model

2022-03-08 Thread Gaurav Jain
> -Original Message- > From: Tom Rini > Sent: Tuesday, March 8, 2022 6:19 PM > To: Fabio Estevam > Cc: Gaurav Jain ; Michael Walle ; > sba...@denx.de; Varun Sethi ; Adrian Alonso > ; Alison Wang ; Andy Tang > ; Franck Lenormand ; > Horia Geanta ; Ji Luo ; > ma...@denx.de; Meenakshi Agg

[PATCH v2 2/2] usb: dwc3: Add support for usb3-phy PHY configuration

2022-03-08 Thread Michal Simek
When usb3-phy label is found, PHY driver is called and serdes line is initialized. This is preparation for serdes/psgtr driver to configure GT lines based on description in DT. Signed-off-by: Michal Simek --- Changes in v2: - Add missing header drivers/usb/dwc3/dwc3-generic.c | 18

[PATCH v2 1/2] generic-phy: s/CONFIG_PHY/CONFIG_IS_ENABLED(PHY)/

2022-03-08 Thread Michal Simek
Allow to disable PHY driver in SPL because it checks the CONFIG_SPL_PHY variable for SPL builds. The same change was done for usb by commit fd09c205fc57 ("usb: s/CONFIG_DM_USB/CONFIG_IS_ENABLED(DM_USB)/"). Signed-off-by: Michal Simek --- Changes in v2: - based on bug reported by Marek https://

Re: [PATCH v2 01/13] phy: nop-phy: Fix phy reset if no reset-gpio defined

2022-03-08 Thread Heinrich Schuchardt
On 3/4/22 16:42, Simon Glass wrote: From: Tim Harvey Ensure there is a valid reset-gpio defined before using it. Fixes: f9852acdce02 ("phy: nop-phy: Fix enabling reset") Cc: Adam Ford Signed-off-by: Tim Harvey Signed-off-by: Simon Glass This patch is already in origin/master.

Re: [PATCH v4 05/11] EFI: FMP: Add provision to update image's ImageTypeId in image descriptor

2022-03-08 Thread AKASHI Takahiro
On Sat, Feb 26, 2022 at 03:24:10PM +0530, Sughosh Ganu wrote: > hello Heinrich, > > On Sat, 26 Feb 2022 at 12:24, Heinrich Schuchardt wrote: > > > > On 2/17/22 11:10, Sughosh Ganu wrote: > > > On Thu, 17 Feb 2022 at 13:52, Ilias Apalodimas > > > wrote: > > >> > > >>> > > >> > > >> [...] > >

Re: [PATCH v2 00/13] event: Provide support for events to connect subsystems

2022-03-08 Thread Heinrich Schuchardt
On 3/4/22 16:42, Simon Glass wrote: It is a common need in U-Boot to have one subsystem notify another when something happens. An example is reading a partition table when a new block device is set up. It is also common to add weak functions and 'hook' functions to modify how U-Boot works. See f

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread AKASHI Takahiro
On Tue, Mar 08, 2022 at 01:59:08PM +0100, Heinrich Schuchardt wrote: > On 3/8/22 12:36, AKASHI Takahiro wrote: > > With this patch set[1] applied, UEFI subsystem maintains a list of its > > disk objects dynamically at runtime based on block device's probing. > > (See "issues" below.) > > > > [1] h

Porting U-Boot's UEFI Payload to coreboot

2022-03-08 Thread Ahamed Husni
Hi everyone, I am trying to work on a project to port the U-Boot UEFI code to coreboot as a payload. I haven't worked with UEFI before except running a basic EFI payload in a coreboot/u-boot environment. (Serial output: https://gist.github.com/drac98/6166d29f6c3a2baf2f4e791925ea98d3) I would like

Re: [PATCH] drivers: led: bcm6858: Set default brightness when setting LED state

2022-03-08 Thread Paul HENRYS d'AUBIGNY
Hi, While discussing that change internally. One remark was that the brightness of the LED controller is being set at every state change while in principle, a "default" brightness could be set once and for all, for instance in the probing function. Currently, the U-Boot LED driver does not support

[PATCH v1 1/1] wdt: nuvoton: Add support for Nuvoton

2022-03-08 Thread jimliu2
Add watchdog controller driver for NPCM7xx/npcm8xx Signed-off-by: jimliu2 --- drivers/watchdog/Kconfig| 6 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/npcm_wdt.c | 119 3 files changed, 126 insertions(+) create mode 100644 drivers/watchdog

[PATCH v1 0/1]wdt: nuvoton: Add support for Nuvoton

2022-03-08 Thread jimliu2
Add watchdog controller driver for NPCM7xx/npcm8xx jimliu2 (1): wdt: nuvoton: Add support for Nuvoton drivers/watchdog/Kconfig| 6 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/npcm_wdt.c | 119 3 files changed, 126 insertions(+) create mo

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Heinrich Schuchardt
On 3/8/22 12:36, AKASHI Takahiro wrote: With this patch set[1] applied, UEFI subsystem maintains a list of its disk objects dynamically at runtime based on block device's probing. (See "issues" below.) [1] https://github.com/t-akashi/u-boot/tree/efi/dm_disk On sandbox_defconfig with CONFIG_EFI

Re: [EXT] Re: [PATCH v8 01/15] crypto/fsl: Add support for CAAM Job ring driver model

2022-03-08 Thread Tom Rini
On Tue, Mar 08, 2022 at 08:12:27AM -0300, Fabio Estevam wrote: > On Tue, Mar 8, 2022 at 8:10 AM Gaurav Jain wrote: > > > I further checked on your concern and propose the below change to stop > > building caam driver in SPL for imx6dl_mamoj. > > > > --- a/configs/imx6dl_mamoj_defconfig > > +++ b

Re: [PATCH] arm: kirkwood: Sheevaplug : Use Marvell uclass mvgbe and PHY driver for Ethernet

2022-03-08 Thread Stefan Roese
On 3/7/22 00:12, Tony Dinh wrote: The Globalscale Technologies Sheevaplug board has the network chip Marvell 88E1116R. Use uclass mvgbe and the compatible driver M88E1310 driver to bring up Ethernet. - Currently, CONFIG_RESET_PHY_R symbol is used in arch/arm/mach-kirkwood/include/mach/config.h f

Re: [PATCH] arm: a37xx: Remap IO space to bus address 0x0

2022-03-08 Thread Stefan Roese
On 3/7/22 19:12, Pali Rohár wrote: Remap PCI I/O space to the bus address 0x0 in the Armada 37xx device-tree in order to support legacy I/O port based cards which have hardcoded I/O ports in low address space. Some legacy PCI I/O based cards do not support 32-bit I/O addressing. Signed-off-by:

Re: [PATCH v2 3/3] tools: kwboot: Allow to mix positional arguments with option -b

2022-03-08 Thread Stefan Roese
On 3/7/22 19:03, Pali Rohár wrote: Commit 9e6d71d2b55f ("tools: kwboot: Allow to use -b without image path as the last getopt() option") broke usage of kwboot with following arguments: kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-spl.kwb Fix parsing of option -b with optional argument again.

Re: [PATCH v2 2/3] tools: kwboot: Check if baudrate value is supported before sending image

2022-03-08 Thread Stefan Roese
On 3/7/22 19:03, Pali Rohár wrote: Call kwboot_open_tty() which baudrate value which was specified at the command line by option -B. This function returns error if baudrate is not supported by selected tty device. Initial baudrate for image transfer is always 115200, so call kwboot_tty_change_ba

Re: [PATCH v2 1/3] tools: kwboot: Allow to specify custom baudrate only in supported operations

2022-03-08 Thread Stefan Roese
On 3/7/22 19:03, Pali Rohár wrote: Custom baudrate different than 115200 may be specified only when kwboot is not going to send boot/debug message pattern or when it is going to send boot message pattern with image file (in which case baudrate change happens after sending kwbimage header). BootRO

Re: [PATCH u-boot-mvebu v3 0/5] arm: mvebu: a37xx: Add support for reading OTP

2022-03-08 Thread Stefan Roese
On 3/8/22 12:42, Pali Rohár wrote: Hello! Is v3 series Ok now? I don't have any objections. I plan to pull this patch series in the next merge window, as we are at rc3 now already. Thanks, Stefan On Wednesday 23 February 2022 14:15:44 Pali Rohár wrote: Add support for reading NB fuse OTP, S

  1   2   >