Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Tom Rini
On Sat, Nov 04, 2023 at 05:12:12PM +, Andre Przywara wrote: > On Fri, 3 Nov 2023 13:38:58 -0600 > Simon Glass wrote: > > Hi Simon, > > > Hi Heinrich, > > > > On Wed, 1 Nov 2023 at 14:20, Heinrich Schuchardt > > wrote: > > > > > > On 11/1/23 19:05, Andre Przywara wrote: > > > > On Tue, 31

Re: [PATCH V2 06/12] arm: mach-k3: Kconfig: Introduce a symbol to indicate J7200

2023-11-06 Thread Nishanth Menon
On 10:45-20231106, Andrew Davis wrote: > On 11/4/23 2:21 AM, Nishanth Menon wrote: > > J7200 shares quite a few characteristics with J721E. However a few sets > > are different. Introduce a Kconfig to differentiate the two to allow for > > new boards to be introduced

Re: [PATCH 01/20] m68k: Remove CONFIG_FSLDMAFEC

2023-11-06 Thread Angelo Dureghello
Hi Tom, sure, i remove the unused dtsi, patch will follow. Regards, angelo On 06/11/23 5:32 PM, Tom Rini wrote: On Sat, Nov 04, 2023 at 09:58:07PM +0100, Angelo Dureghello wrote: Hi Tom, Reviewed by: Angelo Dureghello Thanks for the cleanup, m68k boards build fine. fsl_mcdmafec driver is

[PATCH] mips: implement __udivdi3

2023-11-06 Thread Daniel Schwierzeck
From: Linus Walleij Squashfs wasn't compiling because the lldiv() directives turn into __udivdi3 and we are using private libgcc. After this squashfs compiles for MIPS. Signed-off-by: Linus Walleij Signed-off-by: Daniel Schwierzeck --- Linus, this is the updated and optimized version of your

[PATCH] arm: mach-k3: Let the compiler size the mem_map lists

2023-11-06 Thread Andrew Davis
NR_MMU_REGIONS is a copy/paste from another platform that extends this list later. We do not do that, so let the list be the size of the initializer list. Signed-off-by: Andrew Davis --- arch/arm/mach-k3/arm64-mmu.c | 34 ++ 1 file changed, 6 insertions(+), 28 del

[PATCH] mips: fix change_k0_cca()

2023-11-06 Thread Daniel Schwierzeck
The intention of change_k0_cca() is to read the C0.Config register into register $t0, update $t0 with the new cache coherency mode passed in $a0 and write back $t0 to C0.Config. With MIPS32 R2 or later instruction sets, this can be achieved with a single instruction with INS. The source and destina

Re: [PATCH V2 08/12] arm: mach-k3: arm64-mmu: Refactor to be independent of board

2023-11-06 Thread Andrew Davis
On 11/4/23 2:21 AM, Nishanth Menon wrote: Refactor J721E J7200 definition to make this independent of board macros. Signed-off-by: Nishanth Menon --- arch/arm/mach-k3/arm64-mmu.c | 50 ++-- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/arch/a

[PATCH] m68k: remove unused mcf54xx devicetree

2023-11-06 Thread Angelo Dureghello
Remove unused devicetree, can be re-added later, in case some board would use it. Signed-off-by: Angelo Dureghello --- arch/m68k/dts/mcf54xx.dtsi | 72 -- 1 file changed, 72 deletions(-) delete mode 100644 arch/m68k/dts/mcf54xx.dtsi diff --git a/arch/m68k/dt

Re: [PATCH V2 1/2] arm: mach-k3: Move K3 degenerate keys out of board folder

2023-11-06 Thread Andrew Davis
On 11/3/23 9:45 PM, Nishanth Menon wrote: This file is common for all of K3, move it out of board/ directory and into mach-k3. And change the relative paths to absolute paths in the binman paths. While at it, drop the reference in verdin-binman file which is redundant. Signed-off-by: Nishanth M

[PATCH v2 0/2] TPS65224 PMIC Driver

2023-11-06 Thread Bhargav Raviprakash
TPS65224 is a Power Management IC which provides regulators and others features like GPIOs, RTC, watchdog, ADC, ESMs (Error Signal Monitor), and PFSM (Pre-configurable Finite State Machine). The SoC and the PMIC can communicate through the I2C. Add support for TPS65224 PMIC in U-boot. This include

[PATCH v2 1/2] driver: power: add support for TPS65224

2023-11-06 Thread Bhargav Raviprakash
Added support for PMIC TPS65224. Includes driver for pmic, and disabling Watchdog. Signed-off-by: Bhargav Raviprakash --- drivers/power/pmic/Kconfig| 6 ++ drivers/power/pmic/Makefile | 1 + drivers/power/pmic/tps65224.c | 141 ++ include/power/tps65224.

[PATCH v2 2/2] driver: power: regulator: add support for TPS65224 regulator

