please pull u-boot-samsung master

2025-09-04 Thread Minkyu Kang
Dear Tom, The following changes since commit 3dc5e9a0108bb114175b6362f9cb22367402f624: Merge tag 'u-boot-stm32-20250825' of https://source.denx.de/u-boot/custodians/u-boot-stm (2025-08-26 08:33:10 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot

Re: [PATCH v4] disk: efi_loader: Improve disk image detection in efi_bootmgr

2025-09-04 Thread Ilias Apalodimas
Hi Javier Generally speaking this looks ok now. A few nits below and I think we can pull it On Thu, 4 Sept 2025 at 00:44, Javier Tia wrote: > > Enhances the process for identifying disk images within the EFI boot > manager. Utilize part_driver_lookup_type() to verify the validity of a > download

Re: [PATCH v3 2/5] misc: fs_loader: allow using long script name in request_firmware_into_buf_via_script()

2025-09-04 Thread Lothar Waßmann
Hi, On Fri, 5 Sep 2025 09:26:05 +0800 Weijie Gao wrote: [...] > > > We'll get compiler warning if using const char *[]: > > > > > > CC drivers/misc/fs_loader.o > > > drivers/misc/fs_loader.c: In function > > > 'request_firmware_into_buf_via_script': > > > drivers/misc/fs_loader.c:243:33: w

[PATCH v2 3/4] riscv: dts: starfive: visionfive2 depend on SYS_CPU automatic dtsi inclusion

2025-09-04 Thread E Shattow
Drop visionfive2 per-board -u-boot.dtsi stubs and instead rely on automatic inclusion of jh7110-u-boot.dtsi Signed-off-by: E Shattow --- arch/riscv/dts/jh7110-deepcomputing-fml13v01-u-boot.dtsi | 7 --- arch/riscv/dts/jh7110-milkv-mars-u-boot.dtsi | 7 --- arch/riscv/dts/

[PATCH v2 1/4] riscv: dts: starfive: prune redundant jh7110-common overrides

2025-09-04 Thread E Shattow
Prune jh7110-common-u-boot.dtsi (clocks, qspi flash, eeprom, and bootph-pre-ram hints now upstream since devicetree-rebasing v6.16). In preparation for removal of per-dts jh7110-*-u-boot.dtsi replace include by next dependency jh7110-u-boot.dtsi in automatic dtsi inclusion order. Signed-off-by: E

[PATCH v2 0/4] riscv: dts: starfive: prune redundant jh7110-common overrides

2025-09-04 Thread E Shattow
There are more than a few additional JH7110 CPU boards that may soon be upstreamed. Each new variant supported by U-Boot has the burden of adding a per-dts stub file for automatic dtsi inclusion by the build system. Also i.e. the JH7110S CPU board introduced by StarFive is to be supported by the sa

Re: [PATCH v3 2/5] misc: fs_loader: allow using long script name in request_firmware_into_buf_via_script()

2025-09-04 Thread Weijie Gao
Hi, On Thu, 2025-09-04 at 11:28 +0200, Lothar Waßmann wrote: > External email : Please do not click links or open attachments until > you have verified the sender or the content. > > > Hi, > > On Thu, 4 Sep 2025 08:23:28 +0800 Weijie Gao wrote: > > On Wed, 2025-09-03 at 13:36 +0200, Lothar Waßm

[PATCH RESEND v5 0/2] cmd: mtd: fix benchmarking

2025-09-04 Thread Mikhail Kshevetskiy
The patch series fixes speed calculation for nand device case and updates help to refer benchmark option presence. Changes v2: * update commit message * 'Fixes:' tag was added * calculate speed a bit more precisely using a 64-bit math Changes v3: * split on 2 patches * update help for 'mtd w

Re: [PATCH v2 1/4] clang-format: Add configuration file

2025-09-04 Thread Javier Tia
Hi Michal, On Thu, Sep 4, 2025, at 1:23 AM, Michal Simek wrote: > Hi, > > čt 4. 9. 2025 v 0:10 odesílatel Javier Tia napsal: >> >> Introduce .clang-format configuration file to U-Boot, providing >> significant improvements over the existing scripts/Lindent approach for >> C code formatting. >> >>

