[PATCH 6/7] ARM: dts: sam9x60: Add watchdog DT node.

2025-04-04 Thread Zixun LI
Add the watchdog timer node for the sam9x60 SoC's. Signed-off-by: Zixun LI --- arch/arm/dts/sam9x60.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi index 3b684fc63d5..f32d51eb231 100644 --- a/arch/arm/dts/sam9x60.dtsi +++ b/ar

[PATCH] fdt: Allow OF_HAS_PRIOR_STAGE to be disabled in defconfig

2025-04-04 Thread Simon Glass
At present it is impossible to change the qemu_arm64 defconfig to obtain a devicetree from the U-Boot build. This is necessary for FIT validation, for example, where the signature node must be compiled into U-Boot. A proposed change to QEMU has been blocked for several years. As a workaround, the

Re: [PATCH 3/8] env: Rename SYS_RELOC_GD_ENV_ADDR to ENV_RELOC_GD_ENV_ADDR

2025-04-04 Thread Tom Rini
On Sat, Mar 22, 2025 at 10:55:23PM +0100, Marek Vasut wrote: > Rename the variable and add ENV_ prefix, so that all configuration > options which are related to environment would have an CONFIG_ENV_ > prefix. No functional change. > > Signed-off-by: Marek Vasut Reviewed-by: Tom Rini -- Tom

[PATCH v2 03/24] clk: clk-mux: Use struct udevice instead of struct device

2025-04-04 Thread Marek Vasut
Use U-Boot specific struct udevice instead of Linux compatibility struct device in clk-mux registration. Signed-off-by: Marek Vasut --- Cc: Adam Ford Cc: Christoph Niedermaier Cc: Dong Aisheng Cc: Fabio Estevam Cc: Hou Zhiqiang Cc: Michael Trimarchi Cc: Peng Fan Cc: Tim Harvey Cc: Tom Rin

[PATCH 27/34] sunxi: armv8: FEL: save and restore GICv3 registers

2025-04-04 Thread Andre Przywara
To be able to return to the BootROM FEL USB debug code, we must restore the core's state as accurately as possible after the SPL has been run. Since the BootROM runs in AArch32, but the SPL uses AArch64, this requires a core reset, which clears the core's state. So far we were saving and restoring

Re: Rate of innovation in the project (Was: Re: Rate of change in the project)

2025-04-04 Thread Tom Rini
On Fri, Mar 28, 2025 at 11:42:20PM +, Simon Glass wrote: > Hi Tom, > > On Mon, 10 Mar 2025 at 09:53, Tom Rini wrote: > > > > On Fri, Mar 07, 2025 at 08:46:31AM -0600, Tom Rini wrote: > > > On Thu, Mar 06, 2025 at 09:10:47AM -0700, Simon Glass wrote: > > [snip] > > > > Again, back to this thre

[PATCH 0/3] Add support for eCAP PWM and LCD

2025-04-04 Thread Sukrut Bellary
This patch series adds the support for 1. In am33xx SoC[1], enhanced capture (eCAP) supports auxiliary PWM (APWM). This series adds the PWM driver support for the APWM feature for eCAP on AM33xx. AM335X_ECAP0_IN_PWM0_OUT is used to enable the backlight. 2. Enable eCAP0 PWM and LCD pin muxing to s

[PATCH v1 09/11] arm: meson: a1: ADNL protocol support

2025-04-04 Thread Arseniy Krasnov
During ADNL protocol operations, BootROM may request to enter ADNL mode after boot. So to support this, let's check for values in sticky registers after boot (such registers could be updated earlier by boot ROM, telling U-boot to enter ADNL mode. Signed-off-by: Arseniy Krasnov --- arch/arm/inclu

[PATCH v1] configs: agilex5: Enable Marvell PHY driver

2025-04-04 Thread alif . zakuan . yuslaimi
From: Alif Zakuan Yuslaimi Enable Marvell Ethernet PHYs support for Agilex5 defconfig Signed-off-by: Alif Zakuan Yuslaimi --- configs/socfpga_agilex5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/socfpga_agilex5_defconfig b/configs/socfpga_agilex5_defconfig index 0fa81

