Re: [PATCH v8 5/7] efi_loader: support boot from URI device path

2023-11-01 Thread Masahisa Kojima
Hi Ilias, On Fri, 27 Oct 2023 at 04:35, Ilias Apalodimas wrote: > > Kojima-san, > > Thanks the device path handling seems saner in this version. > > On Wed, 25 Oct 2023 at 09:30, Masahisa Kojima > wrote: > > > > This supports to boot from the URI device path. > > When user selects the URI

Re: [PATCH 5/8] mmc: renesas-sdhi: Drop

2023-11-01 Thread Jaehoon Chung
On 11/2/23 05:05, Paul Barker wrote: > In line with changes elsewhere, drop inclusion of the common header. > > Signed-off-by: Paul Barker Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > drivers/mmc/renesas-sdhi.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git

Re: cli: Add explicit kconfig dependency for CONFIG_IS_ENABLED macro

2023-11-01 Thread Tom Rini
On Wed, Nov 01, 2023 at 02:32:06PM -0400, Sean Anderson wrote: > On 8/5/23 19:32, Pavel Korotkevich wrote: > > From fe2ceb7c4365112055ecfc3bbf68ad47330b744d Mon Sep 17 00:00:00 2001 > > From: Pavel Korotkevich > > Date: Sun, 6 Aug 2023 02:00:41 +0300 > > Subject: [PATCH] cli: Add explicit

Re: [PATCH 1/2] board: phytec: am62x: Add PHYTEC phyCORE-AM62x SoM

2023-11-01 Thread Tom Rini
On Wed, Nov 01, 2023 at 07:23:24PM +0100, Wadim Egorov wrote: > Hi Dhruva, > > Am 01.11.23 um 16:57 schrieb Dhruva Gole: > > Hi, > > > > On Oct 31, 2023 at 14:37:31 +0100, Wadim Egorov wrote: > > > Add basic support for PHYTEC phyCORE-AM62x SoM. > > > > > > Supported features: > > >- 2GB

[GIT PULL] CLock changes for 2024.01-rc2