Re: [PATCH] pwm: meson: Stop premature exit from for loop

2025-09-04 Thread Neil Armstrong
Hi, On Fri, 08 Aug 2025 10:34:43 +0100, Andrew Goodbody wrote: > In meson_pwm_probe the for loop attempts to get the name of a clock but > the following if..else statements only perform useful work if -ENODATA > is returned from clk_get_by_name. If clk_get_by_name simply succeeds > then this resul

Re: [PATCH v2 4/7] video: stm32: ltdc: support new hardware version for STM32MP25 SoC

2025-09-04 Thread Yannick FERTRE
Hi Raphael, Thanks for the patch. Acked-by: Yannick Fertre Le 03/09/2025 à 14:25, Raphael Gallais-Pou a écrit : STM32MP2 SoCs feature a new version of the LTDC IP. This new version features a bus clock, as well as a 150MHz pad frequency. Add its compatible to the list of device to probe and

Re: [PATCH v2 3/7] video: stm32: STM32 driver support for LVDS

2025-09-04 Thread Yannick FERTRE
Hi Raphael, Thanks for the patch. Acked-by: Yannick Fertre Le 03/09/2025 à 14:25, Raphael Gallais-Pou a écrit : The LVDS Display Interface Transmitter handles the LVDS protocol: it maps the pixels received from the upstream Pixel-DMA (LTDC) onto the LVDS PHY. The LVDS controller driver suppor

[PATCH v3 2/7] video: simple_panel: add support for "panel-lvds" display

2025-09-04 Thread Raphael Gallais-Pou
Add the compatible "panel-lvds" for simple-panel driver in U-Boot. In Linux this compatible is managed by the driver drivers/gpu/drm/panel/panel-lvds.c but in U-Boot the specific LVDS features (bus_format/bus_flags) are not supported. Reviewed-by: Patrice Chotard Reviewed-by: Yannick Fertre Sig

[PATCH v2 2/4] tools: zynqmp_psu_init_minimize.sh: Switch to clang-format

2025-09-04 Thread Javier Tia
Replace the use of scripts/Lindent with clang-format in zynqmp_psu_init_minimize.sh. This change is made to align with the rest of the codebase that uses clang-format for code formatting. This ensures consistency across all scripts in terms of code style and formatting. Signed-off-by: Javier Tia

[PATCH 3/3] cmd: mtd: add nand_read_test command support

2025-09-04 Thread Mikhail Kshevetskiy
This patch implements read-only test of nand flash devices. Test reads blocks of NAND flash in normal and raw modes and compares results. The following statuses can be returned for a block: * non-ecc reading failed, * ecc reading failed, * block is bad, * bitflips is above maximum, * actual n

Re: [PATCH v3 1/5] Image size checks: Move all configs in one place

2025-09-04 Thread Marek Vasut
On 9/3/25 12:56 PM, Philip Oberfichtner wrote: How image size limiting works in U-Boot should be easier to grasp if we have all related options in one place. Signed-off-by: Philip Oberfichtner --- Kconfig| 59 ++ common/spl/Kconfig

Re: [PATCH] net: mdio: mux-meson-gxl: set reversed bit when using internal phy

2025-09-04 Thread Neil Armstrong
Hi, On Fri, 02 May 2025 08:51:45 +0200, Neil Armstrong wrote: > This bit is necessary to receive packets from the internal PHY. > Without this bit set, no activity occurs on the interface. > > Normally u-boot sets this bit, but if u-boot is compiled without > net support, the interface will be up

Re: [PATCH] adc: meson-saradc: uint cannot be less than zero