2023-11-06 Thread Bhargav Raviprakash
Added support for PMIC TPS65224 regulators. Includes driver for buck and ldo. Signed-off-by: Bhargav Raviprakash --- drivers/power/regulator/Kconfig | 10 + drivers/power/regulator/Makefile | 1 + drivers/power/regulator/tps65224_regulator.c | 495 +++

Re: [PATCH V2 2/4] board: beagle: Add BeagleBone AI-64 support

2023-11-06 Thread Andrew Davis
On 11/4/23 3:11 AM, Nishanth Menon wrote: Add base support for BeagleBone AI-64 board support. Further information at https://beagleboard.org/ai-64 Signed-off-by: Nishanth Menon --- arch/arm/mach-k3/Kconfig |1 + board/beagle/beagleboneai64/Kconfig | 59

[PATCH] mips: fix change_k0_cca()

2023-11-06 Thread Sachsensolar GmbH
From: Daniel Schwierzeck The intention of change_k0_cca() is to read the C0.Config register into register $t0, update $t0 with the new cache coherency mode passed in $a0 and write back $t0 to C0.Config. With MIPS32 R2 or later instruction sets, this can be achieved with a single instruction with

[PATCH] mips: implement __udivdi3

2023-11-06 Thread Sachsensolar GmbH
From: Linus Walleij Squashfs wasn't compiling because the lldiv() directives turn into __udivdi3 and we are using private libgcc. After this squashfs compiles for MIPS. Signed-off-by: Linus Walleij Signed-off-by: Daniel Schwierzeck --- Linus, this is the updated and optimized version of your

Re: [PATCH V2 2/2] arm: mach-k3: Move TI dummy keys out of board folder

2023-11-06 Thread Andrew Davis
On 11/3/23 9:45 PM, Nishanth Menon wrote: This file is used to emulate customer keys on TI development board ecosystems, move it out of board/ directory and into mach-k3. And change the relative paths to absolute paths in the binman paths. While at it, drop the reference in verdin-binman file wh

Re: Need advise with u-boot on SH-7785LCR

2023-11-06 Thread Simon Glass
Hi John, On Mon, 6 Nov 2023 at 15:00, John Paul Adrian Glaubitz wrote: > > Hi Simon, > > On Sun, 2023-11-05 at 16:29 +, Simon Glass wrote: > > No, sorry I don't have any idea about that. You could check the > > MAINTAINERS files in U-Boot and Linux for other people, perhaps, or > > check comm

Re: [PATCH 1/4] bootm: Allow ignoring the load address with kernel_noload

2023-11-06 Thread Simon Glass
Hi Tom, On Sun, 5 Nov 2023 at 14:19, Tom Rini wrote: > > On Sun, Nov 05, 2023 at 01:03:51PM -0700, Simon Glass wrote: > > > This image type is supposed to ignore the load address. But at present > > it fails if the load address is missing. If it is zero, the image is > > loaded at address 0, whic

Re: [PATCH 1/1] rng: detect RISC-V Zkr RNG device in bind method

2023-11-06 Thread Simon Glass
Hi Heinrich, On Sun, 5 Nov 2023 at 14:54, Heinrich Schuchardt wrote: > > On 11/5/23 18:25, Simon Glass wrote: > > Hi Heinrich, > > > > On Sun, 5 Nov 2023 at 03:47, Heinrich Schuchardt > > wrote: > >> > >> On 11/4/23 21:42, Simon Glass wrote: > >>> Hi Heinrich, > >>> > >>> On Sat, 4 Nov 2023 at 0

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Simon Glass
Hi Tom, On Mon, 6 Nov 2023 at 09:46, Tom Rini wrote: > > On Sat, Nov 04, 2023 at 05:12:12PM +, Andre Przywara wrote: > > On Fri, 3 Nov 2023 13:38:58 -0600 > > Simon Glass wrote: > > > > Hi Simon, > > > > > Hi Heinrich, > > > > > > On Wed, 1 Nov 2023 at 14:20, Heinrich Schuchardt > > > wrote

Re: [PATCH 2/4] bootm: Move arm64-image processing later

2023-11-06 Thread Simon Glass
Hi Tom, On Sun, 5 Nov 2023 at 14:20, Tom Rini wrote: > > On Sun, Nov 05, 2023 at 01:03:52PM -0700, Simon Glass wrote: > > > If the image is compressed, then the existing check fails, since the > > header is wrong. > > > > Move the check later in the boot process, after the kernel is > > decompres

Re: bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-11-06 Thread Simon Glass
Hi Tony, On Wed, 4 Oct 2023 at 21:23, Tony Dinh wrote: > > Hi Simon, > > On Mon, Oct 2, 2023 at 12:25 PM Tony Dinh wrote: > > > > Hi Simon, > > > > On Sun, Oct 1, 2023 at 6:22 PM Simon Glass wrote: > > > > > > Hi Tony, > > > > > > On Tue, 26 Sept 2023 at 13:40, Tony Dinh wrote: > > > > > > > >

