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

2025-03-11 Thread Ilias Apalodimas
Hi Andre, On Tue, 11 Mar 2025 at 20:31, Andre Przywara wrote: > > On Sat, 1 Mar 2025 18:49:02 +0200 > Ilias Apalodimas wrote: > > Hi Ilias, > > > The ARM ARM on section 8.17.1 describes the cases where > > Thanks for referencing the ARM ARM! The section name would be D8.17.1, and > please menti

Re: [PATCH V2 08/10] clk: imx: select SPL_CLK_COMPOSITE_CCF when SPL_CLK_IMX8MP

2025-03-11 Thread Peng Fan
On Tue, Mar 11, 2025 at 07:30:28PM -0500, Adam Ford wrote: >If SPL_CLK_IMX8MP is selected alone, it causes a build error. >The clock composite is required when using the clock framework, so >select it when SPL_CLK_IMX8MP is enabled. This is already being >done outside of SPL. > >Signed-off-by: Ada

Re: [PATCH V2 07/10] board: beacon: imx8mn: Let clock system enable UART clock

2025-03-11 Thread Peng Fan
On Tue, Mar 11, 2025 at 07:30:27PM -0500, Adam Ford wrote: >Now that the UART driver can enable the required clocks, remove >the hard-coded clock enable. > >Signed-off-by: Adam Ford Reviewed-by: Peng Fan

Re: [PATCH V2 06/10] board: beacon: imx8mm: Let clock system enable UART clock

2025-03-11 Thread Peng Fan
On Tue, Mar 11, 2025 at 07:30:26PM -0500, Adam Ford wrote: >Now that the UART driver can enable the required clocks, remove >the hard-coded clock enable. This requires a small re-order >of a couple functions. > >Signed-off-by: Adam Ford Reviewed-by: Peng Fan

Re: [PATCH V2 05/10] serial: mxc: Support bulk enabling clocks

2025-03-11 Thread Peng Fan
On Tue, Mar 11, 2025 at 07:30:25PM -0500, Adam Ford wrote: >Depending on the platform, there may be multiple clock sources >required to enable a UART. Use the bulk functions to get and >enable the clocks when the UART probes. This can facilitate >the removal of functions to manually enable the cl

Re: [PATCH V2 04/10] clk: imx8mn: register UART clocks

2025-03-11 Thread Peng Fan
On Tue, Mar 11, 2025 at 07:30:24PM -0500, Adam Ford wrote: >In order to let the serial driver enable the clocks, the UART clocks >must be registered first. > >Signed-off-by: Adam Ford Reviewed-by: Peng Fan

Re: [PATCH V2 03/10] clk: imx8mm: register UART clocks

2025-03-11 Thread Peng Fan
On Tue, Mar 11, 2025 at 07:30:23PM -0500, Adam Ford wrote: >In order to let the serial driver enable the clocks, the UART clocks >must be registered first. > >Signed-off-by: Adam Ford Reviewed-by: Peng Fan

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

2025-03-11 Thread Peng Fan
On Tue, Mar 11, 2025 at 07:30:21PM -0500, Adam Ford wrote: >The ECSPI clock has the ability to select between pll3_60m and >osc on the imx6qp, where it's fixed on other variants. Fix this >by adding using a helper function to determine SoC variant and >register the clock accordingly. > >Signed-off

RE: Reading QSPI on zynq7 broken since commit 9bb02f7f4533

2025-03-11 Thread Abbarapu, Venkatesh
[AMD Official Use Only - AMD Internal Distribution Only] Hi Mike, Can you try disabling the config SPI_STACKED_PARALLEL. Is read getting failed? Thanks Venkatesh > -Original Message- > From: Mike Looijmans > Sent: Tuesday, March 11, 2025 3:08 PM > To: u-boot@lists.denx.de > Cc: Abbarapu

RE: [PATCH] imx8m: soc: cope with existing optee node

2025-03-11 Thread Peng Fan
> Subject: [PATCH] imx8m: soc: cope with existing optee node > > On i.MX8M SoCs, the /firmware/optee Devicetree node is created just > before booting the OS when OP-TEE is found running. If the node > already exists, this results in an error, which prevents the OS to boot: > > Could not create

Re: [PATCH v7 2/8] efi_loader: install device-tree on configuration table on every invocation