2025-09-04 Thread Neil Armstrong
Hi, On Tue, 22 Jul 2025 15:06:14 +0100, Andrew Goodbody wrote: > timeout is declared as a uint but then tested for being less than zero > which must always fail. Change the while loop for a pre-decrement on > timeout and test timeout for being zero. > > This issue was found by Smatch. > > > [..

Re: [PATCH] clk: meson: Remove unreachable code

2025-09-04 Thread Neil Armstrong
Hi, On Wed, 23 Jul 2025 17:37:24 +0100, Andrew Goodbody wrote: > A second return following the first return is unreachable code so remove > it. > > This issue was found by Smatch. > > Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-amlogic (u-boot-amlogic-next) [1/1] clk:

[PATCH RESEND v5 1/2] cmd: mtd: fix speed measurement in the speed benchmark

2025-09-04 Thread Mikhail Kshevetskiy
The shown speed is inversely proportional to the data size. See the output: spi-nand: spi_nand nand@0: Micron SPI NAND was found. spi-nand: spi_nand nand@0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128 ... => mtd read.benchmark spi-nand0 $loadaddr 0 0x4 Reading 26214

[PATCH RESEND v5 2/2] cmd: mtd: add benchmark option to the help

2025-09-04 Thread Mikhail Kshevetskiy
The patch adds benchmark option to the help of mtd command. For the 'mtd write' case the help line exceed 80 characters. Ignore this issue as modern terminals are capable to handle more characters. The patch also formats other command to make sure all device names starts on the same collumn. Fixe

Re: [PATCH v3 3/5] Image size checks: Use consistent help texts

2025-09-04 Thread Philip Oberfichtner
On Wed, Sep 03, 2025 at 02:54:23PM +0200, Marek Vasut wrote: > On 9/3/25 12:56 PM, Philip Oberfichtner wrote: > > The multiple XXX_SIZE_LIMIT options use slightly varying help texts. > > Their similarities and differences should become more clear if we use > > consistent help texts. > > > > Signed

Re: [PATCH] pwm: meson: Stop premature exit from for loop

2025-09-04 Thread Neil Armstrong
On 08/08/2025 11:34, Andrew Goodbody wrote: In meson_pwm_probe the for loop attempts to get the name of a clock but the following if..else statements only perform useful work if -ENODATA is returned from clk_get_by_name. If clk_get_by_name simply succeeds then this results in a premature exit fro

Re: [PATCH v2 5/7] video: stm32: ltdc: properly search the first available panel

2025-09-04 Thread Yannick FERTRE
Hi Raphael, Thanks for the patch. Acked-by: Yannick Fertre Le 03/09/2025 à 14:25, Raphael Gallais-Pou a écrit : Initially there was only one DSI bridge with one panel attached to this device. This explained the call to uclass_first_device_err(UCLASS_PANEL, ...) which worked fine at the time.

Re: [PATCH v3 4/5] Image size checks: Deduplicate Makefile

2025-09-04 Thread Marek Vasut
On 9/3/25 12:56 PM, Philip Oberfichtner wrote: Deduplicate some redundancies within the SIZE_CHECK code in the toplevel Makefile. No functional changes. Note: To make this work for the special case of SPL, spl_size_limit.c has to print an empty string "" instead of zero when there is no size lim

Re: [PATCH v3 5/5] Image size checks: Simplify SPL_SIZE_LIMIT logic

2025-09-04 Thread Philip Oberfichtner
On Wed, Sep 03, 2025 at 02:59:01PM +0200, Marek Vasut wrote: > On 9/3/25 12:56 PM, Philip Oberfichtner wrote: > > Simplify the depends-on logic for SPL_SIZE_LIMIT. No functional change. > > > > Signed-off-by: Philip Oberfichtner > > --- > > Kconfig | 2 +- > > 1 file changed, 1 insertion(+), 1

[PATCH v3 4/7] video: stm32: ltdc: support new hardware version for STM32MP25 SoC

2025-09-04 Thread Raphael Gallais-Pou
STM32MP2 SoCs feature a new version of the LTDC IP. This new version features a bus clock, as well as a 150MHz pad frequency. Add its compatible to the list of device to probe and handle quirks. The new hardware version features a bus clock. Reviewed-by: Patrice Chotard Acked-by: Yannick Fertr

[PATCH v3 6/7] ARM: dts: stm32: use LTDC and LVDS nodes before relocation in stm32mp25-u-boot

2025-09-04 Thread Raphael Gallais-Pou
Use LTDC and LVDS nodes in all boot phases. This is specially useful before U-Boot relocation. Reviewed-by: Patrice Chotard Reviewed-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou --- arch/arm/dts/stm32mp25-u-boot.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/ar

[PATCH v3 3/7] video: stm32: STM32 driver support for LVDS

2025-09-04 Thread Raphael Gallais-Pou
The LVDS Display Interface Transmitter handles the LVDS protocol: it maps the pixels received from the upstream Pixel-DMA (LTDC) onto the LVDS PHY. The LVDS controller driver supports the following high-level features: • FDP-Link-I and OpenLDI (v0.95) protocols • Single-Link or Dua

Re: [PATCH 4/4] configs: qcom_defconfig: Enable SM7150 GCC and Pinctrl

2025-09-04 Thread Casey Connolly
On 31/08/2025 02:46, Jens Reidel wrote: > From: Danila Tikhonov > > Enable the necessary drivers so that SM7150 devices can boot with > qcom_defconfig. > > Signed-off-by: Danila Tikhonov > Signed-off-by: Jens Reidel Reviewed-by: Casey Connolly > --- > configs/qcom_defconfig | 2 ++ > 1 fi

Re: [PATCH v3 4/5] Image size checks: Deduplicate Makefile

2025-09-04 Thread Marek Vasut
On 9/4/25 10:30 AM, Philip Oberfichtner wrote: On Wed, Sep 03, 2025 at 03:02:20PM +0200, Marek Vasut wrote: On 9/3/25 12:56 PM, Philip Oberfichtner wrote: Deduplicate some redundancies within the SIZE_CHECK code in the toplevel Makefile. No functional changes. Note: To make this work for the s

Re: [PATCH v3 5/5] Image size checks: Simplify SPL_SIZE_LIMIT logic

2025-09-04 Thread Marek Vasut
On 9/4/25 10:23 AM, Philip Oberfichtner wrote: On Wed, Sep 03, 2025 at 02:59:01PM +0200, Marek Vasut wrote: On 9/3/25 12:56 PM, Philip Oberfichtner wrote: Simplify the depends-on logic for SPL_SIZE_LIMIT. No functional change. Signed-off-by: Philip Oberfichtner --- Kconfig | 2 +- 1 file

Re: [PATCH v3 2/5] Image size checks: Use HAS_SIZE_LIMIT consistently

2025-09-04 Thread Marek Vasut
On 9/4/25 10:19 AM, Philip Oberfichtner wrote: On Wed, Sep 03, 2025 at 02:51:44PM +0200, Marek Vasut wrote: On 9/3/25 12:56 PM, Philip Oberfichtner wrote: diff --git a/configs/am62x_beagleplay_a53_defconfig b/configs/am62x_beagleplay_a53_defconfig index 05853317fea..dfac96379ce 100644 --- a/c

Re: [PATCH v3 1/5] Image size checks: Move all configs in one place

2025-09-04 Thread Marek Vasut
On 9/4/25 10:12 AM, Philip Oberfichtner wrote: On Wed, Sep 03, 2025 at 02:50:49PM +0200, Marek Vasut wrote: On 9/3/25 12:56 PM, Philip Oberfichtner wrote: How image size limiting works in U-Boot should be easier to grasp if we have all related options in one place. Signed-off-by: Philip Oberfi

[PATCH 0/3] cmd: mtd: improvements

2025-09-04 Thread Mikhail Kshevetskiy
Some nand flashes (like spi-nand one) are registered with mtd subsystem only, thus nand command can't be used to work with such flashes. As result some functionality is missing. This patch series introduce following features: * 'mtd markbad' command (clone of 'nand markbad') * 'mtd nand_write_te

Re: [PATCH 2/4] pinctrl: qcom: add SM7150 pinctrl driver

2025-09-04 Thread Casey Connolly
On 31/08/2025 02:46, Jens Reidel wrote: > From: Danila Tikhonov > > This SoC features a pinctrl block with north, south, and west tiles > accessible to the AP. > > Signed-off-by: Danila Tikhonov > Co-developed-by: Jens Reidel > Signed-off-by: Jens Reidel > --- > drivers/pinctrl/qcom/Kconf

Re: [PATCH 1/4] clk/qcom: add driver for SM7150 GCC

2025-09-04 Thread Casey Connolly
Hi Jens, Thanks! Since the dt-binding headers are already available for this platform this is all good. On 31/08/2025 02:45, Jens Reidel wrote: > From: Danila Tikhonov > > Add a clock driver for the SM7150 SoC. This driver can enable necessary > clocks for UART, UFS, USB, and MMC. > > Signed-o

Re: [PATCH 2/2] ti: Do not remove ft_board_setup for CONFIG_NO_NET

2025-09-04 Thread Maarten Brock
From: Tom Rini > On Mon, Sep 01, 2025 at 04:06:10PM +, Maarten Brock wrote: > > > Even when CONFIG_NO_NET is selected there is still need for a > > definition of ft_board_setup(). Thus move the checks for > > CONFIG_DM_ETH and CONFIG_DRIVER_TI_CPSW inside the function. > > > > Signed-off-by:

[PATCH v3 7/7] configs: stm32mp25: enable LVDS display support

2025-09-04 Thread Raphael Gallais-Pou
Compile VIDEO_STM32 and VIDEO_STM32_LVDS by default. Reviewed-by: Patrice Chotard Reviewed-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou --- configs/stm32mp25_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/stm32mp25_defconfig b/configs/stm32mp25_defconfig inde

[PATCH v3 5/7] video: stm32: ltdc: properly search the first available panel

2025-09-04 Thread Raphael Gallais-Pou
Initially there was only one DSI bridge with one panel attached to this device. This explained the call to uclass_first_device_err(UCLASS_PANEL, ...) which worked fine at the time. Now that multiple bridges and panels, with different technologies, can be plugged onto the board this way to get the

[PATCH v3 1/7] ofnode: support panel-timings in ofnode_decode_display_timing

2025-09-04 Thread Raphael Gallais-Pou
The "Display Timings" in panel-common.yaml can be provided by 2 properties - panel-timing: when display panels are restricted to a single resolution the "panel-timing" node expresses the required timings. - display-timings: several resolutions with different timings are supported

[PATCH v3 0/7] Add display support for STM32MP25

2025-09-04 Thread Raphael Gallais-Pou
This series aims to add basic LVDS display support for STM32MP257F-EV1 board. It introduces: - the STM32 LVDS Display Interface Transmitter driver. - a new version of the STM32 LTDC driver. - the support of "panel-lvds" compatible. It adds and enables driver support for stm32mp257f-ev1-u-boot It

Re: [PATCH v3] pinctrl: meson: support gpio toggle command

2025-09-04 Thread Neil Armstrong
Hi, On Tue, 17 Jun 2025 01:01:17 +0800, Yang Xiwen wrote: > meson_gpio_get() always assumes gpio is configured to input mode. This > is incorrect and breaks `gpio toggle` command: > > gpio: pin aobus-banks2 (gpio 2) value is 0 >Warning: value of pin is still 1 > > Fix it by adding the logic

Re: [PATCH v2 7/7] configs: stm32mp25: enable LVDS display support

2025-09-04 Thread Yannick FERTRE
Hi Raphael, Thanks for the patch. Reviewed-by: Yannick Fertre Le 03/09/2025 à 14:25, Raphael Gallais-Pou a écrit : Compile VIDEO_STM32 and VIDEO_STM32_LVDS by default. Reviewed-by: Patrice Chotard Signed-off-by: Raphael Gallais-Pou --- configs/stm32mp25_defconfig | 3 +++ 1 file changed,

Re: [PATCH v3 2/5] misc: fs_loader: allow using long script name in request_firmware_into_buf_via_script()

2025-09-04 Thread Lothar Waßmann
Hi, On Thu, 4 Sep 2025 08:23:28 +0800 Weijie Gao wrote: > On Wed, 2025-09-03 at 13:36 +0200, Lothar Waßmann wrote: > > External email : Please do not click links or open attachments until > > you have verified the sender or the content. > > > > > > Hi, > > > > On Wed, 3 Sep 2025 16:38:30 +0800

Re: [PATCH v3 5/5] Image size checks: Simplify SPL_SIZE_LIMIT logic

2025-09-04 Thread Heinrich Schuchardt
On 9/4/25 10:23, Philip Oberfichtner wrote: On Wed, Sep 03, 2025 at 02:59:01PM +0200, Marek Vasut wrote: On 9/3/25 12:56 PM, Philip Oberfichtner wrote: Simplify the depends-on logic for SPL_SIZE_LIMIT. No functional change. Signed-off-by: Philip Oberfichtner --- Kconfig | 2 +- 1 file ch

Re: [PATCH v3 4/5] Image size checks: Deduplicate Makefile

2025-09-04 Thread Philip Oberfichtner
On Wed, Sep 03, 2025 at 03:02:20PM +0200, Marek Vasut wrote: > On 9/3/25 12:56 PM, Philip Oberfichtner wrote: > > Deduplicate some redundancies within the SIZE_CHECK code in the toplevel > > Makefile. No functional changes. > > > > Note: To make this work for the special case of SPL, spl_size_limi

Re: [PATCH v3 2/5] Image size checks: Use HAS_SIZE_LIMIT consistently

2025-09-04 Thread Philip Oberfichtner
On Wed, Sep 03, 2025 at 02:51:44PM +0200, Marek Vasut wrote: > On 9/3/25 12:56 PM, Philip Oberfichtner wrote: > > > diff --git a/configs/am62x_beagleplay_a53_defconfig > > b/configs/am62x_beagleplay_a53_defconfig > > index 05853317fea..dfac96379ce 100644 > > --- a/configs/am62x_beagleplay_a53_def

Re: [PATCH v2 1/4] clang-format: Add configuration file

2025-09-04 Thread Michal Simek
Hi, čt 4. 9. 2025 v 0:10 odesílatel Javier Tia napsal: > > Introduce .clang-format configuration file to U-Boot, providing > significant improvements over the existing scripts/Lindent approach for > C code formatting. > > Benefits of clang-format over scripts/Lindent: > > - More comprehensive for

Re: [PATCH v2 2/4] tools: zynqmp_psu_init_minimize.sh: Switch to clang-format

2025-09-04 Thread Michal Simek
On 9/4/25 00:09, Javier Tia wrote: Replace the use of scripts/Lindent with clang-format in zynqmp_psu_init_minimize.sh. This change is made to align with the rest of the codebase that uses clang-format for code formatting. This ensures consistency across all scripts in terms of code style and

Re: [PATCH v2 6/7] ARM: dts: stm32: use LTDC and LVDS nodes before relocation in stm32mp25-u-boot

2025-09-04 Thread Yannick FERTRE
Hi Raphael, Thanks for the patch. Reviewed-by: Yannick Fertre Le 03/09/2025 à 14:25, Raphael Gallais-Pou a écrit : Use LTDC and LVDS nodes in all boot phases. This is specially useful before U-Boot relocation. Reviewed-by: Patrice Chotard Signed-off-by: Raphael Gallais-Pou --- arch/arm/d

Re: [PATCH v2 1/7] ofnode: support panel-timings in ofnode_decode_display_timing

2025-09-04 Thread Yannick FERTRE
Hi Raphael, Thanks for the patch. Acked-by: Yannick Fertre Le 03/09/2025 à 14:25, Raphael Gallais-Pou a écrit : The "Display Timings" in panel-common.yaml can be provided by 2 properties - panel-timing: when display panels are restricted to a single resolution the "panel-timin