[PATCH -next v6 02/10] mach-k3: use custom enable_cache

2025-09-06 Thread Anshul Dalal
U-Boot's provided enable_caches enforces the following sequence: icache_enable -> mmu_setup (as part of dcache_enable) -> dcache_enable Whereas for K3 devices, we would like to add entries to the provided static array (k3_mem_map) as per gd->bd->bi_dram and then call mmu_setup to configure the MMU

[PATCH 0/1] Add compatible for ADP5587

2025-09-06 Thread Philip Molloy
From: Philip Molloy Rev E of the ADI EV-SC598-SOM[1] replaced a GPIO expander with the ADP5587. This patch is necessary for the mainlining effort to support ADI ADSP-SC5xx based boards.[2] Since it is generic we're submitting this separately, also to reduce the size of the series. Note that this

[PATCH] clk: stm32: Pass udevice pointer to clk_register_composite()

2025-09-06 Thread Marek Vasut
The clk_register_composite() does clk_resolve_parent_clk() look up, which requires valid udevice pointer. Do not pass NULL, pass a valid device pointer to prevent hang on registering ck_usbo_48m clock on STM32MP13xx. Signed-off-by: Marek Vasut --- Cc: Gabriel Fernandez Cc: Patrice Chotard Cc: P

[PATCH] phy: Reset init count on phy exit failure

2025-09-06 Thread Marek Vasut
In case the PHY exit callback reports failure, reset init_count to 0 anyway, so the next attempt at PHY initialization might try to reinitialize the PHY and restore it to normal operation. Signed-off-by: Marek Vasut --- Cc: Mattijs Korpershoek Cc: Roger Quadros Cc: Siddharth Vadapalli Cc: Tom

[PATCH 2/2] board: dhelectronics: Use isascii() before isprint() in dh_read_eeprom_id_page()

2025-09-06 Thread Marek Vasut
The isprint() checks printability across all 256 characters, some of the upper 128 characters are printable and produce artifacts on UART. Call isascii() first to only consider the bottom 7bit ASCII characters as printable, and then check their printability using isprint(). This fixes a rare mispri

Re: [PATCH] thermal: Convert .get_temp() return value to millicelsius

2025-09-06 Thread Tom Rini
On Sat, Sep 06, 2025 at 02:05:33AM +0200, Marek Vasut wrote: > Linux kernel .get_temp() callback reports values in millicelsius, > U-Boot currently reports them in celsius. Align the two and report > in millicelsius. Update drivers accordingly. Update callsites that > use thermal_get_temp() as wel

Re: [PATCH v2] imx8m[m,n,p]_evk: Add redundant environment support

2025-09-06 Thread Fabio Estevam
On Fri, Aug 29, 2025 at 4:28 PM Fabio Estevam wrote: > > For reliable Over The Air update, it is recommended that redundant > environment is used. > > Add redundant environment support for the i.MX8M EVK boards. > > While at it, increase the environment size and adjust the offset. > > Signed-off-b

Re: [PATCH v2 1/2] phytec-imx8m boards: enable OP-TEE for KASLR

2025-09-06 Thread Teresa Remmet
Hello Yannic, Am Donnerstag, dem 04.09.2025 um 06:54 + schrieb Yannic Moog: > Hello Teresa, > > Am Dienstag, dem 02.09.2025 um 07:16 + schrieb Teresa Remmet: > > Hello Yannic > > > > Am Donnerstag, dem 14.08.2025 um 14:05 +0200 schrieb Yannic Moog: > > > Enable OP-TEE config and RNG by d

[PATCH -next v6 06/10] mach-k3: map all banks using mem_map_fix_dram_banks

2025-09-06 Thread Anshul Dalal
The static memory map for K3 (k3_mem_map) only maps the first DRAM bank and therefore doesn't scale for platforms with multiple memory banks. This patch modifies enable_caches to add mem_map_fix_dram_banks which appends all the memory banks to k3_mem_map before calling mmu_setup. Signed-off-by: A

Re: [Upstream] [PATCH 1/2] configs: imx93-phycore_defconfig: Disable CONFIG_AHAB_BOOT

2025-09-06 Thread Fabio Estevam
On Thu, Aug 28, 2025 at 6:33 AM Martin Schwan wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Reviewed-by: Martin Schwan Applied both for next, thanks.

[PATCH 1/2] board: dhelectronics: Check pointer before access in dh_get_value_from_eeprom_buffer()

2025-09-06 Thread Marek Vasut
The eip pointer in dh_get_value_from_eeprom_buffer() might be NULL. The current NULL pointer check happens too late, after the eip was accessed in variable assignment. Reorder the two, so the NULL pointer check happens first, and any access second, otherwise the access may trigger a hang or other u

[PATCH] net: dwc_eth_qos: Fix support for stm32mp2 platform

2025-09-06 Thread Marek Vasut
The layout of SYSCFG_ETHnCR on STM32MP25xx is slightly different yet again. Add missing swizzling to program the correct register with the correct content. Fixes: 20afca89ed53 ("net: dwc_eth_qos: add support of stm32mp2 platform") Signed-off-by: Marek Vasut --- Cc: Christophe Roullier Cc: Joe He

Re: [PATCH] cmd: terminal: avoid serial_reinit_all() with DM_SERIAL enabled

2025-09-06 Thread Aditya Dutt
On Fri, 2025-09-05 at 19:36 +0530, Aditya Dutt wrote: > Running the following: > >   make am335x_evm_config >   scripts/config --enable CONFIG_DM_SERIAL >   make > Sorry, there is a typo here. Running the following: make am335x_evm_config scripts/config --enable CONFIG_CMD_TERMINAL make