Re: [RFC PATCH 0/2 v1] Propagate bootph* property to all parent nodes

2025-02-28 Thread Quentin Schulz
Hi Simon, On 2/27/25 5:24 PM, Simon Glass wrote: Hi Quentin, On Wed, 26 Feb 2025 at 03:53, Quentin Schulz wrote: Hi Moteen, On 2/26/25 6:57 AM, Moteen Shah wrote: On 17/02/25 20:32, Quentin Schulz wrote: Hi Moteen, On 2/12/25 10:18 AM, Moteen Shah wrote: [You don't often get email from

[PATCH v6 06/20] scmi_protocols: add SCMI Performance domain management protocol message IDs

2025-02-28 Thread Alice Guo (OSS)
From: Peng Fan SCMI Performance domain management protocol is intended for performance management of groups of devices or APs that run in the same performance domain. The functionality provided by the callee-side can be used by passing the corresponding message_id. Signed-off-by: Peng Fan Signe

Re: [PATCH v2 1/8] dt-bindings: clk: define additional PMC clocks

2025-02-28 Thread Sumit Garg
On Fri, 28 Feb 2025 at 13:46, Alexander Dahl wrote: > > Hei hei, > > Am Thu, Feb 27, 2025 at 03:05:52PM +0530 schrieb Manikandan Muralidharan: > > Add PMC clock definitions for MCK and UTMI which will be required > > for the sam9x7 OF_upstream DT since the clock framework is not in > > sync with L

[PATCH v6 08/20] clk: scmi: check the clock state/parent/rate control permissions

2025-02-28 Thread Alice Guo (OSS)
From: Alice Guo Clock driver based on SCMI clock management protocol in Linux checks clock state, parent and rate control permissions. To be consistent with the kernel driver, add this check here. When using common clock framework (CCF), use the clock signal ID to get the clock registered by clk

Re: [PATCH] pinctrl: renesas: Fix RZN1 symbol name

2025-02-28 Thread Marek Vasut
On 2/28/25 11:26 AM, Paul Barker wrote: On 27/02/2025 23:43, Marek Vasut wrote: The RZN1 symbol name is CONFIG_RZN1, there is no CONFIG_ARCH_RZN1. Fix the symbol name so the pinctrl driver for RZN1 gets build. Fixes: e4aea57fa773 ("pinctrl: renesas: add R906G032 driver") Signed-off-by: Marek Va

Re: [PATCH] rockchip: nanopi-r4s: Enable second usb port and fix crash

2025-02-28 Thread Kever Yang
On 2025/2/1 01:06, Justin Klaassen wrote: The patch enables the second USB3.0 Type-A USB port on the NanoPi R4S board, which prevents a crash when initializing the usb system in U-Boot and allows both Type-A USB ports to be used for booting. => usb start starting USB... Bus usb@fe38: USB E

[PATCH v6 3/6] efi_loader: preserve installer images in pmem

2025-02-28 Thread Sughosh Ganu
From: Ilias Apalodimas One of the problems OS installers face, when running in EFI, is that the mounted ISO after calling ExitBootServices goes away. For some distros this is a problem since they rely on finding some core packages before continuing the installation. Distros have works around this

Re: [PATCH] rockchip: rk3308: Drop unused rk_board_init()

2025-02-28 Thread Kever Yang
On 2024/11/3 04:45, Jonas Karlman wrote: Nothing is calling the function rk_board_init() and the io-domain driver can handle the functions intended purpose based on information from DT. Cleanup by removing the unused rk_board_init() function and re-sort included headers. Signed-off-by: Jonas

Re: [PATCH] rockchip: nanopi-r3s-rk3566: disable unneeded CONFIG_NVME_PCI

2025-02-28 Thread Kever Yang
On 2025/1/15 13:37, Tianling Shen wrote: This board does not have any NVMe slot, so disable unneeded CONFIG_NVME_PCI option. Fixes: bf4a33e725ae ("board: rockchip: add FriendlyElec NanoPi R3S") Signed-off-by: Tianling Shen Reviewed-by: Kever Yang Thanks, - Kever --- configs/nanopi-r3s-r

[PATCH v2] Kconfig: Introduce CONFIG_WERROR

2025-02-28 Thread Paul Barker
Add a new config option under "General setup" to enable the -Werror flag when building U-Boot. This is useful during development to help catch mistakes. This is based on a similar config option added to the Linux kernel by Linus in 2021 - see Linux commit 3fe617ccafd6 ("Enable '-Werror' by default

Re: [PATCH 1/2] usb: gadget: Remove final remnants of CONFIG_USB_DEVICE

2025-02-28 Thread Mattijs Korpershoek
Hi Tom, Thank you for the patch. On jeu., févr. 27, 2025 at 14:51, Tom Rini wrote: > The lone user of the legacy USB device framework have been removed for > some time. Remove the final parts of the code that were missed. > > Signed-off-by: Tom Rini > --- > Cc: Marek Vasut > Cc: Mattijs Korpe

Re: Re-installation of device-tree as EFI configuration table

2025-02-28 Thread Heinrich Schuchardt
On 28.02.25 11:34, Sughosh Ganu wrote: hi, The logic in efi_install_fdt() is such that with the EFI_FDT_USE_INTERNAL passed as a parameter to the function, the EFI configuration table is first checked to see if a device-tree(DT) has already been installed as the configuration table, and in case a

[PATCH v6 01/20] mailbox: add i.MX Messaging Unit (MU) driver

2025-02-28 Thread Alice Guo (OSS)
From: Peng Fan This patch provides a driver for i.MX Messaging Unit (MU) using the commom mailbox framework. This is ported from Linux (v6.12.8) driver drivers/mailbox/imx-mailbox.c. Its commit SHA is: 39d7d6177f0c ("mailbox: imx: use device name in interrupt name") Signed-off-by: Viorel Suman

[PATCH v6 00/20] imx: add i.MX95 support

2025-02-28 Thread Alice Guo (OSS)
Changes in v6: - add BOOTSTD - add an explanation in the commit log that i.MX specific protoc6: - remove unused code from etype nxp_header_ddrfw to make code coverage 100% Signed-off-by: Alice Guo --- Alice Guo (9): pinctrl: nxp: add a pin controller driver based on SCMI pin control prot

Re: [PATCH v2 01/14] arch: introduce symbol HAVE_INITJMP

2025-02-28 Thread Ilias Apalodimas
Hi Jerome, On Tue, 25 Feb 2025 at 18:35, Jerome Forissier wrote: > > HAVE_INIJMP will be set by architectures that support initjmp(), a > non-standard extension to setjmp()/longjmp() allowing to initialize a > jump buffer with a function pointer and a stack pointer. This will be > useful to late

Re: [PATCH v2 02/14] arm: add initjmp()

2025-02-28 Thread Ilias Apalodimas
On Tue, 25 Feb 2025 at 18:35, Jerome Forissier wrote: > > Implement initjmp() for Arm. > > Signed-off-by: Jerome Forissier > --- > arch/Kconfig | 1 + > arch/arm/include/asm/setjmp.h | 1 + > arch/arm/lib/setjmp.S | 11 +++ > arch/arm/lib/setjmp_aarch64.S | 9

[PATCH v2] pinctrl: renesas: Drop special RZN1 entry from Makefile

2025-02-28 Thread Marek Vasut
The RZN1 symbol name is CONFIG_RZN1, there is no CONFIG_ARCH_RZN1. Since RZN1 enables CONFIG_ARCH_RENESAS as well, remove the special RZN1 entry from Makefile, the RZN1 pinctrl driver will still be pulled in via CONFIG_ARCH_RENESAS. Fixes: e4aea57fa773 ("pinctrl: renesas: add R906G032 driver") Sig

[PATCH v3 1/4] net: phy: Port set/clear bits from Linux

2025-02-28 Thread Paul Barker
To simply porting phy drivers from Linux to U-Boot, define phy_set_bits() and phy_clear_bits() functions with a similar API to those used in Linux. The U-Boot versions of these functions include the `devad` argument which is not present in the Linux versions, to keep them aligned with the other ph

Re: [PATCH] MAINTAINERS, git-mailrc: socfpga: Update email to Altera

2025-02-28 Thread Tom Rini
On Fri, Feb 28, 2025 at 10:36:41AM +, Chee, Tien Fong wrote: > Hi Tom, > > -Original Message- > From: Tom Rini > Sent: Thursday, February 27, 2025 9:48 PM > To: Chee, Tien Fong > Cc: u-boot@lists.denx.de; tien.fong.c...@altera.com > Subject: Re: [PATCH] MAINTAINERS, git-mailrc: socf

Re: [PATCH v2 02/14] arm: add initjmp()

2025-02-28 Thread Jerome Forissier
On 2/28/25 14:28, Heinrich Schuchardt wrote: > On 28.02.25 14:21, Jerome Forissier wrote: >> >> >> On 2/28/25 14:05, Heinrich Schuchardt wrote: >>> On 25.02.25 17:34, Jerome Forissier wrote: Implement initjmp() for Arm. Signed-off-by: Jerome Forissier ---    arch/Kconfi

Re: [PATCH v2 08/14] lib: time: hook uthread_schedule() into udelay()

2025-02-28 Thread Yao Zi
On Fri, Feb 28, 2025 at 03:38:22PM +0200, Ilias Apalodimas wrote: > Hi Jerome, > > On Tue, 25 Feb 2025 at 18:35, Jerome Forissier > wrote: > > > > Introduce a uthread scheduling loop into udelay() when CONFIG_UTHREAD > > is enabled. This means that any uthread calling into udelay() may yield > >

Re: [PATCH v2 1/3] mbedtls: fix incorrect kconfig dependencies on mbedtls

2025-02-28 Thread Tom Rini
On Mon, 03 Feb 2025 14:08:12 -0800, Raymond Mao wrote: > Fixed the building failures when WGET_HTTPS,NET_LWIP and MBEDTLS_LIB > are selected due to a few incorrect kconfig dependencies. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH v2 06/14] uthread: add cooperative multi-tasking interface

2025-02-28 Thread Jerome Forissier
On 2/28/25 14:09, Ilias Apalodimas wrote: > Hi Jerome, > > On Tue, 25 Feb 2025 at 18:35, Jerome Forissier > wrote: >> >> Add an new > > 'a' Fixed in v3 > >> internal API called uthread (Kconfig symbol: UTHREAD) which >> provides cooperative multi-tasking. The goal is to be able to improve

[PATCH v2] usb: dwc3: am62: Use UCLASS_NOP for glue driver

2025-02-28 Thread Mattijs Korpershoek
The dwc3 driver allows SoC-specific configuration via the dwc3_glue_ops structure. Glue drivers, which implement dwc3_glue_ops, usually just define the .glue_configure() function. dwc3-am62 is such glue driver which does not need to be a SIMPLE_BUS since it does not interact with any child device.

[PATCH] MAINTAINERS: Update contact information for Greg Malysa

2025-02-28 Thread Greg Malysa
My previous address is no longer accessible, but I will continue to be involved in maintaining the ADI sc5xx platforms. This updates my contact information to avoid bouncing emails from other developers. Signed-off-by: Greg Malysa --- .mailmap| 1 + MAINTAINERS | 2 +- 2 files changed, 2 i

Re: [PATCH v2 05/14] test: lib: add initjmp() test

2025-02-28 Thread Heinrich Schuchardt
On 25.02.25 17:34, Jerome Forissier wrote: Test the initjmp() function when HAVE_INITJMP is set. Signed-off-by: Jerome Forissier --- test/lib/Makefile | 1 + test/lib/initjmp.c | 72 ++ 2 files changed, 73 insertions(+) create mode 100644 test

Re: [PATCH v4 1/3] xilinx: dfu: Fill directly update_info.dfu_string

2025-02-28 Thread Jon Humphreys
Heinrich Schuchardt writes: > On 28.02.25 16:41, Michal Simek wrote: >> >> >> On 2/28/25 15:33, Heinrich Schuchardt wrote: >>> On 26.02.25 23:35, Jonathan Humphreys wrote: From: Michal Simek Directly fill update_info.dfu_string to prepare platforms to switch from using dfu_al

Re: [PATCH v2 08/14] lib: time: hook uthread_schedule() into udelay()

2025-02-28 Thread Ilias Apalodimas
Hi Yao On Fri, 28 Feb 2025 at 16:16, Yao Zi wrote: > > On Fri, Feb 28, 2025 at 03:38:22PM +0200, Ilias Apalodimas wrote: > > Hi Jerome, > > > > On Tue, 25 Feb 2025 at 18:35, Jerome Forissier > > wrote: > > > > > > Introduce a uthread scheduling loop into udelay() when CONFIG_UTHREAD > > > is ena

Re: [PATCH v4 1/3] xilinx: dfu: Fill directly update_info.dfu_string

2025-02-28 Thread Heinrich Schuchardt
On 26.02.25 23:35, Jonathan Humphreys wrote: From: Michal Simek Directly fill update_info.dfu_string to prepare platforms to switch from using dfu_alt_info variable to dfu_string which contains description for capsule update when switch is done. Other platforms only set the environment variab

Re: [RFC PATCH] UFS: Remove the timeout while send command

2025-02-28 Thread neil . armstrong
Hi, On 27/02/2025 07:04, Venkatesh Yadav Abbarapu wrote: Based on the UFS speed mode(HS or PWM) the timeout might vary and can result timeouts. Can't you bump the QUERY_REQ_TIMEOUT to the PWM timeout delay ? Neil ufs-versal2-pltfm ufs@f10b: Timedout waiting for UTP response ufs-versal2

Re: [PATCH v2 07/14] cyclic: invoke uthread_schedule() from schedule()

2025-02-28 Thread Stefan Roese
Hi Jerome, On 27.02.25 18:05, Jerome Forissier wrote: Hi Stefan, On 2/27/25 13:30, Stefan Roese wrote: Hi Jerome, On 25.02.25 17:34, Jerome Forissier wrote: Make the schedule() call from the CYCLIC framework a uthread scheduling point too. This makes sense since schedule() is called from a l

Re: [PATCH v2 02/14] arm: add initjmp()

2025-02-28 Thread Tom Rini
On Fri, Feb 28, 2025 at 03:16:37PM +0100, Jerome Forissier wrote: > > > On 2/28/25 14:28, Heinrich Schuchardt wrote: > > On 28.02.25 14:21, Jerome Forissier wrote: > >> > >> > >> On 2/28/25 14:05, Heinrich Schuchardt wrote: > >>> On 25.02.25 17:34, Jerome Forissier wrote: > Implement initjmp

Re: [PATCH] pci: dw_common: Set INCREASE_REGION_SIZE flag based on limit address

2025-02-28 Thread Neil Armstrong
Hi, On 06/02/2025 09:49, Neil Armstrong wrote: Set the INCREASE_REGION_SIZE for the outbound iATU entry if it causes the 4GB range overflow in order to activate the extended limit address by means of an additional iATU CSR (upper limit address register). This is required to make PCIe host contr

Re: [PATCH v4 1/3] xilinx: dfu: Fill directly update_info.dfu_string

2025-02-28 Thread Heinrich Schuchardt
On 28.02.25 16:41, Michal Simek wrote: On 2/28/25 15:33, Heinrich Schuchardt wrote: On 26.02.25 23:35, Jonathan Humphreys wrote: From: Michal Simek Directly fill update_info.dfu_string to prepare platforms to switch from using dfu_alt_info variable to dfu_string which contains description f

Re: [PATCH] efi_loader: Clean up usage of structure jmp_buf_data

2025-02-28 Thread Heinrich Schuchardt
On 16.02.25 18:36, Yao Zi wrote: On Sun, Feb 16, 2025 at 05:50:53PM +0100, Heinrich Schuchardt wrote: Am 16. Februar 2025 15:26:31 MEZ schrieb Yao Zi : On Sat, Feb 15, 2025 at 05:58:18PM +0100, Heinrich Schuchardt wrote: On 15.02.25 16:54, Yao Zi wrote: Structure jmp_buf_data provides the und

[PATCH 2/2] arm: mach-sc5xx: Remove inappropriate board-specific functions

2025-02-28 Thread Greg Malysa
The sc5xx machine code includes implementations of board_init and board_early_init_f which should not be included in the base soc support code, as they should be implemented by a board where necessary. This removes the default empty implementations of both from mach-sc5xx. Signed-off-by: Greg Mal

RE: [PATCH] MAINTAINERS, git-mailrc: socfpga: Update email to Altera

2025-02-28 Thread Chee, Tien Fong
Hi Tom, -Original Message- From: Tom Rini Sent: Thursday, February 27, 2025 9:48 PM To: Chee, Tien Fong Cc: u-boot@lists.denx.de; tien.fong.c...@altera.com Subject: Re: [PATCH] MAINTAINERS, git-mailrc: socfpga: Update email to Altera On Thu, Feb 27, 2025 at 12:09:04PM +0800, tien.fong.

Re: [PATCH] pinctrl: renesas: Fix RZN1 symbol name

2025-02-28 Thread Paul Barker
On 27/02/2025 23:43, Marek Vasut wrote: > The RZN1 symbol name is CONFIG_RZN1, there is no CONFIG_ARCH_RZN1. > Fix the symbol name so the pinctrl driver for RZN1 gets build. > > Fixes: e4aea57fa773 ("pinctrl: renesas: add R906G032 driver") > Signed-off-by: Marek Vasut > --- > Cc: Paul Barker > C

Re: [PATCH] crypto: fsl_hash: fix flush dcache alignment in caam_hash()

2025-02-28 Thread Benjamin Lemouzy
Hi Peng, On Fri, 28 Feb 2025 12:17:56 +0800 Peng Fan wrote: > Hi Benjamin, > > On Fri, Feb 21, 2025 at 08:05:01AM +0100, blemouzy...@gmail.com wrote: > >From: Benjamin Lemouzy > > > >Loading a FIT kernel image with hash hardware acceleration enabled > >(CONFIG_SHA_HW_ACCEL=y) displays the foll

Re: [PATCH v2 05/14] test: lib: add initjmp() test

2025-02-28 Thread Ilias Apalodimas
On Tue, 25 Feb 2025 at 18:35, Jerome Forissier wrote: > > Test the initjmp() function when HAVE_INITJMP is set. > > Signed-off-by: Jerome Forissier > --- > test/lib/Makefile | 1 + > test/lib/initjmp.c | 72 ++ > 2 files changed, 73 insertions(+) >

Re: [PATCH v2 07/14] cyclic: invoke uthread_schedule() from schedule()

2025-02-28 Thread Ilias Apalodimas
On Tue, 25 Feb 2025 at 18:35, Jerome Forissier wrote: > > Make the schedule() call from the CYCLIC framework a uthread scheduling > point too. This makes sense since schedule() is called from a lot of > places where uthread_schedule() needs to be called. > > Signed-off-by: Jerome Forissier [...]

Re: [PATCH v2 02/14] arm: add initjmp()

2025-02-28 Thread Jerome Forissier
On 2/28/25 14:05, Heinrich Schuchardt wrote: > On 25.02.25 17:34, Jerome Forissier wrote: >> Implement initjmp() for Arm. >> >> Signed-off-by: Jerome Forissier >> --- >>   arch/Kconfig  |  1 + >>   arch/arm/include/asm/setjmp.h |  1 + >>   arch/arm/lib/setjmp.S | 11

Re: [PATCH v2 06/14] uthread: add cooperative multi-tasking interface

2025-02-28 Thread Heinrich Schuchardt
On 25.02.25 17:34, Jerome Forissier wrote: Add an new internal API called uthread (Kconfig symbol: UTHREAD) which nits: %s/an/a/ provides cooperative multi-tasking. The goal is to be able to improve the performance of some parts of U-Boot by overlapping lengthy operations, and also implement

Re: [PATCH v2 10/14] test: lib: add uthread test

2025-02-28 Thread Ilias Apalodimas
On Tue, 25 Feb 2025 at 18:35, Jerome Forissier wrote: > > Add a uhread framework test to the lib tests. > > Signed-off-by: Jerome Forissier > --- > test/lib/Makefile | 1 + > test/lib/uthread.c | 68 ++ > 2 files changed, 69 insertions(+) > create m

Re: [PATCH v2 11/14] dm: usb: move bus initialization into new static function usb_init_bus()

2025-02-28 Thread Ilias Apalodimas
On Tue, 25 Feb 2025 at 18:35, Jerome Forissier wrote: > > To prepare for the introduction of coroutines in the USB initialization > sequence, move code out of usb_init() into a new helper function: > usb_init_bus(). No functional change. > > Signed-off-by: Jerome Forissier > --- > drivers/usb/ho

Re: [PATCH v2 02/14] arm: add initjmp()

2025-02-28 Thread Heinrich Schuchardt
On 28.02.25 14:21, Jerome Forissier wrote: On 2/28/25 14:05, Heinrich Schuchardt wrote: On 25.02.25 17:34, Jerome Forissier wrote: Implement initjmp() for Arm. Signed-off-by: Jerome Forissier ---   arch/Kconfig  |  1 +   arch/arm/include/asm/setjmp.h |  1 +   arch/arm/lib

Re: [PATCH v2 08/14] lib: time: hook uthread_schedule() into udelay()

2025-02-28 Thread Ilias Apalodimas
Hi Jerome, On Tue, 25 Feb 2025 at 18:35, Jerome Forissier wrote: > > Introduce a uthread scheduling loop into udelay() when CONFIG_UTHREAD > is enabled. This means that any uthread calling into udelay() may yield > to uthread and be scheduled again later. > > While not strictly necessary since ut

Re-installation of device-tree as EFI configuration table

2025-02-28 Thread Sughosh Ganu
hi, The logic in efi_install_fdt() is such that with the EFI_FDT_USE_INTERNAL passed as a parameter to the function, the EFI configuration table is first checked to see if a device-tree(DT) has already been installed as the configuration table, and in case a table is found, the function returns wit

Re: Re-installation of device-tree as EFI configuration table

2025-02-28 Thread Sughosh Ganu
hello Heinrich, On Fri, 28 Feb 2025 at 16:23, Heinrich Schuchardt wrote: > > On 28.02.25 11:34, Sughosh Ganu wrote: > > hi, > > The logic in efi_install_fdt() is such that with the > > EFI_FDT_USE_INTERNAL passed as a parameter to the function, the EFI > > configuration table is first checked to

Re: [PATCH v2 1/8] dt-bindings: clk: define additional PMC clocks

2025-02-28 Thread Eugen Hristev
On 2/28/25 12:58, Sumit Garg wrote: > On Fri, 28 Feb 2025 at 15:20, wrote: >> >> Hi Eugen, >> >> On 27/02/25 7:48 pm, Eugen Hristev wrote: >>> EXTERNAL EMAIL: Do not click links or open attachments unless you know the >>> content is safe >>> >>> On 2/27/25 12:37, manikanda...@microchip.com wro

Re: [PATCH v2 01/14] arch: introduce symbol HAVE_INITJMP

2025-02-28 Thread Heinrich Schuchardt
On 25.02.25 17:34, Jerome Forissier wrote: HAVE_INIJMP will be set by architectures that support initjmp(), a non-standard extension to setjmp()/longjmp() allowing to initialize a jump buffer with a function pointer and a stack pointer. This will be useful to later introduce threads. With this ne

Re: [PATCH v2] pinctrl: renesas: Drop special RZN1 entry from Makefile

2025-02-28 Thread Paul Barker
On 28/02/2025 12:02, Marek Vasut wrote: > The RZN1 symbol name is CONFIG_RZN1, there is no CONFIG_ARCH_RZN1. > Since RZN1 enables CONFIG_ARCH_RENESAS as well, remove the special > RZN1 entry from Makefile, the RZN1 pinctrl driver will still be > pulled in via CONFIG_ARCH_RENESAS. > > Fixes: e4aea5

Re: [PATCH 0/5] net: lwip: root certificates

2025-02-28 Thread Jerome Forissier
Hi Ilias, On 2/28/25 08:40, Ilias Apalodimas wrote: > Hi Jerome, > > On Thu, 27 Feb 2025 at 20:31, Jerome Forissier > wrote: >> >> >> >> On 2/27/25 19:06, Tom Rini wrote: >>> On Thu, Feb 27, 2025 at 05:09:00PM +0100, Jerome Forissier wrote: >>> This series adds support for HTTP server authe

Re: [PATCH v2] board: ti: j784s4: Update Resource Management configs

2025-02-28 Thread Kumar, Udit
On 2/28/2025 11:12 AM, Neha Malcom Francis wrote: From: Vaishnav Achath Update rm-cfg.yaml and tifs-rm-cfg.yaml to account for the changes added in the K3 Resource Partitioning Tool v1.18 The change enables resource sharing between A72_2 and MAIN_0_R5_0 for the BCDMA CSI RX and TX channels,

[PATCH v4 1/4] tpl: Rename TPL_NEEDS_SEPARATE_STACK to TPL_HAVE_INIT_STACK

2025-02-28 Thread Simon Glass
The most common word for features that make a platform work is to use 'HAVE_xxx'. Rename this option to match. Update the help to use the word 'phase' rather than 'stage', since that is the current terminology. Also clarify that, absent this setting, the stack pointer generally comes from the valu

[PATCH v4 3/4] spl: Use CONFIG_VAL() to obtain the SPL stack

2025-02-28 Thread Simon Glass
Now that we have the same option for SPL and TPL, simplify the logic for determining the initial stack. Note that this changes behaviour as current SPL_STACK is a fallback for TPL. However, that was likely unintended and can be handled with Kconfig defaults if needed. Signed-off-by: Simon Glass

[PATCH v4 4/4] arm: Support a separate stack for VPL

2025-02-28 Thread Simon Glass
VPL has the same needs as TPL in situations where the stack is at the top of SRAM. Add an option for this and implement it for arm Signed-off-by: Simon Glass --- Changes in v4: - Rebase to -next Changes in v3: - Use 'phase' instead of 'stage' in VPL_STACK - Split off into its own 'vbh' series

[PATCH v6 03/20] pinctrl: nxp: add a pin controller driver based on SCMI pin control protocol

2025-02-28 Thread Alice Guo (OSS)
From: Alice Guo This patch provides a pinctrl driver based on SCMI pin control protocol. Currently, only the PINCTRL_CONFIG_SET command is implemented. Signed-off-by: Ranjani Vaidyanathan Signed-off-by: Peng Fan Signed-off-by: Alice Guo Reviewed-by: Ye Li --- drivers/pinctrl/nxp/Kconfig

[PATCH v6 07/20] clk: scmi: add the command CLOCK_PARENT_SET

2025-02-28 Thread Alice Guo (OSS)
From: Peng Fan This patch adds the command CLOCK_PARENT_SET that can be used to set the parent of a clock. ARM SCMI Version 3.2 supports to change the parent of a clock device. Signed-off-by: Peng Fan Signed-off-by: Alice Guo Reviewed-by: Ye Li --- drivers/clk/clk_scmi.c | 20 +

[PATCH v6 05/20] scmi_protocols: add SCMI misc protocol protocol_id and message_id for getting the ROM passover data

2025-02-28 Thread Alice Guo (OSS)
From: Peng Fan SCMI misc protocol is intended for miscellaneous functions which are device specific and are usually defined to access bit fields. It is i.MX specific. This patch adds SCMI misc protocol protocol_id and message_id for getting the ROM passover data. Signed-off-by: Peng Fan Signed-

[PATCH v6 04/20] firmware: scmi: add pin control protocol support to SCMI agent

2025-02-28 Thread Alice Guo (OSS)
From: Alice Guo This patch adds SCMI pin control protocol support so that the pin controller driver based on SCMI, such as drivers/pinctrl/nxp/pinctrl-scmi.c, can be bound to the SCMI agent device whose protocol id is 0x19. Signed-off-by: Alice Guo --- drivers/firmware/scmi/scmi_agent-uclass.c

[PATCH v6 02/20] firmware: scmi: smt: Interrupt communication enable

2025-02-28 Thread Alice Guo (OSS)
From: Viorel Suman i.MX95 System Manager uses interrupt driven communication which requires the caller to set Bit[0] of channel flags to 1. When transmission completes and the previous general purpose interrupt has been processed by the other core, i.MX95 System Manager will set General Purpose I

[PATCH v6 10/20] scmi_protocols: update struct scmi_base_discover_list_protocols_out

2025-02-28 Thread Alice Guo (OSS)
From: Ye Li @protocols is an array of protocol identifiers that are implemented, excluding the Base protocol. The number of elements of @protocols is specified by callee-side. Currently, set it to 4 is enough for i.MX95. Signed-off-by: Ye Li Signed-off-by: Alice Guo --- include/scmi_protocols

[PATCH v6 11/20] imx9: scmi: add i.MX95 SoC and clock related code

2025-02-28 Thread Alice Guo (OSS)
From: Peng Fan This patch adds i.MX95 SoC and clock related code. Because they are based on SCMI, put them in the scmi subfolder. Signed-off-by: Ye Li Signed-off-by: Peng Fan Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- arch/arm/include/asm/arch-imx/cpu.h| 2 + arch/arm/incl

[PATCH v6 12/20] spl: imx: use trampoline buffer to load images to secure region

2025-02-28 Thread Alice Guo (OSS)
From: Ye Li When SPL loading image to secure region, for example, ATF and tee to DDR secure region. Because the USDHC controller is non-secure master, it can't access this region and will cause loading issue. So use a trampoline buffer in non-secure region, then use CPU to copy the image from tr

[PATCH v6 14/20] imx: Kconfig: IMX8_ROMAPI is not configured for i.MX95

2025-02-28 Thread Alice Guo (OSS)
From: Alice Guo i.MX95 only supports low power boot, which means A55 is kicked by M33. There is no ROM runs on A55 in such case so that deselect IMX8_ROMAPI for i.MX95. Signed-off-by: Alice Guo --- arch/arm/mach-imx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ar

Re: [PATCH 0/5] net: lwip: root certificates

2025-02-28 Thread Ilias Apalodimas
Hi Jerome, On Thu, 27 Feb 2025 at 20:31, Jerome Forissier wrote: > > > > On 2/27/25 19:06, Tom Rini wrote: > > On Thu, Feb 27, 2025 at 05:09:00PM +0100, Jerome Forissier wrote: > > > >> This series adds support for HTTP server authentication using root (CA) > >> certificates. > >> > >> As a first

[PATCH v6 13/20] imx9: add i.MX95 Kconfig and Makefile

2025-02-28 Thread Alice Guo (OSS)
From: Ye Li This patch adds i.MX95 Kconfig and Makefile. i.MX95 uses SCMI. Signed-off-by: Ye Li Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- arch/arm/mach-imx/imx9/Kconfig | 8 arch/arm/mach-imx/imx9/Makefile | 9 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) d