Re: [PATCH v2 1/2] driver: power: add support for TPS65224

2023-11-06 Thread Simon Glass
Hi Bhargav, On Mon, 6 Nov 2023 at 10:11, Bhargav Raviprakash wrote: > > Added support for PMIC TPS65224. Includes driver for pmic, > and disabling Watchdog. > > Signed-off-by: Bhargav Raviprakash > --- > drivers/power/pmic/Kconfig| 6 ++ > drivers/power/pmic/Makefile | 1 + > drivers/

Re: [PATCH v2] bootstd: Skip over bad device during bootflows scanning

2023-11-06 Thread Simon Glass
On Thu, 2 Nov 2023 at 12:51, Tony Dinh wrote: > > During bootstd scanning for bootdevs, if bootdev_hunt_drv() encounters > a device not found error (e.g. ENOENT), let it return a successful status > so that bootstd will continue scanning the next devices, not stopping > prematurely. > > Background

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Andre Przywara
On Sat, 4 Nov 2023 19:45:06 + Simon Glass wrote: Hi, > On Sat, 4 Nov 2023 at 17:13, Andre Przywara wrote: > > > > On Fri, 3 Nov 2023 13:38:58 -0600 > > Simon Glass wrote: > > > > Hi Simon, > > > > > Hi Heinrich, > > > > > > On Wed, 1 Nov 2023 at 14:20, Heinrich Schuchardt > > > wrote:

Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-11-06 Thread Andrew Davis
On 11/6/23 9:31 AM, Tom Rini wrote: On Mon, Nov 06, 2023 at 11:23:51AM +0530, Manorit Chawdhry wrote: Hi Simon, On 11:22-20231005, Simon Glass wrote: Hi Nishanth, On Thu, 5 Oct 2023 at 11:16, Nishanth Menon wrote: On 12:10-20231005, Nishanth Menon wrote: On 12:36-20231005, Tom Rini wrote:

Re: Need advise with u-boot on SH-7785LCR

2023-11-06 Thread John Paul Adrian Glaubitz
Hi Simon! On Mon, 2023-11-06 at 10:24 -0700, Simon Glass wrote: > > So, I assume, I should just be able to write u-boot.bin to /dev/mtdblock0? > > Maybe, but you will likely brick the device if you have no other way > to write to flash. The flash memory is actually on a daughter board that can b

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Andre Przywara
On Mon, 6 Nov 2023 11:46:27 -0500 Tom Rini wrote: Hi Tom, > On Sat, Nov 04, 2023 at 05:12:12PM +, Andre Przywara wrote: > > On Fri, 3 Nov 2023 13:38:58 -0600 > > Simon Glass wrote: > > > > Hi Simon, > > > > > Hi Heinrich, > > > > > > On Wed, 1 Nov 2023 at 14:20, Heinrich Schuchardt > >

Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-11-06 Thread Simon Glass
Hi Andrew, On Mon, 6 Nov 2023 at 10:27, Andrew Davis wrote: > > On 11/6/23 9:31 AM, Tom Rini wrote: > > On Mon, Nov 06, 2023 at 11:23:51AM +0530, Manorit Chawdhry wrote: > >> Hi Simon, > >> > >> On 11:22-20231005, Simon Glass wrote: > >>> Hi Nishanth, > >>> > >>> On Thu, 5 Oct 2023 at 11:16, Nish

Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-11-06 Thread Andrew Davis
On 11/6/23 11:47 AM, Simon Glass wrote: Hi Andrew, On Mon, 6 Nov 2023 at 10:27, Andrew Davis wrote: On 11/6/23 9:31 AM, Tom Rini wrote: On Mon, Nov 06, 2023 at 11:23:51AM +0530, Manorit Chawdhry wrote: Hi Simon, On 11:22-20231005, Simon Glass wrote: Hi Nishanth, On Thu, 5 Oct 2023 at 11:

Re: [PATCH] rockchip: rk3588-rock-5b: Enable CONFIG_PCI_INIT_R to support EFI networking

2023-11-06 Thread Jonas Karlman
Hi Martin, On 2023-11-04 14:04, Martin Roukala (né Peres) wrote: > When u-boot chainloads an EFI bootloader such as iPXE, we want to have > already initialized the PCI subsystem so that network driver is loaded > and ready to use by the bootloader. This change slows down boot from emmc/sd-card wh

[PATCH] board: cssi: Remove usage of common.h

2023-11-06 Thread Christophe Leroy
Remove inclusion of common.h and add relevant includes when necessary. Signed-off-by: Christophe Leroy --- board/cssi/cmpc885/cmpc885.c | 1 - board/cssi/cmpc885/nand.c| 1 - board/cssi/cmpc885/sdram.c | 3 ++- board/cssi/cmpcpro/cmpcpro.c | 1 - board/cssi/mcr3000/mcr3000.c | 1 - board/c

[PATCH] powerpc: mpc8xx: Remove usage of common.h