2025-03-11 Thread Sughosh Ganu
On Tue, 11 Mar 2025 at 19:13, Ilias Apalodimas wrote: > > Hi Sughosh, > > [...] > > > { > > - unsigned long fdt_pages; > > efi_status_t ret = 0; > > void *fdt, *new_fdt; > > - u64 new_fdt_addr; > > - uint fdt_size; > > + static u64 new_fdt_addr; > > +

Re: [PATCH 00/10] clk: imx: Use Clock frameworkt to register UART clocks

2025-03-11 Thread Fabio Estevam
On Tue, Mar 11, 2025 at 9:31 PM Adam Ford wrote: > --- > V2: Fix name of "ECSPI" and elimiate helper function, and fix build error. Still get errors in CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/1057306 Please make sure v3 passes CI. +In file included from board/liebherr/d

RE: [PATCH V2 02/10] clk: imx6q: Register UART clocks

2025-03-11 Thread Peng Fan
> Subject: [PATCH V2 02/10] clk: imx6q: Register UART clocks > > In order to use the driver model and clock system to enable UART > clocks from the serial driver, it's necessary to register the UART clocks. > With the helper function to check for imx6qp vs other variants, the > UART can register f

Re: [RESEND PATCH 1/3] pci_auto: Downgrade prefetch if necessary

2025-03-11 Thread Tom Rini
On Mon, Mar 10, 2025 at 10:01:32AM +0100, Patrick Rudolph wrote: > Legacy PCI devices, like qemu's Bochs VGA device, are allowed to have > prefetchable 32-bit BARs, while PCIe devices are not allowed to have > 32-bit prefetchable BARs. Typically prefetchable BARs are 64-bit and > typically the pre

Re: [PATCH 4/5] configs: stm32mp13: Enable MFD timer and PWM for stm32mp13_defconfig

2025-03-11 Thread Patrice CHOTARD
On 3/6/25 15:14, Patrice CHOTARD wrote: > > > On 3/6/25 11:56, Cheick Traore wrote: >> Enable the following configs: >> >> * CONFIG_MFD_STM32_TIMERS: enables support for the STM32 multifunction >>timer >> * CONFIG_DM_PWM: enables support for pulse-width modulation d

Re: [PATCH 07/12] fs: exfat: Add U-Boot porting layer

2025-03-11 Thread Tom Rini
On Sat, Mar 08, 2025 at 09:12:11PM +0100, Marek Vasut wrote: > Add U-Boot adjustments to the libexfat code and integrate > the result into U-Boot filesystem layer. This provides full > read-write exfat support for U-Boot available via generic > filesystem interface. [snip] > diff --git a/fs/exfat/

Re: [PATCH] scripts/checkpatch.pl: Upgrade IS_ENABLED_CONFIG to error for U-Boot

2025-03-11 Thread Tom Rini
On Wed, 26 Feb 2025 09:33:45 -0600, Tom Rini wrote: > A problem we have today is that some instances of IS_ENABLED(FOO) have > crept in to the code. This is in turn because with checkpatch.pl this is > only a warning and not an error, so they were overlooked. And looking > deeper, in the Linux ker

[PATCH v4 21/47] x86: Support CPU functions in long mode

2025-03-11 Thread Simon Glass
At present it is not possible to find out the physical-address size in long mode, so a predefined value is used. Update the macros to support this properly, since it is important when programming MTRRs. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Always return true fr

Re: [PATCH] ARM: dts: stm32: Add support for environment in eMMC on STM32MP13xx DHCOR SoM

2025-03-11 Thread Patrice CHOTARD
On 2/10/25 02:32, Marek Vasut wrote: > Enable support for environment in eMMC on STM32MP13xx DHCOR SoM, > in addition to existing support for environment in SPI NOR. The > environment size is the same, except in case the environment is > placed in eMMC, it is stored at the end of eMMC BOOT parti

[PATCH v4 16/47] x86: Tidy up the GDT size in start/16.S

2025-03-11 Thread Simon Glass
Use a symbol to select the size of the GDT, rather than hard-coding a value. This matches how it is done in start64 Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/cpu/start.S | 4 +++- arch/x86/cpu/start16.S | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git

[PATCH v2 3/3] doc/develop/codingstyle.rst: Expand to include CONFIG_IS_ENABLED and PHASE_

2025-03-11 Thread Tom Rini
Expand the conditional compilation section to explain when to use CONFIG_IS_ENABLED rather than IS_ENABLED and provide an example. Next, note what the PHASE_ macro is supposed to be used for as well. Signed-off-by: Tom Rini --- Changes in v2: - New patch. --- doc/develop/codingstyle.rst | 17 +++

[PATCH v2 1/3] Kbuild: Always use $(PHASE_)

2025-03-11 Thread Tom Rini
It is confusing to have both "$(PHASE_)" and "$(XPL_)" be used in our Makefiles as part of the macros to determine when to do something in our Makefiles based on what phase of the build we are in. For consistency, bring this down to a single macro and use "$(PHASE_)" only. Signed-off-by: Tom Rini

[PATCH v2 2/3] doc/develop/codingstyle.rst: Add a section on conditional compilation

2025-03-11 Thread Tom Rini
In order to make a start on explaining how and when to use certain macros, we need to document their usage somewhere. As a first step, take section 21 of the v6.13 Linux Kernel coding-style document on conditional compilation and add it here. Signed-off-by: Tom Rini --- Changes in v2: - New patch

Re: [PATCH] binman: Fill in most of the imx8mimage and imx8mcst tests

2025-03-11 Thread Fabio Estevam
Hi Marek, On Fri, Mar 7, 2025 at 2:42 AM Marek Vasut wrote: > So what should we do about this particular patch ? > > Should this be applied ? Rebased ? Updated somehow ? This patch causes a CI error: https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/1057151

[PATCH V2 03/10] clk: imx8mm: register UART clocks

2025-03-11 Thread Adam Ford
In order to let the serial driver enable the clocks, the UART clocks must be registered first. Signed-off-by: Adam Ford --- drivers/clk/imx/clk-imx8mm.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8

[PATCH V2 10/10] board: beacon: imx8mp: Let clock system enable UART clock

2025-03-11 Thread Adam Ford
Now that the UART driver can enable the required clocks, remove the hard-coded clock enable. Signed-off-by: Adam Ford --- board/beacon/imx8mp/spl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/board/beacon/imx8mp/spl.c b/board/beacon/imx8mp/spl.c index 30d577f7e0e..6b357d90a3f 100644 ---

[PATCH V2 09/10] configs: imx8mp_beacon: Select SPL_CLK_IMX8MP

2025-03-11 Thread Adam Ford
In preparation to remove manual references for enabling some clocks, enable SPL_CLK_IMX8MP which automatically enables SPL_CCF and SPL_CLK_COMPOSITE_CCF which permit various drivers to activate their respective clocks automatically. Signed-off-by: Adam Ford --- configs/imx8mp_beacon_defconfig |

[PATCH V2 07/10] board: beacon: imx8mn: Let clock system enable UART clock

2025-03-11 Thread Adam Ford
Now that the UART driver can enable the required clocks, remove the hard-coded clock enable. Signed-off-by: Adam Ford --- board/beacon/imx8mn/spl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/board/beacon/imx8mn/spl.c b/board/beacon/imx8mn/spl.c index f03841e5a01..e91d3fdcf5e 100644 ---

[PATCH V2 08/10] clk: imx: select SPL_CLK_COMPOSITE_CCF when SPL_CLK_IMX8MP

2025-03-11 Thread Adam Ford
If SPL_CLK_IMX8MP is selected alone, it causes a build error. The clock composite is required when using the clock framework, so select it when SPL_CLK_IMX8MP is enabled. This is already being done outside of SPL. Signed-off-by: Adam Ford --- drivers/clk/imx/Kconfig | 1 + 1 file changed, 1 ins

[PATCH V2 06/10] board: beacon: imx8mm: Let clock system enable UART clock

2025-03-11 Thread Adam Ford
Now that the UART driver can enable the required clocks, remove the hard-coded clock enable. This requires a small re-order of a couple functions. Signed-off-by: Adam Ford --- board/beacon/imx8mm/spl.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/board/beacon/imx8mm/

[PATCH V2 05/10] serial: mxc: Support bulk enabling clocks

2025-03-11 Thread Adam Ford
Depending on the platform, there may be multiple clock sources required to enable a UART. Use the bulk functions to get and enable the clocks when the UART probes. This can facilitate the removal of functions to manually enable the clock. This is made dependent on CLK_CCF which is used on imx6q,

[PATCH V2 04/10] clk: imx8mn: register UART clocks

2025-03-11 Thread Adam Ford
In order to let the serial driver enable the clocks, the UART clocks must be registered first. Signed-off-by: Adam Ford --- drivers/clk/imx/clk-imx8mn.c | 32 1 file changed, 32 insertions(+) diff --git a/drivers/clk/imx/clk-imx8mn.c b/drivers/clk/imx/clk-imx8mn

[PATCH V2 02/10] clk: imx6q: Register UART clocks

2025-03-11 Thread Adam Ford
In order to use the driver model and clock system to enable UART clocks from the serial driver, it's necessary to register the UART clocks. With the helper function to check for imx6qp vs other variants, the UART can register for both scenarios. Signed-off-by: Adam Ford --- V2: Directly call of

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

2025-03-11 Thread Adam Ford
The ECSPI clock has the ability to select between pll3_60m and osc on the imx6qp, where it's fixed on other variants. Fix this by adding using a helper function to determine SoC variant and register the clock accordingly. Signed-off-by: Adam Ford Reviewed-by: Michael Trimarchi --- drivers/clk/

[PATCH 00/10] clk: imx: Use Clock frameworkt to register UART clocks

2025-03-11 Thread Adam Ford
Currenty, most peripherals enable/disable their respecive clocks using the clock framework, but serial ports various imx platsforms do not. Some of the newer NXP SoC's register the UART clocks, but they are not necessarily associated the to serial_mxc driver, so these clocks need to be manually en

[PATCH 2/2] arm: dts: mediatek: disable fan node for mt7987

2025-03-11 Thread Weijie Gao
There's no fan in MedisTek's reference design. Disable it for now. Signed-off-by: Weijie Gao --- arch/arm/dts/mt7987a.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/mt7987a.dtsi b/arch/arm/dts/mt7987a.dtsi index bf53e89eca8..365fefdbe17 100644 --- a/arch/ar

[PULL] u-boot-sh/next

2025-03-11 Thread Marek Vasut
The following changes since commit 1b42f57ec82ceba4d5f08cfb359717232301cfa5: Merge tag 'v2025.04-rc4' into next (2025-03-10 20:18:51 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-sh.git next for you to fetch changes up to 4226433858318be59146

Re: Please pull net-next-20250310

2025-03-11 Thread Tom Rini
On Tue, 11 Mar 2025 15:29:52 +0100, Jerome Forissier wrote: > The following changes since commit 1b42f57ec82ceba4d5f08cfb359717232301cfa5: > > Merge tag 'v2025.04-rc4' into next (2025-03-10 20:18:51 -0600) > > are available in the Git repository at: > > https://source.denx.de/u-boot/custodi

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

2025-03-11 Thread Marek Vasut
On 3/4/25 8:10 AM, Alice Guo (OSS) wrote: Hi, Do you mean that replace IS_ENABLED(CONFIG_SCMI_TRANSPORT_SMT_INTR) by checking "arm,scmi" and "mboxes" in device tree? If that is possible, yes. I do not think that Bit[0] of channel flags should be set to 1 only when the SCMI node has the comp

[PATCH v2 5/5] renesas_rzg2l_smarc_defconfig: Enable USB support

2025-03-11 Thread Paul Barker
Enable support for USB 2.0, USB 1.1 and USB storage devices on the Renesas RZ/G2L EVK. Also enable the 'usb' command to support USB scanning and debugging. Signed-off-by: Paul Barker --- configs/renesas_rzg2l_smarc_defconfig | 8 1 file changed, 8 insertions(+) diff --git a/configs/re

[PATCH v2 4/5] phy: rcar: Support RZ/G2L USB PHY

2025-03-11 Thread Paul Barker
Extend the existing Renesas R-Car Gen3 USB 2.0 PHY driver to support the RZ/G2L and related SoCs. Also enable this driver by default for the RZ/G2L SoC family. Reviewed-by: Marek Vasut Signed-off-by: Paul Barker --- drivers/phy/Kconfig | 4 +- drivers/phy/phy-rcar-gen3.c | 79

[PATCH v2 3/5] reset: rzg2l-usbphy-ctrl: Connect up vbus regulator

2025-03-11 Thread Paul Barker
Bind the USB VBUS regulator driver under the USB PHY reset driver for the Renesas RZ/G2L and related SoCs. This additional bind is needed as the corresponding device tree node does not contain a compatible string. Reviewed-by: Marek Vasut Signed-off-by: Paul Barker --- drivers/reset/Kconfig

[PATCH v2 2/5] regulator: rzg2l-usbphy: Add new driver

2025-03-11 Thread Paul Barker
Add a new regulator driver to control the USB VBUS supply on the Renesas RZ/G2L and related SoCs. Reviewed-by: Marek Vasut Signed-off-by: Paul Barker --- drivers/power/regulator/Kconfig | 8 drivers/power/regulator/Makefile | 1 + .../power/regulator/rzg2l-usbp

[PATCH v2 1/5] reset: rzg2l-usbphy-ctrl: Add new driver

2025-03-11 Thread Paul Barker
Add a new driver to control the USB 2.0 PHY reset controller on the Renesas RZ/G2L and related SoCs. Signed-off-by: Paul Barker --- drivers/reset/Kconfig | 9 ++ drivers/reset/Makefile | 1 + drivers/reset/reset-rzg2l-usbphy-ctrl.c | 113 +++

[PATCH v2 0/5] Add support for RZ/G2L USB interface

2025-03-11 Thread Paul Barker
These patches enable support for USB 2.0 on the Renesas RZ/G2L EVK, supporting both the USB Type-A port and the USB OTG port. It is possible to load and boot Linux from a USB Mass Storage device connected to either port. There should be no change to the operation of R-Car gen3 boards, but I don't

Re: [PATCH v2] net: miiphybb: Update documentation

2025-03-11 Thread Heinrich Schuchardt
On 08.03.25 21:36, Marek Vasut wrote: Update the miiphybb documentation to match current implementation. The static struct bb_miiphy_bus bb_miiphy_buses[] array is removed. The example is updated to match current Renesas RAVB driver, which is one of the miiphybb users. Reviewed-by: Paul Barker

Re: [PATCH 02/12] cmd: fs: Add generic rm implementation

2025-03-11 Thread Tom Rini
On Sat, Mar 08, 2025 at 09:12:06PM +0100, Marek Vasut wrote: > Add generic implementation of the 'rm' command to delete files > from filesystems using the generic filesystem API. > > Signed-off-by: Marek Vasut Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/2] Makefile.lib: Set xPL build related defines for DTB build

2025-03-11 Thread Quentin Schulz
Hi Hendrik, On 3/5/25 7:35 PM, Hendrik Donner wrote: [You don't often get email from h...@os-cillation.de. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] The CONFIG_*PL_BUILD defines are currently not defined when preprocessing the dts files, leading to build pr

Re: [PATCH v2 4/4] board/BuR/zynq: initial commit

2025-03-11 Thread Michal Simek
On 3/6/25 12:52, Bernhard Messerklinger wrote: From: Michal Simek Sent: Thursday, March 6, 2025 11:35 AM On 3/6/25 11:20, Bernhard Messerklinger wrote: From: Michal Simek Sent: Wednesday, February 26, 2025 11:23 AM On 2/11/25 13:49, Bernhard Messerklinger wrote: This commit adds support

Re: [RESEND PATCH 1/3] pci_auto: Downgrade prefetch if necessary

2025-03-11 Thread Tom Rini
On Mon, Mar 10, 2025 at 04:44:27PM +0100, Patrick Rudolph wrote: > Hi Tom, > On Mon, Mar 10, 2025 at 3:30 PM Tom Rini wrote: > > > > On Mon, Mar 10, 2025 at 10:01:32AM +0100, Patrick Rudolph wrote: > > > > > Legacy PCI devices, like qemu's Bochs VGA device, are allowed to have > > > prefetchable 3

Re: [ANN] U-Boot v2025.04-rc4 released

2025-03-11 Thread Tom Rini
On Mon, Mar 10, 2025 at 05:32:15PM -0600, Tom Rini wrote: > Hey all, > > So it's release day and I have tagged and pushed things out. This will > be merged to -next shortly. > > Continuing on with what I started after the -rc1 release, we had a call > today and the link was > https://calendar.go

Re: [PATCH 1/5] reset: rzg2l-usbphy-ctrl: Add new driver

2025-03-11 Thread Paul Barker
On 08/03/2025 14:54, Paul Barker wrote: > On 05/03/2025 20:05, Marek Vasut wrote: >> On 3/4/25 5:37 PM, Paul Barker wrote: >> >> [...] >> >>> +static int rzg2l_usbphy_ctrl_assert(struct reset_ctl *reset_ctl) >>> +{ >>> + struct rzg2l_usbphy_ctrl_priv *priv = dev_get_priv(reset_ctl->dev); >>> +

[PATCH] board: st: stm32f746-disco: Update MAINTAINERS file

2025-03-11 Thread Patrice Chotard
Vikas has left STMicroelectronics several years ago. Put myself as maintainer of stm32f746-disco board. Signed-off-by: Patrice Chotard --- board/st/stm32f746-disco/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/st/stm32f746-disco/MAINTAINERS b/board/st/st

[PATCH] board: rockchip: Add LCKFB TaishanPi RK3566 Board

2025-03-11 Thread jiehui . he
From: Jiehui He The LCKFB TaishanPi is a single-board computer based on the RK3566 SoC. Specification: - 1/2 Gib RAM - Optinal EMMC - SD-Card - HDMI / MIPI CSI / MIPI DSI - USB 2.0 Host (Type-A) - USB 2.0 Host / OTG (Type-C) - No Ethernet This patch adds U-Boot support for the LCKFB TaishanPi R

[PATCH v7 4/8] usb: cdns: starfive: Get dr mode from wrapper device dts node

2025-03-11 Thread Minda Chen
Cdns core driver also get dr mode from wrapper devcie dts node to make it is same with Starfive cdns USB Linux kernel driver, Starfive 7110 OF_UPSTREAM is enabled Signed-off-by: Minda Chen Reviewed-by: Marek Vasut --- drivers/phy/starfive/phy-jh7110-pcie.c | 2 +- drivers/usb/cdns3/core.c

[PATCH v3 8/8] efi_loader: efi_net: Add support for multiple efi_net_obj

2025-03-11 Thread Adriano Cordova
Add support for multiple efi_net_obj structs in efi_net.c. This comes in preparation for an EFI network driver supporting multiple network interfaces. For now the EFI network stack still registers a single ethernet udevice as an EFI network device even if multiple are present, namely the one that w

Re: [Uboot-stm32] [PATCH 1/5] dm: pwm: Check if duty_ns is lower than period_ns

2025-03-11 Thread Cheick TRAORE
On 3/10/25 13:35, Patrice CHOTARD wrote: On 3/10/25 11:00, Patrice CHOTARD wrote: On 3/6/25 15:13, Patrice CHOTARD wrote: On 3/6/25 11:56, Cheick Traore wrote: It was possible to provide a duty_ns greater than period_ns to "pwm config" command. The framework must check the values before p

Re: [PATCH 00/19] am62: IO+DDR resume support

2025-03-11 Thread Markus Schneider-Pargmann
Hi Sumit, On Tue, Mar 11, 2025 at 04:19:58PM +0530, Sumit Garg wrote: > Hi Markus, > > On Tue, 11 Mar 2025 at 16:02, Markus Schneider-Pargmann > wrote: > > > > Hi, > > > > this series introduces support to resume from IO+DDR. IO+DDR is a low > > power mode of am62a and am62p in which nearly ever

[PATCH] net: am65-cpsw: cpsw_mdio: fix typo in error message

2025-03-11 Thread Richard Genoud
Replace "froced" by "forced" Signed-off-by: Richard Genoud --- drivers/net/ti/am65-cpsw-nuss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ti/am65-cpsw-nuss.c b/drivers/net/ti/am65-cpsw-nuss.c index c70b42f6bcc2..3c62fc0b4282 100644 --- a/drivers/net/ti/am65-c

[PATCH v2 0/4] Add support for STM32 TIMERS and STM32 PWM

2025-03-11 Thread Cheick Traore
This serie adds: * drivers for MFD STM32 TIMERS and STM32 PWM, the driver split is inspired by kernel model * enable these drivers on stm32mp13 for PWM backlight available on stm32mp135f-dk * timer node, pwm subnode and pinctrl for PWM Backlight on stm32mp135f-dk Changes in v2: - remove pw

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

2025-03-11 Thread Andre Przywara
On Sat, 1 Mar 2025 18:49:02 +0200 Ilias Apalodimas wrote: Hi Ilias, > The ARM ARM on section 8.17.1 describes the cases where Thanks for referencing the ARM ARM! The section name would be D8.17.1, and please mention the version of the document, since the numbering is not stable across the diff

[PATCH v2 3/4] configs: stm32mp13: Enable MFD timer and PWM for stm32mp13_defconfig

2025-03-11 Thread Cheick Traore
Enable the following configs: * CONFIG_MFD_STM32_TIMERS: enables support for the STM32 multifunction timer * CONFIG_DM_PWM: enables support for pulse-width modulation devices * CONFIG_CMD_PWM: enables 'pwm' command to control PWM channels * CONFIG_PWM_STM32: enables supp

[PATCH v2 1/4] mach-stm32: add multifunction timer driver support

2025-03-11 Thread Cheick Traore
Add support for STM32MP timer multi-function driver. These timers can be use as counter, trigger or pwm generator. This driver will be used to manage the main resources of the timer to provide them to the functionnalities which need these ones. Signed-off-by: Cheick Traore Reviewed-by: Fabrice Ga

[PATCH v2 4/4] ARM: dts: stm32: Add TIMERS inverted PWM channel 3 on STM32MP135F-DK

2025-03-11 Thread Cheick Traore
The pwm source TIM1_CH3N channel (on PE12) in inverted polarity mode will be used to manage the brightness of the panel backlight on STM32MP135F-DK. Signed-off-by: Cheick Traore Reviewed-by: Patrice Chotard --- (no changes since v1) arch/arm/dts/stm32mp13-pinctrl.dtsi | 15 +++ ar

[PATCH v2 2/4] pwm: stm32: add driver to support pwm with timer

2025-03-11 Thread Cheick Traore
Add driver to support pwm on STM32MP1X SoCs. The PWM signal is generated using a multifuntion timer which provide a pwm feature. Clock rate and addresses are retrieved from the multifunction timer driver. Signed-off-by: Cheick Traore --- Changes in v2: - add the check of duty_ns and period_ns pa

Re: [PATCH] cmd: Kconfig: Fix submenu for network commands

2025-03-11 Thread Jerome Forissier
On 3/7/25 16:15, Paul Barker wrote: > The Kconfig parser seems to get confused by the current if conditions > following CMD_NET and displays all network command options directly in > the "Command line interface" menu instead of in a "Network commands" > submenu. > > To help out Kconfig we can s

[PATCH] configs: am64x_evm_a53_defconfig: Enable support for UMS

2025-03-11 Thread Hrushikesh Salunke
Enable support for USB mass storage class (UMS) via USB0 instance of USB on AM64x SoC. UMS allows USB host to access U-Boot block device and enable file transfer. Example usage of UMS command : => mmc list mmc@fa1: 0 (eMMC) mmc@fa0: 1 => ums 0 mmc 1

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

2025-03-11 Thread Ilias Apalodimas
Hi Jerome, [...] > >> > >> +#if CONFIG_IS_ENABLED(WGET_BUILTIN_CACERT) > >> + cacert_initialized = true; > >> +#endif > >> return CMD_RET_SUCCESS; > >> } > >> + > >> +#if CONFIG_IS_ENABLED(WGET_BUILTIN_CACERT) > >> +static int set_cacert_builtin(void) > >> +{ > >> + return _

[PATCH v7 1/8] efi_loader: remove unused code from copy_fdt()

2025-03-11 Thread Sughosh Ganu
There is logic in the copy_fdt() function which is iterating over the platform's DRAM banks and setting the fdt_ram_start variable. However, this variable is not used subsequently in the function. Remove this superfluous code. Signed-off-by: Sughosh Ganu --- Changes since V6: New patch lib/efi_

Re: [RESEND PATCH 1/3] pci_auto: Downgrade prefetch if necessary

2025-03-11 Thread Patrick Rudolph
Hi Tom, On Mon, Mar 10, 2025 at 3:30 PM Tom Rini wrote: > > On Mon, Mar 10, 2025 at 10:01:32AM +0100, Patrick Rudolph wrote: > > > Legacy PCI devices, like qemu's Bochs VGA device, are allowed to have > > prefetchable 32-bit BARs, while PCIe devices are not allowed to have > > 32-bit prefetchable

[PATCH v2 2/4] i2c: omap24xx_i2c: Use new function __omap24_i2c_xfer_msg()

2025-03-11 Thread Aniket Limaye
Remove __omap24_i2c_read/write() usage from omap_i2c_xfer() in favour of the more flexible __omap24_i2c_xfer_msg(). Consequently, these are also no longer needed when DM_I2C is enabled. New function __omap24_i2c_xfer_msg() will take care of individual read OR write transfers with a target device.

Merge of v2025.04-rc4 in to next

2025-03-11 Thread Tom Rini
Hey, Attempting to merge v2025.04-rc4 in to -next fails on two files. One of which is common/miiphyutil.c and is easily solved (miiphy_init() goes away) and then lib/efi_loader/efi_net.c. The latter I need help with, ideally one of you, as you understand the code in question, sends me the merged f

Re: [PATCH 06/12] fs: exfat: Import libexfat from fuse-exfat

2025-03-11 Thread Tom Rini
On Sat, Mar 08, 2025 at 09:12:10PM +0100, Marek Vasut wrote: > Import most of libexfat from [1] except for log.c verbatim. The code > does not even compile and further adjustments and integration into > U-Boot filesystem code is in the next patch. > > [1] https://github.com/relan/exfat > 0b41

[PATCH v1 0/6] tegra: devices: add 3 second delay before power off

2025-03-11 Thread Svyatoslav Ryhel
Add 3 second delay before power off for some of recent devices to improve user experience. Svyatoslav Ryhel (6): configs: transformer: add 3 second delay before power off configs: endeavoru: add 3 second delay before power off configs: grouper: add 3 second delay before power off configs:

[PATCH v1 6/6] configs: qc750: add 3 second delay before power off

2025-03-11 Thread Svyatoslav Ryhel
Introduce a 3-second delay and an informational message during boot to enhance user experience. Signed-off-by: Svyatoslav Ryhel --- configs/qc750_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/qc750_defconfig b/configs/qc750_defconfig index 2485e64a2f0..e95

[PATCH v1 5/6] configs: x3_t30: add 3 second delay before power off

2025-03-11 Thread Svyatoslav Ryhel
Introduce a 3-second delay and an informational message during boot to enhance user experience. Signed-off-by: Svyatoslav Ryhel --- configs/x3_t30_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/x3_t30_defconfig b/configs/x3_t30_defconfig index c8da5b4ce35..

[PATCH v1 4/6] configs: picasso: add 3 second delay before power off

2025-03-11 Thread Svyatoslav Ryhel
Introduce a 3-second delay and an informational message during boot to enhance user experience. Signed-off-by: Svyatoslav Ryhel --- configs/picasso_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/picasso_defconfig b/configs/picasso_defconfig index 994951bb81

[PATCH v1 3/6] configs: grouper: add 3 second delay before power off

2025-03-11 Thread Svyatoslav Ryhel
Introduce a 3-second delay and an informational message during boot to enhance user experience. Signed-off-by: Svyatoslav Ryhel --- configs/grouper_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/grouper_defconfig b/configs/grouper_defconfig index 9221ffb46a

[PATCH v1 1/6] configs: transformer: add 3 second delay before power off

2025-03-11 Thread Svyatoslav Ryhel
Introduce a 3-second delay and an informational message during boot to enhance user experience. Signed-off-by: Svyatoslav Ryhel --- configs/transformer_t20_defconfig | 2 +- configs/transformer_t30_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/transform

[PATCH v1 2/6] configs: endeavoru: add 3 second delay before power off

2025-03-11 Thread Svyatoslav Ryhel
Introduce a 3-second delay and an informational message during boot to enhance user experience. Signed-off-by: Svyatoslav Ryhel --- configs/endeavoru_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/endeavoru_defconfig b/configs/endeavoru_defconfig index 1d1f

Re: [PATCH 13/17] makefile: Add `norelro` linker option

2025-03-11 Thread Ilias Apalodimas
On Mon, 24 Feb 2025 at 07:56, Sam Edwards wrote: > > RELRO is an instruction to a dynamic loader to make a memory range > read-only after relocations are applied, for added security. Some > linkers (e.g. LLD) require that all sections covered by the RELRO are > contiguous, so that only a single RE

Re: [PATCH v2 2/4] pwm: stm32: add driver to support pwm with timer

2025-03-11 Thread Fabrice Gasnier
On 3/11/25 15:30, Cheick Traore wrote: > Add driver to support pwm on STM32MP1X SoCs. The PWM signal is generated > using a multifuntion timer which provide a pwm feature. Clock rate and > addresses are retrieved from the multifunction timer driver. > > Signed-off-by: Cheick Traore > --- > > Cha

Re: [PATCH v3 1/2] CI: Move default image under global defaults

2025-03-11 Thread Tom Rini
On Thu, Mar 06, 2025 at 06:59:08AM -0700, Simon Glass wrote: > Hi Tom, > > On Wed, 5 Mar 2025 at 09:06, Tom Rini wrote: > > > > On Wed, Mar 05, 2025 at 07:18:40AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 4 Mar 2025 at 09:12, Tom Rini wrote: > > > > > > > > On Tue, Mar 04, 2025

Re: Pull request efi-next-20250310

2025-03-11 Thread Tom Rini
On Mon, 10 Mar 2025 13:52:33 +0100, Heinrich Schuchardt wrote: > The following changes since commit 743c15b9fdd2f639012a2c26734dc146dc568218: > >Merge patch series "This series adds support for file renaming to > EFI_FILE_PROTOCOL.SetInfo()." (2025-03-07 12:06:21 -0600) > > are available in

[PATCH 1/2] pwm: mediatek: add pwm support for MediaTek MT7987 SoC

2025-03-11 Thread Weijie Gao
This patch adds pwm support for MediaTek MT7987 SoC. Signed-off-by: Sam Shih Signed-off-by: Weijie Gao --- arch/arm/dts/mt7987-pinctrl.dtsi | 14 ++ arch/arm/dts/mt7987.dtsi | 16 +--- arch/arm/dts/mt7987a.dtsi| 2 ++ drivers/pwm/pwm-mtk.c| 1

[PATCH v7 2/8] efi_loader: install device-tree on configuration table on every invocation

2025-03-11 Thread Sughosh Ganu
The efi_install_fdt() function is called before booting an EFI binary, either directly, or through a bootmanager. This function installs a copy of the device-tree(DT) on the EFI configuration table, which is passed on to the OS. The current logic in this function does not install a DT if the table

[PATCH v4 12/47] x86: Use defines for the cache flags

2025-03-11 Thread Simon Glass
Use some named flags when setting up the cache, so it is easier to see what is going on. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/cpu/i386/cpu.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/arch/x86/cpu/i386/cpu.c b/arch/x86/cpu/i386

[PATCH v4 09/47] x86: Drop use of CONFIG_REALMODE_DEBUG

2025-03-11 Thread Simon Glass
This option is not actually defined in Kconfig anymore. Use a normal debug print instead, which has a similar effect. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/lib/bios.c| 18 -- arch/x86/lib/bios_interrupts.c | 6 ++ 2 files changed, 10 ins

[PATCH v4 42/47] sandbox: acpi: Correct mapping in FADT

2025-03-11 Thread Simon Glass
The values in the FADT are pointers so should not go through sandbox's normal addr<->pointer mapping. Fix this. Signed-off-by: Simon Glass --- Changes in v4: - Split out the command change into a separate patch Changes in v3: - Add new patch to correct mapping in FADT lib/acpi/acpi_table.c |

[PATCH] RISCV: config: Remove CFG_SYS_SDRAM_BASE

2025-03-11 Thread Jimmy Ho
Remove CFG_SYS_SDRAM_BASE so that we can get DRAM base from dt instead of compile time config. Removing this config helps the u-boot more portable. Signed-off-by: Jimmy Ho --- include/configs/sifive-unleashed.h | 1 - include/configs/sifive-unmatched.h | 1 - 2 files changed, 2 deletions(-) di

[PATCH v4 39/47] boot: Handle running out of labels

2025-03-11 Thread Simon Glass
If only a single label is provided in the list, bootdev_next_label() does not operate correctly and reads beyond the end of the pointer list. Fix this by adding a new check. Also add a note to convert this array to an alist Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: -

Re: [PATCH] mcheck: Fix SPDX License Identifier to LGPL-2.1-or-later

2025-03-11 Thread Tom Rini
On Sat, 01 Mar 2025 11:14:12 +0100, Diederik de Haas wrote: > The GPL-2.1+ SPDX License Identifier doesn't exist, but luckily the full > license text was available which shows that GPL-2.1+ was a typo and it > should have been LGPL-2.1-or-later. > As the '+' in LGPL-2.1+ is deprecated in SPDX 3.0,

Re: [PATCH 12/12] test_fs: Add exfat tests

2025-03-11 Thread Tom Rini
On Sat, Mar 08, 2025 at 09:12:16PM +0100, Marek Vasut wrote: > Add tests for the exfat filesystem. These tests are largely an > extension of the FS_GENERIC tests with the following notable > exceptions. > > The filesystem image for exfat tests is generated using combination > of exfatutils mkfs.ex

[PATCH] ARM: dts: imx: Drop bogus regulator extras on DH i.MX6 DHCOM DRC02

2025-03-11 Thread Marek Vasut
The regulator extras should be placed in the USB H1 regulator node, the /regulator-usb-h1-vbus. They are already present there in the upstream DT, so delete this bogus node entirely. Signed-off-by: Marek Vasut --- Cc: "NXP i.MX U-Boot Team" Cc: Andreas Geisreiter Cc: Christoph Niedermaier Cc:

[PATCH v2 0/4] omap24xx_i2c: Enable Repeated Start functionality

2025-03-11 Thread Aniket Limaye
This series implements Repeated Start functionality for the DM_I2C xfer API (omap_i2c_xfer()) First, split out the actual implementation for each individual i2c msg transfer into a new function __omap24_i2c_xfer_msg() and use this to implement omap_i2c_xfer(). Then, add support for the Repeated S

Re: [PULL] Pull request for u-boot master / v2025.04 = u-boot-stm32-20250310

2025-03-11 Thread Tom Rini
On Mon, Mar 10, 2025 at 01:21:27PM +0100, Patrice CHOTARD wrote: > Hi Tom > > Please pull the STM32 related patches for u-boot/master, v2025.04 = > u-boot-stm32-20250310 > > CI status: > https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/25054 > > Thanks > Patrice > > > The fol

[PATCH v7 6/8] blkmap: store type of blkmap slice in corresponding structure

2025-03-11 Thread Sughosh Ganu
Add information about the type of blkmap slice as an attribute in the corresponding slice structure. Put information in the blkmap slice structure to identify if it is associated with a memory or linear mapped device. Which can then be used to take specific action based on the type of the blkmap sl

Re: [PATCH 00/17] Various toolchain compatibility fixes/improvements

2025-03-11 Thread Tom Rini
On Fri, Mar 07, 2025 at 10:48:11PM -0800, Sam Edwards wrote: > On Thu, Mar 6, 2025 at 7:47 AM Tom Rini wrote: > > > > On Wed, Mar 05, 2025 at 07:46:56PM -0800, Sam Edwards wrote: > > > On Sun, Feb 23, 2025 at 9:55 PM Sam Edwards wrote: > > > > > > > > Long time no see, U-Boot folks! > > > > > > >

Re: [RFC] Raspberry Pi: copy /system/linux,{serial,revision} from firmware

2025-03-11 Thread Fiona Klute
Hi everyone, could I get some feedback on this patch, in particular if creating a temporary overlay is the right way to create the /system node if necessary? If yes, I intend to add error checks and minimize the buffer size, otherwise rework it for whatever is the better approach. Best regards,

Pull request efi-next-20250310

2025-03-11 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit 743c15b9fdd2f639012a2c26734dc146dc568218: Merge patch series "This series adds support for file renaming to EFI_FILE_PROTOCOL.SetInfo()." (2025-03-07 12:06:21 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodian

  1   2   3   >