[PATCH v6 19/20] imx95_evk: add i.MX95 19x19 EVK board basic support

2025-02-28 Thread Alice Guo (OSS)
From: Ye Li This patch adds i.MX95 19x19 EVK board basic support. Messaging unit for EdgeLock Secure Enclave, messaging unit for System Manager, uSDHC for SD Card, gpio, lpuart are supported now. Signed-off-by: Ye Li Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- arch/arm/dts/imx95-19x1

[PATCH v6 15/20] binman: add a new entry type for packing DDR PHY firmware images

2025-02-28 Thread Alice Guo (OSS)
From: Alice Guo i.MX95 needs to combine DDR PHY firmware images and their byte counts together, so add a new entry type nxp-header-ddrfw for this requirement. Signed-off-by: Alice Guo --- tools/binman/entries.rst | 10 ++ tools/binman/etype/nxp_header_ddrfw.py| 29

[PATCH v6 16/20] tools: imx8image: add i.MX95 support

2025-02-28 Thread Alice Guo (OSS)
From: Alice Guo i.MX95 uses binman to invoke mkimage to create image container. 2 image containers are needed currently. The first one is composed of ahab-container.img, LPDDR firmware images, OEI images, System Manager image and u-boot-spl.bin. The second one is consisted of ARM Trusted firmware