2023-11-06 Thread Christophe Leroy
Remove inclusion of common.h and add relevant includes when necessary. Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/cache.c | 1 - arch/powerpc/cpu/mpc8xx/cpu.c| 1 - arch/powerpc/cpu/mpc8xx/cpu_init.c | 1 - arch/powerpc/cpu/mpc8xx/fdt.c| 1 - arch/powerpc/

Re: [PATCH 1/4] bootm: Allow ignoring the load address with kernel_noload

2023-11-06 Thread Tom Rini
On Mon, Nov 06, 2023 at 10:25:00AM -0700, Simon Glass wrote: > Hi Tom, > > On Sun, 5 Nov 2023 at 14:19, Tom Rini wrote: > > > > On Sun, Nov 05, 2023 at 01:03:51PM -0700, Simon Glass wrote: > > > > > This image type is supposed to ignore the load address. But at present > > > it fails if the load

Re: bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-11-06 Thread Tony Dinh
Hi Simon, On Mon, Nov 6, 2023 at 9:25 AM Simon Glass wrote: > > Hi Tony, > > On Wed, 4 Oct 2023 at 21:23, Tony Dinh wrote: > > > > Hi Simon, > > > > On Mon, Oct 2, 2023 at 12:25 PM Tony Dinh wrote: > > > > > > Hi Simon, > > > > > > On Sun, Oct 1, 2023 at 6:22 PM Simon Glass wrote: > > > > > >

[ANN] U-Boot v2024.01-rc2 released

2023-11-06 Thread Tom Rini
Hey all, It's release day and here is -rc2. Looking at my own queue I think I've got everything out that's not for -next, but there might be a few fixes I've overlooked and will give things a harder read once I've merged other things in to -next and the page is just more readable to me. Speaking

Re: bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-11-06 Thread Tom Rini
On Mon, Nov 06, 2023 at 11:42:51AM -0800, Tony Dinh wrote: > Hi Simon, > > On Mon, Nov 6, 2023 at 9:25 AM Simon Glass wrote: > > > > Hi Tony, > > > > On Wed, 4 Oct 2023 at 21:23, Tony Dinh wrote: > > > > > > Hi Simon, > > > > > > On Mon, Oct 2, 2023 at 12:25 PM Tony Dinh wrote: > > > > > > > >

Re: [PATCH 1/4] bootm: Allow ignoring the load address with kernel_noload

2023-11-06 Thread Simon Glass
Hi Tom, On Mon, 6 Nov 2023 at 11:30, Tom Rini wrote: > > On Mon, Nov 06, 2023 at 10:25:00AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Sun, 5 Nov 2023 at 14:19, Tom Rini wrote: > > > > > > On Sun, Nov 05, 2023 at 01:03:51PM -0700, Simon Glass wrote: > > > > > > > This image type is suppos

Re: [PATCH] mmc: renesas-sdhi: Disable clock after tuning reset when possible

2023-11-06 Thread Paul Barker
On Sun, Nov 05, 2023 at 11:42:45PM +0100, Marek Vasut wrote: > Currently the renesas_sdhi_reset_tuning() unconditionally leaves SDHI > clock enabled after the tuning reset. This is not always necessary. > > After the driver performed tuning reset at the end of probe function, > or in the unlikely

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Tom Rini
On Mon, Nov 06, 2023 at 05:26:01PM +, Andre Przywara wrote: > On Sat, 4 Nov 2023 19:45:06 + > Simon Glass wrote: > > Hi, > > > On Sat, 4 Nov 2023 at 17:13, Andre Przywara wrote: > > > > > > On Fri, 3 Nov 2023 13:38:58 -0600 > > > Simon Glass wrote: > > > > > > Hi Simon, > > > > > > >

Re: [PATCH 1/4] bootm: Allow ignoring the load address with kernel_noload

2023-11-06 Thread Tom Rini
On Mon, Nov 06, 2023 at 12:58:46PM -0700, Simon Glass wrote: > Hi Tom, > > > On Mon, 6 Nov 2023 at 11:30, Tom Rini wrote: > > > > On Mon, Nov 06, 2023 at 10:25:00AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sun, 5 Nov 2023 at 14:19, Tom Rini wrote: > > > > > > > > On Sun, Nov 05, 2

[tom.r...@gmail.com: Fwd: New Defects reported by Coverity Scan for Das U-Boot]

2023-11-06 Thread Tom Rini
Hey all, Here's the latest report. I _think_ I passed the right options to get_maintainer.pl such that it would only look far enough back in git to find the likely authors (along with listed maintainers of the files). -- Forwarded message - From: Date: Mon, Nov 6, 2023 at 2:58 PM

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Simon Glass
Hi Andre, On Mon, 6 Nov 2023 at 10:26, Andre Przywara wrote: > > On Sat, 4 Nov 2023 19:45:06 + > Simon Glass wrote: > > Hi, > > > On Sat, 4 Nov 2023 at 17:13, Andre Przywara wrote: > > > > > > On Fri, 3 Nov 2023 13:38:58 -0600 > > > Simon Glass wrote: > > > > > > Hi Simon, > > > > > > > Hi