Re: [PATCH v2 3/3] ARM: dts: at91: sam9x60-curiosity: Enable USB gadget node

2025-04-04 Thread Mattijs Korpershoek
Hi Zixun, Thank you for the patch. On lun., mars 31, 2025 at 18:26, Zixun LI wrote: > Enable USB gadget usb0 node support. > > Signed-off-by: Zixun LI Reviewed-by: Mattijs Korpershoek > --- > arch/arm/dts/at91-sam9x60_curiosity.dts | 4 > 1 file changed, 4 insertions(+) > > diff --git

[PATCH v2] MAINTAINERS: visionfive2: Add match N: starfive pattern

2025-04-04 Thread Minda Chen
Add match N:starfive pattern to visionfive2 board. Now starfive pattern just related to JH7110 IC. Signed-off-by: Minda Chen --- board/starfive/visionfive2/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/starfive/visionfive2/MAINTAINERS b/board/starfive/vis

Re: [PATCH] tiny-printf: Add support for upper case hex values

2025-04-04 Thread Marek Vasut
On 3/20/25 11:23 AM, Christoph Niedermaier wrote: If tiny printf is used with 0x%08X (upper case X) the output is always 0x. It could be confusing if upper case instead of lower case is used intentionally or accidentally because the actual value is not output. To avoid this confusion, tin

[PATCH v5 8/8] configs: sam9x75_curiosity: Add initial mmc default config

2025-04-04 Thread Manikandan Muralidharan
Add default configuration for sd-card to boot the linux kernel. Signed-off-by: Manikandan Muralidharan --- board/atmel/sam9x75_curiosity/MAINTAINERS | 1 + configs/sam9x75_curiosity_mmc_defconfig | 73 +++ 2 files changed, 74 insertions(+) create mode 100644 configs/sam9x

Re: [PATCH V3 01/10] clk: imx6q: Properly handle imx6qp ECSPI clk_sels

2025-04-04 Thread Fabio Estevam
On Wed, Mar 19, 2025 at 2:27 PM Fabio Estevam wrote: > I have manually fixed patches 1 and 2 and now CI is happy with the series. > > No need to resend it. Applied the series to u-boot-imx/next, thanks.

[PATCH v2 02/10] test/py: Rework test_xxd to not use virt-make-fs

2025-04-04 Thread Tom Rini
The problem with using "virt-make-fs" to make a filesystem image is that it is extremely slow. Switch to using the fs_helper functions we have instead from the filesystem tests as these can add files to images and are significantly faster and still do not require root access. Signed-off-by: Tom Ri

Re: [PATCH v5 00/29] pxe: Precursor series for supporting read_all() in extlinux / PXE

2025-04-04 Thread Jonas Karlman
Hi Tom, On 2025-04-03 23:56, Tom Rini wrote: > On Thu, Apr 03, 2025 at 10:57:24PM +0200, Jonas Karlman wrote: >> Hi Tom and Simon, >> >> On 2025-03-19 00:21, Tom Rini wrote: >>> On Wed, 05 Mar 2025 17:24:54 -0700, Simon Glass wrote: >>> This series includes some patches related to allowing re

[PATCH v2 20/24] clk: imx: Pass struct udevice into imx_clk_divider*()

2025-04-04 Thread Marek Vasut
Pass struct udevice * into imx_clk_divider*() functions, so the clock core would have access to parent struct udevice *. Signed-off-by: Marek Vasut --- Cc: Adam Ford Cc: Christoph Niedermaier Cc: Dong Aisheng Cc: Fabio Estevam Cc: Hou Zhiqiang Cc: Michael Trimarchi Cc: Peng Fan Cc: Tim Har

Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-04-04 Thread Simon Glass
Hi Quentin, On Wed, 19 Mar 2025 at 16:31, Quentin Schulz wrote: > > Hi Simon > > On 3/19/25 4:03 PM, Simon Glass wrote: > > Hi Quentin, > > > > On Wed, 19 Mar 2025 at 13:04, Quentin Schulz > > wrote: > >> > >> Hi Simon, > >> > >> On 3/19/25 12:49 PM, Simon Glass wrote: > >>> Logging of function

[PATCH v5 07/16] uthread: add uthread_mutex