2023-11-01 Thread Sean Anderson
The following changes since commit fb428b61819444b9337075f49c72f326f5d12085: Merge branch '2023-10-24-assorted-general-fixes-and-updates' (2023-10-24 19:12:21 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-clk.git tags/clk-2024.01-rc2 for

Re: [PATCH] drivers: clk: Adjust temp var data type to properly match that of struct clk_ops

2023-11-01 Thread Sean Anderson
On Mon, 15 May 2023 15:49:58 -0400, Nathan Barrett-Morrison wrote: > In commit 5c5992cb90cf ("clk: Add debugging for return values"), a > temporary storage variable was added around the ops->get_rate() call > inside clk_get_rate(), so that the result could be passed through > log_ret. > > This

Re: [PATCH] clk: fix count parameter type for clk_release_all

2023-11-01 Thread Sean Anderson
On Mon, 19 Jun 2023 13:47:52 +0300, Eugen Hristev wrote: > The second parameter for clk_release_all is used as an unsigned > (which makes sense) but the function prototype declares it as an int. > This causes warnings/error like such below: > > include/clk.h:422:48: error: conversion to ‘int’

Re: (subset) [PATCH RESEND 0/5] clk: A few bugfixes/enhancements for CCF

2023-11-01 Thread Sean Anderson
On Fri, 18 Aug 2023 01:03:59 +0800, Yang Xiwen wrote: > They are found during my development for HiSilicon clock driver. Details > are in commit logs. > > Applied, thanks! [3/5] clk: also handle ENOENT in *_optional functions commit: c4b52fda6924e92c6745351f32c4cafc36034170 Best

Re: [PATCH v1] clk: use private clk struct in CLK_CCF's enable/disable functions

2023-11-01 Thread Sean Anderson
On Wed, 6 Sep 2023 01:16:49 +0300, Maksim Kiselev wrote: > In clk_enable()/clk_disable() functions, when CCF is activated, > we must pass a private clk struct to enable()/disable() ops functions. > Otherwise, the use of a container_of() construction within these ops > should be banned. Because

[PATCH 7/7] arm: mach-k3: j721s2: Move board selection to mach-k3

2023-11-01 Thread Andrew Davis
Currently each set of board targets from a vendor is selected inside the board directory for that vendor. This has the problem of multiple targets, one from each vendor, being selectable at the same time. For instance you can select both TARGET_AM654_A53_EVM and TARGET_IOT2050_A53 in the same

[PATCH 5/7] arm: mach-k3: am62x: Move board selection to mach-k3

2023-11-01 Thread Andrew Davis
Currently each set of board targets from a vendor is selected inside the board directory for that vendor. This has the problem of multiple targets, one from each vendor, being selectable at the same time. For instance you can select both TARGET_AM654_A53_EVM and TARGET_IOT2050_A53 in the same

[PATCH 3/7] arm: mach-k3: am65x: Move board selection to mach-k3

2023-11-01 Thread Andrew Davis
Currently each set of board targets from a vendor is selected inside the board directory for that vendor. This has the problem of multiple targets, one from each vendor, being selectable at the same time. For instance you can select both TARGET_AM654_A53_EVM and TARGET_IOT2050_A53 in the same

[PATCH 1/7] board: ti: Add dependency from TARGET selection to SOC

2023-11-01 Thread Andrew Davis
Currently the K3 selection for TARGET boards does not depend on the SoC for which it is based. This leds to the odd ability to select for instance both SOC_K3_AM625 and TARGET_J721E_A72_EVM. To fix this the target choice should depend on the matching SOC config. Signed-off-by: Andrew Davis ---

[PATCH 6/7] arm: mach-k3: am62ax: Move board selection to mach-k3

2023-11-01 Thread Andrew Davis
Currently each set of board targets from a vendor is selected inside the board directory for that vendor. This has the problem of multiple targets, one from each vendor, being selectable at the same time. For instance you can select both TARGET_AM654_A53_EVM and TARGET_IOT2050_A53 in the same

[PATCH 4/7] arm: mach-k3: am64x: Move board selection to mach-k3

2023-11-01 Thread Andrew Davis
Currently each set of board targets from a vendor is selected inside the board directory for that vendor. This has the problem of multiple targets, one from each vendor, being selectable at the same time. For instance you can select both TARGET_AM654_A53_EVM and TARGET_IOT2050_A53 in the same

[PATCH 2/7] arm: mach-k3: j721e: Move board selection to mach-k3

2023-11-01 Thread Andrew Davis
Currently each set of board targets from a vendor is selected inside the board directory for that vendor. This has the problem of multiple targets, one from each vendor, being selectable at the same time. For instance you can select both TARGET_AM654_A53_EVM and TARGET_IOT2050_A53 in the same

Re: [PATCH RESEND 5/5] clk: ccf: call clock provided ops directly for endisable()

2023-11-01 Thread Yang Xiwen
On 11/2/2023 2:50 AM, Yang Xiwen wrote: > On 11/2/2023 2:19 AM, Sean Anderson wrote: >> On 8/17/23 13:04, Yang Xiwen via B4 Relay wrote: >>> From: Yang Xiwen >>> >>> Calling into CCF framework will cause a clock being enabled twice >>> instead of once (clk->enable_count becomes 2 rather than 1),

Re: U-boot env in binary format

2023-11-01 Thread Simon Glass
Hi Simon, On Tue, 31 Oct 2023 at 17:07, SIMON BABY wrote: > > Hello , > Can I know if I could generate uboot env file in binary format as part of my > build process ? > Currently it generate as a text file . There is the tools/mkenvimage program: mkenvimage [-h] [-r] [-b] [-p ] -s -o This

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

2023-11-01 Thread Heinrich Schuchardt
On 11/1/23 19:05, Andre Przywara wrote: On Tue, 31 Oct 2023 14:55:50 +0200 Heinrich Schuchardt wrote: Hi Heinrich, The Zkr ISA extension (ratified Nov 2021) introduced the seed CSR. It provides an interface to a physical entropy source. A RNG driver based on the seed CSR is provided. It

[PATCH 8/8] board: rzg2l: Drop

2023-11-01 Thread Paul Barker
In line with changes elsewhere, drop inclusion of the common header. Signed-off-by: Paul Barker --- board/renesas/rzg2l/rzg2l.c | 1 - 1 file changed, 1 deletion(-) diff --git a/board/renesas/rzg2l/rzg2l.c b/board/renesas/rzg2l/rzg2l.c index 755747e665cb..73201a8c69e5 100644 ---

[PATCH 7/8] clk: rzg2l: Drop

2023-11-01 Thread Paul Barker
In line with changes elsewhere, drop inclusion of the common header. Signed-off-by: Paul Barker --- drivers/clk/renesas/r9a07g044-cpg.c | 1 - drivers/clk/renesas/rzg2l-cpg.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/clk/renesas/r9a07g044-cpg.c

[PATCH 6/8] gpio: rzg2l: Drop

2023-11-01 Thread Paul Barker
In line with changes elsewhere, drop inclusion of the common header. Signed-off-by: Paul Barker --- drivers/gpio/rzg2l-gpio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpio/rzg2l-gpio.c b/drivers/gpio/rzg2l-gpio.c index 7c908d05475a..2477af7874b8 100644 ---

[PATCH 5/8] mmc: renesas-sdhi: Drop

2023-11-01 Thread Paul Barker
In line with changes elsewhere, drop inclusion of the common header. Signed-off-by: Paul Barker --- drivers/mmc/renesas-sdhi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mmc/renesas-sdhi.c b/drivers/mmc/renesas-sdhi.c index 865efdd32184..8cd501c5f7c7 100644 ---

[PATCH 4/8] pinctrl: rzg2l: Drop

2023-11-01 Thread Paul Barker
In line with changes elsewhere, drop inclusion of the common header. Signed-off-by: Paul Barker --- drivers/pinctrl/renesas/rzg2l-pfc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pinctrl/renesas/rzg2l-pfc.c b/drivers/pinctrl/renesas/rzg2l-pfc.c index 7b045f75d3f9..e88ec1c18373

[PATCH 3/8] serial: sh: Drop

2023-11-01 Thread Paul Barker
In line with changes elsewhere, drop inclusion of the common header. Signed-off-by: Paul Barker --- drivers/serial/serial_sh.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/serial/serial_sh.c b/drivers/serial/serial_sh.c index c034ab54e152..e4cc4ee42603 100644 ---

[PATCH 2/8] arm: mach-rmobile: Drop

2023-11-01 Thread Paul Barker
For most source files we can just drop . We need to add an include for in a couple of places. Also sort the include list in memmap-gen3.c while we're here. Signed-off-by: Paul Barker --- arch/arm/mach-rmobile/board.c| 2 +- arch/arm/mach-rmobile/cpu_info-r8a7740.c | 2 +-

[PATCH 1/8] arm: armv8: mmu: Prepare for common.h removal

2023-11-01 Thread Paul Barker
If won't be included before , we need to ensure that we have the required type definitions. Signed-off-by: Paul Barker --- arch/arm/include/asm/armv8/mmu.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/armv8/mmu.h b/arch/arm/include/asm/armv8/mmu.h index

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

2023-11-01 Thread Tony Dinh
Hi Simon, On Wed, Nov 1, 2023 at 9:10 AM Simon Glass wrote: > > Hi Tony, > > On Tue, 31 Oct 2023 at 13:45, Tony Dinh wrote: > > > > On Tue, Oct 31, 2023 at 12:26 PM Tony Dinh wrote: > > > > > > Hi Simon, > > > > > > On Mon, Oct 30, 2023 at 12:47 PM Tony Dinh wrote: > > > > > > > > During

Re: [PATCH v2 1/7] clk/qcom: move from mach-snapdragon

2023-11-01 Thread Sean Anderson
On 10/30/23 18:23, Caleb Connolly wrote: Clock drivers don't belong here, move them to the right place and declutter mach-snapdragon a bit. To de-couple these drivers from specific "target" platforms, add additional config options to enable each clock driver gated behind a common CLK_QCOM

Re: [PATCH RESEND 2/5] clk: call log_debug() instead to avoid console log printing

2023-11-01 Thread Yang Xiwen
On 11/2/2023 2:01 AM, Sean Anderson wrote: > On 11/1/23 13:55, Sean Anderson wrote: >> On 8/17/23 13:04, Yang Xiwen via B4 Relay wrote: >>> From: Yang Xiwen >>> >>> it's a very common case to register a clock without a parent, such as >>> clk_register_fixed_rate(). >> >> Actually, that seems like

Re: [PATCH v1] clk: use private clk struct in CLK_CCF's enable/disable functions

2023-11-01 Thread Sean Anderson
On 9/5/23 18:16, Maksim Kiselev wrote: In clk_enable()/clk_disable() functions, when CCF is activated, we must pass a private clk struct to enable()/disable() ops functions. Otherwise, the use of a container_of() construction within these ops should be banned. Because passing a non-private clk

Re: [PATCH RESEND 5/5] clk: ccf: call clock provided ops directly for endisable()

2023-11-01 Thread Yang Xiwen
On 11/2/2023 2:19 AM, Sean Anderson wrote: > On 8/17/23 13:04, Yang Xiwen via B4 Relay wrote: >> From: Yang Xiwen >> >> Calling into CCF framework will cause a clock being enabled twice >> instead of once (clk->enable_count becomes 2 rather than 1), thus making >> it hard to disable (needs to

Re: [PATCH RESEND 1/5] clk: export clk_register_mux_table()

2023-11-01 Thread Sean Anderson
On 11/1/23 14:37, Yang Xiwen wrote: On 11/2/2023 1:50 AM, Sean Anderson wrote: On 8/17/23 13:04, Yang Xiwen via B4 Relay wrote: From: Yang Xiwen It's already implemented in clk-mux.c, export it in the header file. Signed-off-by: Yang Xiwen ---   include/linux/clk-provider.h | 6 ++  

Re: [PATCH v1] clk: mux: check value returned from clk_mux_val_to_index()

2023-11-01 Thread Sean Anderson
On 9/5/23 13:33, Maksim Kiselev wrote: The clk_mux_val_to_index() may return -EINVAL. In this case clk_mux_get_parent() will return a wrong parent index and this will lead to out of bounds error. E.g. when we register mux clk: ret = clk_register(clk, UBOOT_DM_CLK_CCF_MUX, name,

Re: [PATCH RESEND 1/5] clk: export clk_register_mux_table()

2023-11-01 Thread Yang Xiwen
On 11/2/2023 1:50 AM, Sean Anderson wrote: > On 8/17/23 13:04, Yang Xiwen via B4 Relay wrote: >> From: Yang Xiwen >> >> It's already implemented in clk-mux.c, export it in the header file. >> >> Signed-off-by: Yang Xiwen >> --- >>   include/linux/clk-provider.h | 6 ++ >>   1 file changed, 6

[PATCH] arm: mach-k3: Move K3 common schema.yaml out of board directory

2023-11-01 Thread Andrew Davis
This file is common for all K3, move it out of board/ directory and into mach-k3. As we need to change the path in k3-binman.dtsi let's take this opportunity to switch to absolute paths which makes adding non-TI boards (like Toradex Verdin) not need to override these paths. Signed-off-by: Andrew

Re: cli: Add explicit kconfig dependency for CONFIG_IS_ENABLED macro

2023-11-01 Thread Sean Anderson
On 8/5/23 19:32, Pavel Korotkevich wrote: From fe2ceb7c4365112055ecfc3bbf68ad47330b744d Mon Sep 17 00:00:00 2001 From: Pavel Korotkevich Date: Sun, 6 Aug 2023 02:00:41 +0300 Subject: [PATCH] cli: Add explicit kconfig dependency for CONFIG_IS_ENABLED macro Please add a suitable commit

Re: [PATCH] clk: fix count parameter type for clk_release_all

2023-11-01 Thread Sean Anderson
On 6/19/23 06:47, Eugen Hristev wrote: The second parameter for clk_release_all is used as an unsigned (which makes sense) but the function prototype declares it as an int. This causes warnings/error like such below: include/clk.h:422:48: error: conversion to ‘int’ from ‘unsigned int’ may

Re: [PATCH] drivers: clk: Adjust temp var data type to properly match that of struct clk_ops

2023-11-01 Thread Sean Anderson
On 5/15/23 15:49, Nathan Barrett-Morrison wrote: In commit 5c5992cb90cf ("clk: Add debugging for return values"), a temporary storage variable was added around the ops->get_rate() call inside clk_get_rate(), so that the result could be passed through log_ret. This temporary variable was

Re: [PATCH] clk: change log_err() to log_info() to make it quiet with clk_register_fixed_rate()

2023-11-01 Thread Sean Anderson
On 3/28/23 13:03, notfound405 wrote: clk_register_fixed_rate() calls clk_register() with the fourth argument(parent_name) being NULL, making it output error message. Change to log_info() to fix it. Signed-off-by: Yang Xiwen --- The previous email is signed with a wrong name. The patch is not

Re: [PATCH v1] clk: nuvoton: add read only feature for clk driver

2023-11-01 Thread Sean Anderson
On 3/7/23 22:23, Jim Liu wrote: Hi Sean Thanks for your review. This is a software flag not hardware reg. It just protects the clock source and can't modify it in uboot. OK, can you add that to the commit message and resubmit. --Sean Best regards, Jim On Tue, Mar 7, 2023 at 9:57 PM Sean

Re: [PATCH 1/2] board: phytec: am62x: Add PHYTEC phyCORE-AM62x SoM

2023-11-01 Thread Wadim Egorov
Hi Dhruva, Am 01.11.23 um 16:57 schrieb Dhruva Gole: Hi, On Oct 31, 2023 at 14:37:31 +0100, Wadim Egorov wrote: Add basic support for PHYTEC phyCORE-AM62x SoM. Supported features: - 2GB DDR4 RAM - eMMC Flash - OSPI NOR Flash - external uSD - Ethernet - debug UART Product

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

2023-11-01 Thread Sean Anderson
On 11/1/23 13:49, Andre Przywara wrote: On Wed, 1 Nov 2023 13:16:24 -0400 Sean Anderson wrote: Hi Sean, On 11/1/23 13:05, Andre Przywara wrote: On Tue, 31 Oct 2023 14:55:50 +0200 Heinrich Schuchardt wrote: Hi Heinrich, The Zkr ISA extension (ratified Nov 2021) introduced the seed

Re: [PATCH RESEND 5/5] clk: ccf: call clock provided ops directly for endisable()

2023-11-01 Thread Sean Anderson
On 8/17/23 13:04, Yang Xiwen via B4 Relay wrote: From: Yang Xiwen Calling into CCF framework will cause a clock being enabled twice instead of once (clk->enable_count becomes 2 rather than 1), thus making it hard to disable (needs to call clk_disable() twice). Fix that by calling clock

[PATCH v2] x86: serial: ns16550: Allow the UART to be silently disabled

2023-11-01 Thread Simon Glass
U-Boot normally requires a UART. When booting from coreboot it is sometimes just not available, e.g. when no sysinfo or DBG2 information is provided. In this case we need to continue running, since the display can be used. Add a flag to disable serial for this case. This allows U-Boot to start

Re: [PATCH RESEND 3/5] clk: also handle ENOENT in *_optional functions

2023-11-01 Thread Sean Anderson
On 8/17/23 13:04, Yang Xiwen via B4 Relay wrote: From: Yang Xiwen If the device does not specify any clocks in device tree, these functions will return PTR_ERR(-ENOENT). This is not the intended behavior and does not comply with linux kernel CCF. Fix that by returning NULL under such

Re: [PATCH RESEND 2/5] clk: call log_debug() instead to avoid console log printing

2023-11-01 Thread Sean Anderson
On 11/1/23 13:55, Sean Anderson wrote: On 8/17/23 13:04, Yang Xiwen via B4 Relay wrote: From: Yang Xiwen it's a very common case to register a clock without a parent, such as clk_register_fixed_rate(). Actually, that seems like the only place this is done. Replace log_error() with

Re: [PATCH RESEND 2/5] clk: call log_debug() instead to avoid console log printing

2023-11-01 Thread Sean Anderson
On 8/17/23 13:04, Yang Xiwen via B4 Relay wrote: From: Yang Xiwen it's a very common case to register a clock without a parent, such as clk_register_fixed_rate(). Actually, that seems like the only place this is done. Replace log_error() with log_debug() to avoid useless console log if not

Re: [PATCH RESEND 1/5] clk: export clk_register_mux_table()

2023-11-01 Thread Sean Anderson
On 8/17/23 13:04, Yang Xiwen via B4 Relay wrote: From: Yang Xiwen It's already implemented in clk-mux.c, export it in the header file. Signed-off-by: Yang Xiwen --- include/linux/clk-provider.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/linux/clk-provider.h

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

2023-11-01 Thread Andre Przywara
On Wed, 1 Nov 2023 13:16:24 -0400 Sean Anderson wrote: Hi Sean, > On 11/1/23 13:05, Andre Przywara wrote: > > On Tue, 31 Oct 2023 14:55:50 +0200 > > Heinrich Schuchardt wrote: > > > > Hi Heinrich, > > > >> The Zkr ISA extension (ratified Nov 2021) introduced the seed CSR. It > >> provides

[PATCH] u_boot_pylib: Ensure subprocess is closed down

2023-11-01 Thread Simon Glass
It isn't clear why we need to have two different paths for closing down the pipe. Unify them and use the Python to avoid this warning: subprocess.py:1127: ResourceWarning: subprocess 83531 is still running Note that this code appears to originally have come from [1] and was committed into the

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

2023-11-01 Thread Sean Anderson
On 11/1/23 13:05, Andre Przywara wrote: On Tue, 31 Oct 2023 14:55:50 +0200 Heinrich Schuchardt wrote: Hi Heinrich, The Zkr ISA extension (ratified Nov 2021) introduced the seed CSR. It provides an interface to a physical entropy source. A RNG driver based on the seed CSR is provided. It

Re: [PATCH v4 8/8] cmd: clk: Make soc_clk_dump static

2023-11-01 Thread Sean Anderson
On 10/17/23 12:56, Igor Prusov wrote: After introducing dump to clk_ops there is no need to override or expose this symbol anymore. Signed-off-by: Igor Prusov Reviewed-by: Patrice Chotard Tested-by: Patrice Chotard --- cmd/clk.c | 4 ++-- include/clk.h | 2 -- 2 files changed, 2

Re: [PATCH v4 7/8] clk: treewide: switch to clock dump from clk_ops

2023-11-01 Thread Sean Anderson
On 10/17/23 12:56, Igor Prusov wrote: Switch to using new dump operation in clock provider drivers instead of overriding soc_clk_dump. Signed-off-by: Igor Prusov Tested-by: Patrice Chotard --- arch/mips/mach-pic32/cpu.c | 23 --- drivers/clk/aspeed/clk_ast2600.c

Re: [PATCH v4 3/8] clk: k210: Move soc_clk_dump function

2023-11-01 Thread Sean Anderson
On 10/17/23 12:56, Igor Prusov wrote: Move clock dump function to avoid forward declaration after switching to dump in clk_ops. Signed-off-by: Igor Prusov --- drivers/clk/clk_k210.c | 92 +- 1 file changed, 46 insertions(+), 46 deletions(-) diff

Re: [PATCH v3 0/4] sunxi: SPL FIT support for 32-bit sunxi SoCs

2023-11-01 Thread Jesse T
On Tue, Oct 31, 2023 at 1:18 AM Samuel Holland wrote: > > This series makes the necessary changes so 32-bit sunxi SoCs can load > additional device trees or firmware from SPL along with U-Boot proper. > Crust (SCP firmware) has support for A33 and H3, and H3 also needs to > load an eGon blob to

Re: [PATCH v4 5/8] clk: Add dump operation to clk_ops

2023-11-01 Thread Sean Anderson
On 10/17/23 12:56, Igor Prusov wrote: This adds dump function to struct clk_ops which should replace soc_clk_dump. It allows clock drivers to provide custom dump implementation without overriding generic CCF dump function. Signed-off-by: Igor Prusov Reviewed-by: Patrice Chotard Tested-by:

Re: [PATCH v4 6/8] cmd: clk: Use dump function from clk_ops

2023-11-01 Thread Sean Anderson
On 10/17/23 12:56, Igor Prusov wrote: Add another loop to dump additional info from clock providers that implement dump operation. Signed-off-by: Igor Prusov Reviewed-by: Patrice Chotard Tested-by: Patrice Chotard --- cmd/clk.c | 9 + 1 file changed, 9 insertions(+) diff --git

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

2023-11-01 Thread Andre Przywara
On Tue, 31 Oct 2023 14:55:50 +0200 Heinrich Schuchardt wrote: Hi Heinrich, > The Zkr ISA extension (ratified Nov 2021) introduced the seed CSR. It > provides an interface to a physical entropy source. > > A RNG driver based on the seed CSR is provided. It depends on > mseccfg.sseed being set

[PATCH 2/2] configs: Add am62x_beagleplay_* defconfigs

2023-11-01 Thread Andrew Davis
Add am62x_beagleplay_r5_defconfig for R5 SPL and am62x_beagleplay_a53_defconfig for A53 SPL and U-Boot support. These defconfigs are composite defconfigs built from the config fragment board/ti/am62x/beagleplay_*.config applied onto the base am62x_evm_*_defconfig. Signed-off-by: Andrew Davis

[PATCH 1/2] Makefile: Run defconfig files through the C preprocessor

2023-11-01 Thread Andrew Davis
This allows us to use some of the normal preprocessor directives inside defconfig files. Such as #define and #include. Signed-off-by: Andrew Davis Reviewed-by: Simon Glass --- scripts/kconfig/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 0/2] Allow defconfigs defined from fragments

2023-11-01 Thread Andrew Davis
Hello all, For context see thread ending here[0]. Thanks, Andrew Changes from RFC[1]: - Added Reviewed-by [0] https://marc.info/?l=u-boot=169333616210919=2 [1] https://lists.denx.de/pipermail/u-boot/2023-August/529084.html Andrew Davis (2): Makefile: Run defconfig files through the C

[PATCH 01/20] m68k: Remove CONFIG_FSLDMAFEC

2023-11-01 Thread Tom Rini
There are no platforms which enable this feature, so remove it. Signed-off-by: Tom Rini --- Cc: Angelo Dureghello --- arch/m68k/include/asm/fsl_mcdmafec.h | 151 -- arch/m68k/include/asm/immap.h| 15 - arch/m68k/lib/fec.c |4 +- drivers/dma/Kconfig

[PATCH 17/20] ti: k3: Drop usage

2023-11-01 Thread Tom Rini
None of these files need to be included, drop it. Signed-off-by: Tom Rini --- arch/arm/mach-k3/am62ax/am62a_qos_data.c | 1 - arch/arm/mach-k3/am642_init.c| 1 - arch/arm/mach-k3/am654_init.c| 1 - arch/arm/mach-k3/arm64-mmu.c | 1 -

[PATCH 20/20] x86: Drop from remaining header files

2023-11-01 Thread Tom Rini
None of these header files need to include so we can just drop that entirely. Signed-off-by: Tom Rini --- arch/x86/include/asm/arch-slimbootloader/slimbootloader.h | 1 - arch/x86/include/asm/dma-mapping.h| 1 - 2 files changed, 2 deletions(-) diff --git

[PATCH 19/20] arm: Drop from remaining header files

2023-11-01 Thread Tom Rini
None of these header files need to include so we can just drop that entirely. Signed-off-by: Tom Rini --- arch/arm/mach-davinci/include/mach/dm365_lowlevel.h | 1 - arch/arm/mach-ipq40xx/pinctrl-snapdragon.h | 2 -- arch/arm/mach-keystone/include/mach/mux-k2g.h | 1 -

[PATCH 18/20] sandbox: Drop

2023-11-01 Thread Tom Rini
None of these headers need to be included, drop it. Signed-off-by: Tom Rini --- arch/sandbox/include/asm/clk.h | 1 - arch/sandbox/include/asm/mbox.h | 2 -- arch/sandbox/include/asm/power-domain.h | 2 -- arch/sandbox/include/asm/reset.h| 2 -- 4 files changed, 7

[PATCH 16/20] include: Drop from include lists

2023-11-01 Thread Tom Rini
At this point, we don't need to have be included because of properties in the header itself, it only includes other common header files. We've also audited the code enough at this point that we can drop from being included in headers and rely on code to have the correct inclusions themselves, or

[PATCH 15/20] include/linux/mii.h: Add

2023-11-01 Thread Tom Rini
As this file uses u8/u16 we need to bring in here. Signed-off-by: Tom Rini --- include/linux/mii.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/mii.h b/include/linux/mii.h index 49e29ac314a5..70689bc53d76 100644 --- a/include/linux/mii.h +++ b/include/linux/mii.h @@ -9,6

[PATCH 14/20] fsl-mc: Add prototype for bd_info

2023-11-01 Thread Tom Rini
As the functions fsl_mc_ldpaa_init/fsl_mc_ldpaa_exit take a bd_info as an argument, add a struct bd_info to this header file rather than add to the overall chain. Signed-off-by: Tom Rini --- include/fsl-mc/fsl_mc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/fsl-mc/fsl_mc.h

[PATCH 13/20] ls2080aqds: Add missing headers to eth_ls1088aqds.c

2023-11-01 Thread Tom Rini
As we call sprintf in this file we need to include vsprintf.h in order to get the function prototype and we need linux/string.h for strcmp. Signed-off-by: Tom Rini --- board/freescale/ls2080aqds/eth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/freescale/ls2080aqds/eth.c

[PATCH 12/20] ls1088a: Add missing headers to eth_ls1088aqds.c

2023-11-01 Thread Tom Rini
As we call sprintf in this file we need to include vsprintf.h in order to get the function prototype and we need linux/string.h for strcmp. Signed-off-by: Tom Rini --- board/freescale/ls1088a/eth_ls1088aqds.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 11/20] pg-wcom-ls102xa: Include in the board file

2023-11-01 Thread Tom Rini
Given that this file references CFG_* defines, we need to be explicit in our inclusion of config.h, so that these will be defined. Signed-off-by: Tom Rini --- Cc: Aleksandar Gerasimovski Cc: Rainer Boschung --- board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c | 1 + 1 file changed, 1

[PATCH 10/20] powerpc: Rework includes

2023-11-01 Thread Tom Rini
This file should not include nor should it include so remove both. Signed-off-by: Tom Rini --- arch/powerpc/include/asm/fsl_lbc.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/powerpc/include/asm/fsl_lbc.h b/arch/powerpc/include/asm/fsl_lbc.h index a03f091c3059..95f0f559b4cd

[PATCH 09/20] qe: Add on PowerPC

2023-11-01 Thread Tom Rini
This driver needs when building on PowerPC, add it. Signed-off-by: Tom Rini --- drivers/qe/qe.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c index 736dd8558b60..9631337b8d9d 100644 --- a/drivers/qe/qe.c +++ b/drivers/qe/qe.c @@ -23,6 +23,9 @@

[PATCH 07/20] powerpc: mpc83xx: Rework includes slightly

2023-11-01 Thread Tom Rini
In order to not rely on common.h providing a number of common includes, cleanup what we include directly in order to be able to drop common.h later. Signed-off-by: Tom Rini --- arch/powerpc/cpu/mpc83xx/cpu_init.c | 2 ++ arch/powerpc/cpu/mpc83xx/start.S| 1 + include/mpc83xx.h

[PATCH 08/20] mpc85xx: Add missing include in mpc85xx_sleep.c

2023-11-01 Thread Tom Rini
This file needs the include file that provides the prototypes for flush_dcache() and others. Signed-off-by: Tom Rini --- board/freescale/common/mpc85xx_sleep.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freescale/common/mpc85xx_sleep.c b/board/freescale/common/mpc85xx_sleep.c

[PATCH 06/20] spi: Add to spi-mem-nodm.c

2023-11-01 Thread Tom Rini
This file uses errno return values in functions, so include here rather than rely on indirect inclusion. Signed-off-by: Tom Rini --- drivers/spi/spi-mem-nodm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-mem-nodm.c b/drivers/spi/spi-mem-nodm.c index

[PATCH 04/20] fsl_qe: Drop common.h

2023-11-01 Thread Tom Rini
In both include/fsl_qe.h and then also remove common.h from the files which had included fsl_qe.h Signed-off-by: Tom Rini --- arch/powerpc/cpu/mpc83xx/cpu_init.c | 1 - arch/powerpc/cpu/mpc85xx/cpu_init.c | 1 - board/freescale/common/arm_sleep.c | 1 -

[PATCH 05/20] omap3: Add to

2023-11-01 Thread Tom Rini
The include references values in and so include it directly here rather than rely on indirect inclusion. Signed-off-by: Tom Rini --- arch/arm/include/asm/arch-omap3/cpu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-omap3/cpu.h

[PATCH 03/20] display_options.h: Correct includes

2023-11-01 Thread Tom Rini
First, a header should never include itself so remove that. Second, this header needs to be included as the function prototypes use types that we get via that header. Signed-off-by: Tom Rini --- include/display_options.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 02/20] powerpc: Switch to

2023-11-01 Thread Tom Rini
In matching other architectures that have their global_data.h need to bring in a types.h header, switch to on PowerPC. Signed-off-by: Tom Rini --- arch/powerpc/include/asm/global_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/global_data.h

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

2023-11-01 Thread Simon Glass
Hi Tony, On Tue, 31 Oct 2023 at 13:45, Tony Dinh wrote: > > On Tue, Oct 31, 2023 at 12:26 PM Tony Dinh wrote: > > > > Hi Simon, > > > > On Mon, Oct 30, 2023 at 12:47 PM Tony Dinh wrote: > > > > > > During scanning for the next bootdev, if bootdev_next_prio() encounters > > > a device error

Re: [PATCH 1/2] board: phytec: am62x: Add PHYTEC phyCORE-AM62x SoM

2023-11-01 Thread Dhruva Gole
Hi, On Oct 31, 2023 at 14:37:31 +0100, Wadim Egorov wrote: > Add basic support for PHYTEC phyCORE-AM62x SoM. > > Supported features: > - 2GB DDR4 RAM > - eMMC Flash > - OSPI NOR Flash > - external uSD > - Ethernet > - debug UART > > Product page SoM:

Re: [PATCH v2 0/4] Add AM62x LP SK support

2023-11-01 Thread Nishanth Menon
On 16:31-20231030, Nitin Yadav wrote: > This series adds support of AM62x LP SK. The AM62x LP SK board > is similar to AM62x SK but has some significant changes that > requires different set of device tree at each stage of bootloader. > Also refactors to have common nodes at

Re: [PATCH 0/6] Add AM62SIP SK support

2023-11-01 Thread Nishanth Menon
On 18:58-20231031, Nitin Yadav wrote: > This series adds support of AM62SIP SK board. The AM62SIP SK > is different from AM62x SK in terms of DDR Memory size which > is reduced to 512 M and embedded as part of SoC. > > Note: > - Please apply this series after applying AM62x LP SK support series.

[PATCH] dt-bindings: Remove VSC8531 specific RGMII delay definitions

2023-11-01 Thread Michal Simek
Based on Linux upstream discussion value enumeration shouldn't be used. Instead of it delay in pS should be used that's why remove it from the header. Link: https://lore.kernel.org/all/ynsm%2f0dmpbgo8...@lunn.ch/ Signed-off-by: Michal Simek --- include/dt-bindings/net/mscc-phy-vsc8531.h | 9

[PATCH] doc: ti: j7200_evm: Fix OPTEE platform name

2023-11-01 Thread Nishanth Menon
k3-j7200 does not exist in upstream OPTEE. Use j721e as the platform name. Using k3-j7200 as OPTEE name results in broken boot due to wrong configuration being picked. Fixes: c727b81d6530 ("doc: board: ti: k3: Reuse build instructions") Signed-off-by: Nishanth Menon --- Cc: Reid Tonking Cc:

Re: [GIT PULL] Please pull u-boot-mmc master

2023-11-01 Thread Tom Rini
On Wed, Nov 01, 2023 at 04:56:30PM +0900, Jaehoon Chung wrote: > Dear Tom, > > Please pull u-boot-mmc master into u-boot master branch. > If there is any problem, let me know, plz. > > Best Regards, > Jaehoon Chung > > CI: https://source.denx.de/u-boot/custodians/u-boot-mmc/-/pipelines/18386

Re: [PATCH v1] rng: add dm_rng_read_default() helper

2023-11-01 Thread Heinrich Schuchardt
On 11/1/23 15:49, Alexey Romanov wrote: Add dm_rng_read_default() function, which obtain a series of random bytes. In some cases, such function would be useful because it allows the caller to abstract away from RNG device. Signed-off-by: Alexey Romanov --- drivers/rng/rng-uclass.c | 20

Re: [PATCH v4 1/1] arm: dts: icnova-a20-adb4006: Add board support

2023-11-01 Thread Andre Przywara
On Wed, 1 Nov 2023 08:28:32 +0100 Ludwig Kormann wrote: Hi Ludwig, thanks for the respin! > Add board support for ICnova A20 SomPi compute module on > ICnova ADB4006 development board. > > Specification: > SoM > - Processor: Allwinner A20 Cortex-A7 Dual Core at 1GHz > - 512MB DDR3 RAM > -

[PATCH v1 2/2] drivers: sm: bind child sm devices in the device tree

2023-11-01 Thread Alexey Romanov
From: Dmitry Rokosov One well-known sm child device that provides secure power control is the Secure Power Controller. This device utilizes SMC calls to communicate with power domains on the secure monitor side. Signed-off-by: Dmitry Rokosov Signed-off-by: Alexey Romanov ---

[PATCH v1 1/2] clk: a1: add new clocks for USB stack

2023-11-01 Thread Alexey Romanov
Since we sync device tree with Linux, we have to add this clock definition for USB stack. Signed-off-by: Alexey Romanov --- drivers/clk/meson/a1.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/meson/a1.c b/drivers/clk/meson/a1.c index 1075ba7333..d0f5bb3753 100644 ---

[PATCH v1 0/2] Meson A1: fix USB and NAND stack

2023-11-01 Thread Alexey Romanov
Hello! After a recent sync device tree with the Linux Kernel, some drivers broke. These patchset will fix that. Alexey Romanov (1): clk: a1: add new clocks for USB stack Dmitry Rokosov (1): drivers: sm: bind child sm devices in the device tree drivers/clk/meson/a1.c | 6 ++

[PATCH v1] rng: add dm_rng_read_default() helper

2023-11-01 Thread Alexey Romanov
Add dm_rng_read_default() function, which obtain a series of random bytes. In some cases, such function would be useful because it allows the caller to abstract away from RNG device. Signed-off-by: Alexey Romanov --- drivers/rng/rng-uclass.c | 20 include/rng.h|

Re: [PATCH 1/3] corstone1000: add compressed kernel support

2023-11-01 Thread Tom Rini
On Wed, Nov 01, 2023 at 10:20:41AM +, Abdellatif El Khlifi wrote: > Hi Tom, > > > On Thu, Oct 26, 2023 at 01:50:49PM +0100, abdellatif.elkhl...@arm.com wrote: > > > > > From: Abdellatif El Khlifi > > > > > > unzip the kernel before executing it > > > > > > The Corstone-1000 kernel has

Re: [PATCH v4 0/2] sunxi, usb: Clean up SRAM initialization code

2023-11-01 Thread Andre Przywara
On Thu, 15 Jun 2023 13:06:59 -0600 Sam Edwards wrote: Hi Marek, I just saw that you were not CC:ed on this one. Both patches are fine from my point of view. Do you want to take them through the USB tree, or shall I do it via the sunxi tree? And shall I take future musb-new/sunxi.c patches in

Re: [PATCH] clk: sunxi: Use the right symbol in the Makefile

2023-11-01 Thread Andre Przywara
On Mon, 30 Oct 2023 23:49:22 -0500 Samuel Holland wrote: > CONFIG_ARCH_SUNXI will not be enabled for RISC-V SoCs using this driver. > Use the symbol for the driver itself instead. That works, no changes at all in all sunxi binaries after this patch. > Signed-off-by: Samuel Holland

Re: [PATCH] pinctrl: sunxi: Avoid using .bss for SPL

2023-11-01 Thread Andre Przywara
On Mon, 30 Oct 2023 23:57:40 -0500 Samuel Holland wrote: > sunxi platforms put .bss in DRAM, so .bss is not available in SPL before > DRAM controller initialization. Therefore, this buffer must be placed in > the .data section. Right, this results in 0 bytes of .BSS, down from 5. Though I am

[PATCH v4 1/5] riscv: import read/write_relaxed functions

2023-11-01 Thread Chanho Park
This imports mmio functions from Linux's arch/riscv/include/asm/mmio.h to use read/write[b|w|l|q]_relaxed functions. Signed-off-by: Chanho Park --- arch/riscv/include/asm/io.h | 45 + 1 file changed, 45 insertions(+) diff --git a/arch/riscv/include/asm/io.h

  1   2   >