Re: Need advise with u-boot on SH-7785LCR

2023-11-06 Thread Simon Glass
+Marek Vasut +Vagrant Cascadian On Mon, 6 Nov 2023 at 10:33, John Paul Adrian Glaubitz < glaub...@physik.fu-berlin.de> wrote: > Hi Simon! > > On Mon, 2023-11-06 at 10:24 -0700, Simon Glass wrote: > > > So, I assume, I should just be able to write u-boot.bin to > /dev/mtdblock0? > > > > Maybe,

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Tom Rini
On Mon, Nov 06, 2023 at 01:38:39PM -0700, Simon Glass wrote: > Hi Andre, > > On Mon, 6 Nov 2023 at 10:26, Andre Przywara wrote: > > > > On Sat, 4 Nov 2023 19:45:06 + > > Simon Glass wrote: > > > > Hi, > > > > > On Sat, 4 Nov 2023 at 17:13, Andre Przywara > > > wrote: > > > > > > > > On Fri

Re: bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-11-06 Thread Tony Dinh
On Mon, Nov 6, 2023 at 11:51 AM Tom Rini wrote: > > On Mon, Nov 06, 2023 at 11:42:51AM -0800, Tony Dinh wrote: > > Hi Simon, > > > > On Mon, Nov 6, 2023 at 9:25 AM Simon Glass wrote: > > > > > > Hi Tony, > > > > > > On Wed, 4 Oct 2023 at 21:23, Tony Dinh wrote: > > > > > > > > Hi Simon, > > > >

[PATCH 0/5] Qualcomm PMIC fixes

2023-11-06 Thread Caleb Connolly
db410c and 820c) are adjusted to use the new button driver in their board init code. This series is based on the pinctrl [1] and clock [2] cleanup series. There may be some DTS conflicts applying it standalone. [1]: https://lore.kernel.org/u-boot/20231106-b4-qcom-pinctrl-v2-0-406e8d868...@linaro.org

[PATCH 1/5] gpio: qcom_pmic: fix silent dev_read_addr downcast

2023-11-06 Thread Caleb Connolly
priv->pid is uint32_t, but dev_read_addr() returns a uint64_t on arm64, with the upper bits being used for error codes. Do error checking before downcasting to u32 to prevent errors being silently ignored. Signed-off-by: Caleb Connolly --- drivers/gpio/qcom_pmic_gpio.c | 14 ++ 1 fil

[PATCH 2/5] gpio: qcom_pmic: rework pwrkey driver into a button driver

2023-11-06 Thread Caleb Connolly
The power and resin keys were implemented as GPIOs here, but their only use would be as buttons. Avoid the additional layer of introspection and rework this driver into a button driver. While we're here, replace the "qcom,pm8998-pwrkey" compatible with "qcom,pm8941-pwrkey" to match upstream (Linux

[PATCH 3/5] gpio: qcom_pmic: fix support for upstream DT

2023-11-06 Thread Caleb Connolly
Linux devicetrees use the "gpio-ranges" property, add support for parsing it instead of "gpio-count" so that upstream DTs can be used with U-Boot. Signed-off-by: Caleb Connolly --- drivers/gpio/qcom_pmic_gpio.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drive

[PATCH 4/5] spmi: msm: fix register range names

2023-11-06 Thread Caleb Connolly
The core and chnl register ranges were swapped on SDM845. Fix it, and fetch the register ranges by name instead of by index. Drop the cosmetic "version" variable and clean up the debug logging. Signed-off-by: Caleb Connolly --- arch/arm/dts/sdm845.dtsi | 2 +- drivers/spmi/spmi-msm.c | 46 +++

[PATCH 5/5] pmic: qcom: dont use dev_read_addr to get USID

2023-11-06 Thread Caleb Connolly
Linux DTs stuff a value indicating if the USID is a USID or a GSID in the reg property, the Linux SPMI driver then reads the two address cells separately. U-boot's dev_read_addr() doesn't know how to handle this, so use ofnode_read_u32_index() to get just the USID. The Qcom pmic driver doesn't hav

Re: [PATCH v1 0/5] Convert recently merged T30 boards to use DM PMIC

2023-11-06 Thread Tom Rini
On Mon, Nov 06, 2023 at 02:11:16PM +, Peter Robinson wrote: > On Mon, Nov 6, 2023 at 1:28 PM Svyatoslav Ryhel wrote: > > > > пн, 6 лист. 2023 р. о 15:13 Peter Robinson пише: > > > > > > On Mon, Nov 6, 2023 at 11:58 AM Svyatoslav Ryhel > > > wrote: > > > > > > > > пн, 6 лист. 2023 р. о 13:46

Re: Need advise with u-boot on SH-7785LCR