[PATCH v6 17/20] imx: add V2X container support on i.MX95

2025-02-28 Thread Alice Guo (OSS)
From: Teo Hall This patch adds V2X container support on i.MX95. Signed-off-by: Ye Li Signed-off-by: Teo Hall Signed-off-by: Alice Guo --- arch/arm/mach-imx/image-container.c | 63 +++-- 1 file changed, 40 insertions(+), 23 deletions(-) diff --git a/arch/arm/m

[PATCH v6 18/20] doc: imx: add document for i.MX95 Image Container Format

2025-02-28 Thread Alice Guo (OSS)
From: Alice Guo This patch add a document for i.MX95 Image Container Format. Signed-off-by: Alice Guo --- doc/imx/imx95_container.txt | 136 1 file changed, 136 insertions(+) diff --git a/doc/imx/imx95_container.txt b/doc/imx/imx95_container.txt ne

[PATCH v6 20/20] Makefile: add some files to CLEAN_FILES

2025-02-28 Thread Alice Guo
When building the flash.bin of i.MX95 with binman, mkimage.imx-boot.spl, mkimage.imx-boot.u-boot, mkimage-out.imx-boot.spl and mkimage-out.imx-boot.u-boot are created. Add these files to CLEAN_FILES so that they can be removed when running "make clean". Signed-off-by: Alice Guo --- Makefile | 3