2025-04-04 Thread Jerome Forissier
Add struct uthread_mutex and uthread_mutex_lock(), uthread_mutex_trylock(), uthread_mutex_unlock() to protect shared data structures from concurrent modifications. Signed-off-by: Jerome Forissier --- include/uthread.h | 60 +++ lib/uthread.c | 27 +

[PATCH v6 01/12] core: ofnode_graph: Fix a comment

2025-04-04 Thread Miquel Raynal
Naming between the parameter list, the prototype and the main comment do not match. Fix the comment which seems the be the one that is incorrect. Fixes: 9057077cf4e1 ("core: ofnode: add of_graph parsing helpers") Signed-off-by: Miquel Raynal Reviewed-by: Svyatoslav Ryhel --- drivers/core/ofnode

[PATCH v4 0/6] Better smartphone support (Qualcomm)

2025-04-04 Thread Caleb Connolly
Improve support for running U-Boot on [Qualcomm] smartphones, with: * A boot menu which can be entered by holding volume down during boot * Hang on panic (so errors can be read on the display) * Serial gadget which can be enabled by holding volume down or via boot menu In its current form, U-Bo

Re: [PATCH] sama5d27: Fix the 'reset' command

2025-04-04 Thread Eugen Hristev
On 3/31/25 21:04, Fabio Estevam wrote: > From: Fabio Estevam > > Since commit 61040097a9d1 ("reset: at91: Add reset driver for basic > assert/deassert operations") the "atmel,sama5d3-rstc" compatible for > the sama5d2 reset controller in sama5d2.dtsi is not handled by > CONFIG_SYSRESET_AT91 an

Re: [PATCH v5 00/29] pxe: Precursor series for supporting read_all() in extlinux / PXE

2025-04-04 Thread Jonas Karlman
Hi Simon, On 2025-04-04 00:30, Simon Glass wrote: > Hi Jonas, > > On Fri, 4 Apr 2025 at 09:57, Jonas Karlman wrote: >> >> Hi Tom and Simon, >> >> On 2025-03-19 00:21, Tom Rini wrote: >>> On Wed, 05 Mar 2025 17:24:54 -0700, Simon Glass wrote: >>> This series includes some patches related to

Re: [PATCH 1/2] efi_loader: Move public cert for capsules to .rodata

2025-04-04 Thread Jon Humphreys
Ilias Apalodimas writes: > commit ddf67daac39d ("efi_capsule: Move signature from DTB to .rodata") > was reverted in > commit 47a25e81d35c ("Revert "efi_capsule: Move signature from DTB to > .rodata"") > because that's what U-Boot was usually doing -- using the DT to store > configuration and da

Re: [PATCH v2 1/3] tegra: add funcmux for exposing UART over uSD slot on Tegra 20

2025-04-04 Thread Svyatoslav Ryhel
нд, 30 бер. 2025 р. о 22:27 Artur Kowalski пише: > > UART-A can be exposed through uSD, this was tested on Transformer T20 > but should work on all Ventana-based boards. > > TX is exported on SDD pingroup corresponding to uSD CLK pin > RX is exported on SDB which is CMD pin in uSD slot > > Signed-

Re: [PATCH v6 09/12] imx: power-domain: Add support for the MEDIAMIX control block

2025-04-04 Thread Miquel Raynal
Hi Adam, >> + /* Enable upstream clocks */ >> + ret = clk_enable(&priv->clk_apb); >> + if (ret) >> + goto dis_bus_pd; >> + >> + ret = clk_enable(&priv->clk_axi); >> + if (ret) >> + goto dis_apb_clk; >> + >> + /* Enable blk-ctrl clock

[PATCH v2 02/24] clk: clk-mux: Fold clk_register_mux()

2025-04-04 Thread Marek Vasut
Neither clk_register_mux_table() nor clk_hw_register_mux_table() are called outside of clk-mux.c , fold both into clk_register_mux(). No functional change. Signed-off-by: Marek Vasut --- Cc: Adam Ford Cc: Christoph Niedermaier Cc: Dong Aisheng Cc: Fabio Estevam Cc: Hou Zhiqiang Cc: Michael T

<    1   2