2023-11-06 Thread Marek Vasut
On 11/6/23 21:42, Simon Glass wrote: +Marek Vasut +Vagrant Cascadian On Mon, 6 Nov 2023 at 10:33, John Paul Adrian Glaubitz < glaub...@physik.fu-berlin.de> wrote: Hi Simon! On Mon, 2023-11-06 at 10:24 -0700, Simon Glass wrote: So, I assume, I should just be able to write u-boot.bin to /d

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Andre Przywara
On Mon, 6 Nov 2023 13:38:39 -0700 Simon Glass wrote: Hi Simon, > On Mon, 6 Nov 2023 at 10:26, Andre Przywara wrote: > > > > On Sat, 4 Nov 2023 19:45:06 + > > Simon Glass wrote: > > > > Hi, > > > > > On Sat, 4 Nov 2023 at 17:13, Andre Przywara > > > wrote: > > > > > > > > On Fri, 3 No

Re: bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-11-06 Thread Tony Dinh
Hi Simon, On Mon, Nov 6, 2023 at 12:51 PM Tony Dinh wrote: > > On Mon, Nov 6, 2023 at 11:51 AM Tom Rini wrote: > > > > On Mon, Nov 06, 2023 at 11:42:51AM -0800, Tony Dinh wrote: > > > Hi Simon, > > > > > > On Mon, Nov 6, 2023 at 9:25 AM Simon Glass wrote: > > > > > > > > Hi Tony, > > > > > > >

[PATCH] firmware: scmi: correct a validity check against power domain id

2023-11-06 Thread AKASHI Takahiro
A power domain id on sandbox should be in the range from zero to ARRAY_SIZE(scmi_pwdom) - 1. Correct the validity check logic. Signed-off-by: AKASHI Takahiro Fixes: CID 467401 Fixes: CID 467405 --- drivers/firmware/scmi/sandbox-scmi_agent.c | 8 1 file changed, 4 insertions(+), 4 deleti

[PATCH] usb: gadget: f_mass_storage: Stop ums on START-STOP UNIT SCSI command

2023-11-06 Thread Marek Vasut
Exit the UMS handler loop in case START-STOP UNIT SCSI command is received. This is sent e.g. by the util-linux eject(1) command and indicates to the device that it is supposed to spin down the media and enter low power state. This effectively adds support for exitting the 'ums' command from host

Re: [PATCH 5/4] mkimage: update man page and -h output

2023-11-06 Thread Sean Anderson
On 10/13/23 14:30, Rasmus Villemoes wrote: On 12/10/2023 04.17, Sean Anderson wrote: I was hoping you would respond to my most-recent email regarding this series. In particular: | Why does mkimage have to do this? Can't you just use truncate or, in a | binman context, align-size? In both cas

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Simon Glass
Hi Andre, On Mon, 6 Nov 2023 at 21:55, Andre Przywara wrote: > > On Mon, 6 Nov 2023 13:38:39 -0700 > Simon Glass wrote: > > Hi Simon, > > > On Mon, 6 Nov 2023 at 10:26, Andre Przywara wrote: > > > > > > On Sat, 4 Nov 2023 19:45:06 + > > > Simon Glass wrote: > > > > > > Hi, > > > > > > > On

Re: [PATCH 1/4] bootm: Allow ignoring the load address with kernel_noload

2023-11-06 Thread Simon Glass
Hi Tom, On Mon, 6 Nov 2023 at 13:15, Tom Rini wrote: > > On Mon, Nov 06, 2023 at 12:58:46PM -0700, Simon Glass wrote: > > Hi Tom, > > > > > > On Mon, 6 Nov 2023 at 11:30, Tom Rini wrote: > > > > > > On Mon, Nov 06, 2023 at 10:25:00AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On S

Re: bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-11-06 Thread Simon Glass
Hi Tony, On Mon, 6 Nov 2023 at 23:41, Tony Dinh wrote: > > Hi Simon, > > On Mon, Nov 6, 2023 at 12:51 PM Tony Dinh wrote: > > > > On Mon, Nov 6, 2023 at 11:51 AM Tom Rini wrote: > > > > > > On Mon, Nov 06, 2023 at 11:42:51AM -0800, Tony Dinh wrote: > > > > Hi Simon, > > > > > > > > On Mon, Nov

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Simon Glass
Hi Tom, On Mon, 6 Nov 2023 at 13:46, Tom Rini wrote: > > On Mon, Nov 06, 2023 at 01:38:39PM -0700, Simon Glass wrote: > > Hi Andre, > > > > On Mon, 6 Nov 2023 at 10:26, Andre Przywara wrote: > > > > > > On Sat, 4 Nov 2023 19:45:06 + > > > Simon Glass wrote: > > > > > > Hi, > > > > > > > On

Re: [PATCH v2 1/2] rockchip: ringneck-px30: always reset STM32 companion controller on boot

2023-11-06 Thread Kever Yang
On 2023/11/3 17:28, Quentin Schulz wrote: From: Quentin Schulz It's happened that glitches on the STM32_RST and STM32_BOOT lines have put the STM32 companion microcontroller into DFU mode making it not boot its FW, rendering it useless for the user. Considering that the STM32 companion micro