Re: [PATCH v2 1/8] dt-bindings: clk: define additional PMC clocks

2025-02-28 Thread Sumit Garg
On Fri, 28 Feb 2025 at 15:20, wrote: > > Hi Eugen, > > On 27/02/25 7:48 pm, Eugen Hristev wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > > content is safe > > > > On 2/27/25 12:37, manikanda...@microchip.com wrote: > >> Hi Sumit, > >> > >> On 27/02/25 3:14

Re: [PATCH v2 1/8] dt-bindings: clk: define additional PMC clocks

2025-02-28 Thread Sumit Garg
On Fri, 28 Feb 2025 at 16:45, Eugen Hristev wrote: > > > > On 2/28/25 12:58, Sumit Garg wrote: > > On Fri, 28 Feb 2025 at 15:20, wrote: > >> > >> Hi Eugen, > >> > >> On 27/02/25 7:48 pm, Eugen Hristev wrote: > >>> EXTERNAL EMAIL: Do not click links or open attachments unless you know > >>> the c

Re: [PATCH v2 02/14] arm: add initjmp()

2025-02-28 Thread Heinrich Schuchardt
On 25.02.25 17:34, Jerome Forissier wrote: Implement initjmp() for Arm. Signed-off-by: Jerome Forissier --- arch/Kconfig | 1 + arch/arm/include/asm/setjmp.h | 1 + arch/arm/lib/setjmp.S | 11 +++ arch/arm/lib/setjmp_aarch64.S | 9 + 4 files cha

[PATCH v4 2/4] spl: Add an SPL_HAVE_INIT_STACK option

2025-02-28 Thread Simon Glass
At present there is a hex value SPL_STACK which both determines whether SPL has its own initial stack and the hex value of that stack. Split off the former into SPL_HAVE_INIT_STACK with SPL_STACK depending on that and only providing the latter. Signed-off-by: Simon Glass --- (no changes since v

[PATCH v1 2/2] toradex: apalis/colibri imx6: Select correct DTB for SoM v1.2+

2025-02-28 Thread Ernest Van Hoecke
When "fdtfile" is not set, use the "variant" environment variable to select the correct DTB. Apalis/Colibri iMX6 V1.2 replaced the STMPE811 ADC/Touch controller which is EOL with the TLA2024 ADC and AD7879 touch controller. They thus require a different DTB, which we can easily select with the var

Re: [PATCH v2 05/14] test: lib: add initjmp() test

2025-02-28 Thread Jerome Forissier
On 2/28/25 14:04, Heinrich Schuchardt wrote: > On 25.02.25 17:34, Jerome Forissier wrote: >> Test the initjmp() function when HAVE_INITJMP is set. >> >> Signed-off-by: Jerome Forissier >> --- >>   test/lib/Makefile  |  1 + >>   test/lib/initjmp.c | 72 +++

Re: [PATCH v2 06/14] uthread: add cooperative multi-tasking interface

2025-02-28 Thread Ilias Apalodimas
Hi Jerome, On Tue, 25 Feb 2025 at 18:35, Jerome Forissier wrote: > > Add an new 'a' > internal API called uthread (Kconfig symbol: UTHREAD) which > provides cooperative multi-tasking. The goal is to be able to improve > the performance of some parts of U-Boot by overlapping lengthy > operation

Re: [PATCH v1 0/2] Support Apalis/Colibri imx6 v1.2

2025-02-28 Thread Francesco Dolcini
On Fri, Feb 28, 2025 at 10:52:52AM +0100, Ernest Van Hoecke wrote: > Apalis/Colibri iMX6 V1.2 will replace the STMPE811 ADC/Touch controller > which is EOL by the TLA2024 ADC and AD7879 touch controller. > To support this new version, we detect the presence of either the > STMPE811 or TLA2024 durin

[PATCH v1 1/2] board: toradex: apalis/colibri imx6: Detect new v1.2 SoM variant

2025-02-28 Thread Ernest Van Hoecke
Apalis/Colibri iMX6 V1.2 will replace the STMPE811 ADC/Touch controller which is EOL by the TLA2024 ADC and AD7879 touch controller. To support this new version, we detect the presence of the TLA2024 during boot and set a new environment variable named "variant". This will allow us and users to se

Re: [PATCH v3 4/6] arm64: mmu_change_region_attr() add an option not to break PTEs

2025-02-28 Thread Ilias Apalodimas
Hi, After a chat with Richard I figured I misunderstood his comment ... [...] > +void mmu_change_region_attr_nobreak(phys_addr_t addr, size_t siz, u64 attrs) > +{ > + int level; > + u64 r, size, start; > + > + /* > +* Loop through the address range until we find a page

[PATCH v1 0/2] Support Apalis/Colibri imx6 v1.2

2025-02-28 Thread Ernest Van Hoecke
Apalis/Colibri iMX6 V1.2 will replace the STMPE811 ADC/Touch controller which is EOL by the TLA2024 ADC and AD7879 touch controller. To support this new version, we detect the presence of either the STMPE811 or TLA2024 during boot and set a new environment variable named "variant". This will allow

[PATCH v4 0/4] xPL-stack cleanup

2025-02-28 Thread Simon Glass
This series was split from the VBE part H series. It adjusts the logic for selecting the top of the stack so that it is more consistent across xPL phases. Changes in v4: - Rebase to -next Changes in v3: - Reword the Kconfig help for TPL_HAVE_INIT_STACK - Rebase to -next - Fixed 'VPL' typo - Updat

[PATCH v3 3/4] net: phy: ksz90x1: Load skew values from device tree

2025-02-28 Thread Paul Barker
Various signal skew values may be set in the device tree for the ksz9131 Ethernet PHY. For example, the RZ/G2L board requires non-default values for rxc-skew-psec & txc-skew-psec. This is based on the ksz9131 phy driver in Linux v6.11. Reviewed-by: Marek Vasut Signed-off-by: Paul Barker --- No

[PATCH v3 2/4] net: phy: ksz90x1: Handle ksz9131 LED errata

2025-02-28 Thread Paul Barker
Micrel KSZ9131 PHY LED behavior is not correct when configured in Individual Mode, LED1 (Activity LED) is in the ON state when there is no-link. Workaround this by setting bit 9 of register 0x1e after verifying that the LED configuration is Individual Mode. This issue is described in KSZ9131RNX S

[PATCH v3 4/4] net: phy: ksz90x1: Simplify ksz9131_config_rgmii_delay

2025-02-28 Thread Paul Barker
We can call phy_modify_mmd() instead of manually calling drv->readext() and drv->writeext(). Reviewed-by: Marek Vasut Signed-off-by: Paul Barker --- Changes v2->v3: - Added Marek's Reviewed-by tag. Changes v1->v2: - Split out of series adding RZ/G2L Ethernet support [1] drivers/net/phy/mic

Re: [PATCH v2 01/14] arch: introduce symbol HAVE_INITJMP

2025-02-28 Thread Jerome Forissier
On 2/28/25 13:38, Heinrich Schuchardt wrote: > On 25.02.25 17:34, Jerome Forissier wrote: >> HAVE_INIJMP will be set by architectures that support initjmp(), a >> non-standard extension to setjmp()/longjmp() allowing to initialize a >> jump buffer with a function pointer and a stack pointer. This w

Re: [PATCH v3 15/23] net: ravb: Allocate bb_miiphy using bb_miiphy_alloc() and fill in callbacks

2025-02-28 Thread Paul Barker
On 22/02/2025 20:33, Marek Vasut wrote: > Allocate bb_miiphy using bb_miiphy_alloc() and fill in callbacks > currently listed in bb_miiphy_buses[] array. This is a temporary > duplication of assignment to avoid breakage, which will be removed > in follow up patches. At this point, the bb_miiphy cal

Re: [PATCH v2 06/14] uthread: add cooperative multi-tasking interface

2025-02-28 Thread Jerome Forissier
On 2/28/25 14:21, Heinrich Schuchardt wrote: > On 25.02.25 17:34, Jerome Forissier wrote: >> Add an new internal API called uthread (Kconfig symbol: UTHREAD) which > > nits: > > %s/an/a/ Fixed in v3 > >> provides cooperative multi-tasking. The goal is to be able to improve >> the performanc

Re: Halting auto-boot process in the U-Boot shell https://lore.kernel.org/u-boot/20220614060203.33600-1-heinrich.schucha...@canonical.com/

2025-02-28 Thread Michal Simek
Hi Simon, On 2/27/25 17:25, Simon Glass wrote: Hi Michal, On Wed, 26 Feb 2025 at 02:04, Michal Simek wrote: On 2/26/25 09:59, Heinrich Schuchardt wrote: On 2/26/25 09:28, Michal Simek wrote: On 2/26/25 09:23, Heinrich Schuchardt wrote: On 2/26/25 07:48, Kummari, Prasad wrote: [AMD Of

Re: [PATCH v2 08/14] lib: time: hook uthread_schedule() into udelay()

2025-02-28 Thread Jerome Forissier
On 2/28/25 15:16, Yao Zi wrote: > On Fri, Feb 28, 2025 at 03:38:22PM +0200, Ilias Apalodimas wrote: >> Hi Jerome, >> >> On Tue, 25 Feb 2025 at 18:35, Jerome Forissier >> wrote: >>> >>> Introduce a uthread scheduling loop into udelay() when CONFIG_UTHREAD >>> is enabled. This means that any uthr

[PATCH v6 09/20] sandbox: add SCMI clock control permissions to sandbox

2025-02-28 Thread Alice Guo
This patch is used to add SCMI clock control permissions to sandbox for testing. Signed-off-by: Alice Guo --- arch/sandbox/include/asm/scmi_test.h | 2 ++ drivers/firmware/scmi/sandbox-scmi_agent.c | 56 -- 2 files changed, 55 insertions(+), 3 deletions(-) dif

Re: [PATCH v2] dma: ti: k3-udma: Avoid Memory leak issues during dma memcpy

2025-02-28 Thread Tom Rini
On Thu, 20 Feb 2025 18:48:27 +0530, Prasanth Babu Mantena wrote: > During dma memcpy, bcdma descriptor gets allocated for each > transaction and not freed after completion of that transaction. > So, avoid the memory allocation for every transaction. > > Add one descriptor per dma device and alloc

Re: [PATCH 0/2] Enable USB MSC Boot for AM62, AM62A and AM62P

2025-02-28 Thread Javier Tia
Hi Siddharth, On Wed, Feb 26, 2025, at 4:35 AM, Siddharth Vadapalli wrote: > Hello, > > This series adds config fragment for enabling USB MSC boot and USB > Storage devices which are applicable to AM62, AM62A and AM62P SoCs. > > Series is based on commit > 8dd7186ca7 Merge patch series "Remove "sa

Re: [PATCH v2 00/11] Rockchip VOP2 support

2025-02-28 Thread Piotr Zalewski
Tested on pinetab2. With v2 usb start isn't called on boot because USB_PREBOOT config was disabled so keyboard doesn't work until it is manually typed through serial console. Also there is less console output than in v1 because PRE_CONSOLE_BUFFER is disabled. Perhaps disabling those 2 was intention

Re: [PATCH 4/5] net: lwip: add support for built-in root certificates

2025-02-28 Thread Ilias Apalodimas
Hi Jerome, On Thu, 27 Feb 2025 at 18:38, Jerome Forissier wrote: > > Sorry for replying to myself, I spotted a small mistake. > > On 2/27/25 17:09, Jerome Forissier wrote: > > Introduce Kconfig symbols WGET_BUILTIN_CACERT and > > WGET_BUILTIN_CACERT_PATH to provide root certificates at build time

[PATCH] smbios: add support for type 9 system slot

2025-02-28 Thread Raymond Mao
Implement SMBIOS Type 9 (System Slot). SMBIOS library will look for a subnode "system-slot" under "smbios" to construct the data of Type 9. [1] is an example for the expected pattern of "system-slot". If "system-slot" node does not exist, or any of its properties are missing, as a fallback, SMBIOS

  1   2   >