Re: [PATCH v2 2/2] rockchip: ringneck-px30: enable SPL_BOARD_INIT

2023-11-06 Thread Kever Yang
On 2023/11/3 17:28, Quentin Schulz wrote: From: Quentin Schulz Now that Ringneck requires some board-specific code (namely resetting the MCU companion controller) to be run during SPL stage, let's enable SPL_BOARD_INIT. Cc: Quentin Schulz Reviewed-by: Heiko Stuebner Signed-off-by: Quentin

Re: [PATCH 1/2] rockchip: otp: Add support for RV1126

2023-11-06 Thread Kever Yang
On 2023/10/31 10:07, Tim Lunn wrote: Extend the otp driver to read rv1126 otp. This driver code was adapted from the Rockchip BSP stack. Signed-off-by: Tim Lunn Reviewed-by: Kever Yang Thanks, - Kever --- drivers/misc/rockchip-otp.c | 76 + 1 file ch

Re: [PATCH 2/2] rockchip: rv1126: Read cpuid from otp and set ethaddr

2023-11-06 Thread Kever Yang
On 2023/10/31 10:07, Tim Lunn wrote: Provide configuration to read cpuid and generate a persistant MAC address in ethaddr Signed-off-by: Tim Lunn Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/dts/rv1126-u-boot.dtsi | 12 arch/arm/mach-rockchip/Kconfig | 2 ++ 2 f

Re: [PATCH] rockchip: dts: fix bootph tags for rv1126

2023-11-06 Thread Kever Yang
On 2023/10/30 21:12, Tim Lunn wrote: RV1126 fails to boot on 2024.01-rc1. Commit 9e64428 changed the behaviour of bootph-pre-ram, to limit nodes to spl phase. This caused rv1126 boards to fail to boot with the current dts. This patch updates the pmu/grf nodes to bootph-all tags as they are ne

Re: [PATCH v3] rockchip: include: asm: fix entering download mode rk3066

2023-11-06 Thread Kever Yang
On 2023/10/28 02:35, Johan Jonker wrote: Keep track of the re-entries with help of the lr register. This binary can be re-used and called from various BROM functions. Only when it's called from the part that handles SPI, NAND or EMMC hardware it needs to early return to BROM ones. In download m

Re: [PATCH v2 3/5] pinctrl: qcom: make compatible with linux DTs

2023-11-06 Thread Sumit Garg
On Mon, 6 Nov 2023 at 20:59, Caleb Connolly wrote: > > The pinctrl and GPIO drivers are currently heavily incompatible with > upstream. Most Qualcomm pinctrl blocks feature "tiles" of pins, each at > it's own address. Introduce support for these by allowing the soc driver > to specify per-pin regi

Re: [PATCH V2 2/2] arm: mach-k3: Move TI dummy keys out of board folder

2023-11-06 Thread Manorit Chawdhry
On 11:11-20231106, Andrew Davis wrote: > On 11/3/23 9:45 PM, Nishanth Menon wrote: > > This file is used to emulate customer keys on TI development board > > ecosystems, move it out of board/ directory and into mach-k3. And > > change the relative paths to absolute path

Re: [PATCH V2 2/4] board: beagle: Add BeagleBone AI-64 support

2023-11-06 Thread Neha Malcom Francis
Hi Andrew, On 06/11/23 22:34, Andrew Davis wrote: On 11/4/23 3:11 AM, Nishanth Menon wrote: Add base support for BeagleBone AI-64 board support. Further information at  https://beagleboard.org/ai-64 Signed-off-by: Nishanth Menon ---   arch/arm/mach-k3/Kconfig  |    1 +  

RE: [PATCH] mmc: sdhci-cadence: Add support for Cadence sdmmc v6

2023-11-06 Thread KuanLim . Lee
Hi Jaehoon, On 11/1/23 08:20, Jaehoon Chung wrote: > From: Jaehoon Chung > Hi > > On 10/3/23 16:22, Kuan Lim Lee wrote: > > From: Kuan Lim Lee > > > > Cadence SDMMC v6 controller has a lot of changes on initialize > > compared to v4 controller. PHY is needed by v6 controller. > > > > Signed-off

RE: [PATCH v2 1/2] driver: power: add support for TPS65224

2023-11-06 Thread Jaehoon Chung
Hi Bhargav, > -Original Message- > From: Bhargav Raviprakash > Sent: Monday, November 6, 2023 11:07 PM > To: u-boot@lists.denx.de > Cc: jh80.ch...@samsung.com; Bhargav Raviprakash > Subject: [PATCH v2 1/2] driver: power: add support for TPS65224 > > Added support for PMIC TPS65224. Incl

RE: [PATCH v2 1/2] driver: power: add support for TPS65224

2023-11-06 Thread Jaehoon Chung
> -Original Message- > From: U-Boot On Behalf Of Jaehoon Chung > Sent: Tuesday, November 7, 2023 3:42 PM > To: 'Bhargav Raviprakash' ; u-boot@lists.denx.de > Subject: RE: [PATCH v2 1/2] driver: power: add support for TPS65224 > > Hi Bhargav, > > > -Original Message- > > From:

Re: [PATCH V2 01/12] board: ti: j721e: evm: Drop unused headers

2023-11-06 Thread Neha Malcom Francis
Hi Nishanth, On 04/11/23 12:51, Nishanth Menon wrote: Drop headers that are no longer necessary for build Signed-off-by: Nishanth Menon --- board/ti/j721e/evm.c | 8 1 file changed, 8 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index d4f7c1d9f938..aa22f16

Re: [PATCH V2 02/12] board: ti: j721e: evm: Drop board check for ESM

2023-11-06 Thread Neha Malcom Francis
Hi Nishanth, On 04/11/23 12:51, Nishanth Menon wrote: When config is enabled, the esm dt probe makes sense. Simplify by dropping board specific checks. Signed-off-by: Nishanth Menon --- board/ti/j721e/evm.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/board

Re: [PATCH V2 03/12] board: ti: j721e: evm: Switch to using IS_ENABLED

2023-11-06 Thread Neha Malcom Francis
Hi Nishanth, On 04/11/23 12:51, Nishanth Menon wrote: Switch to using IS_ENABLED() for inline function usage. Signed-off-by: Nishanth Menon --- board/ti/j721e/evm.c | 83 ++-- 1 file changed, 42 insertions(+), 41 deletions(-) diff --git a/board/ti/j7

Re: [PATCH V2 04/12] board: ti: j721e: j721e.env: Add explicit boot_targets

2023-11-06 Thread Neha Malcom Francis
Hi Nishanth, On 04/11/23 12:51, Nishanth Menon wrote: Add explicit boot_targets to indicate the specific boot sequence to follow. Signed-off-by: Nishanth Menon --- board/ti/j721e/j721e.env | 1 + 1 file changed, 1 insertion(+) diff --git a/board/ti/j721e/j721e.env b/board/ti/j721e/j721e.en

Re: [PATCH V2 05/12] configs: j721e_evm_a72_defconfig: Switch to bootstd

2023-11-06 Thread Neha Malcom Francis
Hi Nishanth On 04/11/23 12:51, Nishanth Menon wrote: Switch to using bootstd. Note with this change, we will stop using distro_bootcmd and instead depend entirely on bootflow method of starting the system up. Signed-off-by: Nishanth Menon --- configs/j721e_evm_a72_defconfig | 5 +++-- 1 fil

Re: [PATCH V2 10/12] configs: j7200: Remove HBMC_AM654 config

2023-11-06 Thread Neha Malcom Francis
Hi Nishanth, On 04/11/23 12:51, Nishanth Menon wrote: Kernel commit 1b77265626a4 ("arm64: dts: ti: k3-j7200-mcu-wakeup: Add HyperBus node") was merged to kernel without its dependent patch [1]. Similar fix is needed in U-Boot, and hbmc currently breaks boot. Till this gets fixed in U-Boot, disab

Re: [PATCH V2 11/12] configs: j7200_evm_a72_defconfig: Switch to bootstd

2023-11-06 Thread Neha Malcom Francis
Hi Nishanth, On 04/11/23 12:51, Nishanth Menon wrote: Switch to using bootstd. Note with this change, we will stop using distro_bootcmd and instead depend entirely on bootflow method of starting the system up. Signed-off-by: Nishanth Menon --- configs/j7200_evm_a72_defconfig | 5 +++-- 1 fi

Re: [PATCH v2 0/3] Implement GPIO cells for PALMAS and MAX77663 PMICs

2023-11-06 Thread Svyatoslav Ryhel
пн, 6 лист. 2023 р. о 14:00 Peter Robinson пише: > > On Mon, Nov 6, 2023 at 10:18 AM Svyatoslav Ryhel wrote: > > > > This patchset adds support for gpio-uclass to work with pmic gpio childrens > > properly and implements MAX77663 and PALMAS GPIO cells/children as a > > reference and to be further

Re: [PATCH 5/4] mkimage: update man page and -h output

2023-11-06 Thread Rasmus Villemoes
On 07/11/2023 01.46, Sean Anderson wrote: > On 10/13/23 14:30, Rasmus Villemoes wrote: >> On 12/10/2023 04.17, Sean Anderson wrote: >> >>> I was hoping you would respond to my most-recent email regarding this >>> series. >>> In particular: >>> >>> | Why does mkimage have to do this? Can't you just

Re: [PATCH 5/4] mkimage: update man page and -h output

2023-11-06 Thread Rasmus Villemoes
On 07/11/2023 08.30, Rasmus Villemoes wrote: > I'll send a revert to Tom for the prematurely applied fixup. Oh, I see that's already done. Good. Rasmus

<    1   2