Re: usb:composite: data abort on second ums launch

2025-03-24 Thread Marek Vasut
On 3/24/25 11:42 AM, Zixun LI wrote: Hi, I encountered a data abort on the 2nd "ums 0 mmc 0" command on u-boot-at91 2024.07 with sam9x60-curiosity board. U-Boot> ums 0 mmc 0 UMS: LUN 0, dev mmc 0, hwpart 0, sector 0x0, count 0x1d29000 CTRL+C - Operation aborted U-Boot> ums 0 mmc 0 UMS: LUN 0, d

Re: [PATCH] usb: dwc3: gadget: Fix match_ep callback for NXP UUU tool

2025-03-24 Thread Marek Vasut
On 3/24/25 1:30 PM, Francesco Dolcini wrote: On Mon, Mar 24, 2025 at 09:26:03AM +0100, Mattijs Korpershoek wrote: Hi Francesco, On lun., mars 24, 2025 at 09:03, Francesco Dolcini wrote: Hello Mattijs, Marek On Thu, Mar 20, 2025 at 10:47:02AM +0100, Mattijs Korpershoek wrote: On mer., mars

[resend v3 10/12] test: cmd: Add simple test for i3c

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Add simple test to check i3c controller defined in sandbox test DT. Basically, this test case will check validity of the i3c controller by probing it and perform basic commands of cmd/i3c.c Signed-off-by: Dinesh Maniyam --- test/cmd/Makefile | 1 + test/cmd/i3c.c| 52

[resend v3 08/12] i3c: master: dw-i3c-master: Fix OD_TIMING for spike filter

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Fix the I3C device with spike filter unable to detect issue by setting tHIGH_INIT to 200ns for first broadcast address. This is according to MIPI SPEC 1.1.1 for first broadcast address which is already part of linux upstreamed patch. Signed-off-by: Dinesh Maniyam --- drive

Re: [PATCH] efi_loader: fix ipv4 device path node conversion

2025-03-24 Thread Heinrich Schuchardt
On 24.03.25 09:34, Vincent Stehlé wrote: When converting an IPv4 device path node to text, the EFI_DEVICE_PATH_TO_TEXT_PROTOCOL will produce the following string: IPv4(5.6.7.8,TCP,UDP,0x6,DHCP,1.2.3.4,9.10.11.12,255.255.255.0) This string erroneously contains multiple protocols: TCP, UDP and

Re: [PATCH 1/3] mux: Kconfig: Add Kconfig options for MUX_MMIO

2025-03-24 Thread Tom Rini
On Thu, Mar 20, 2025 at 12:00:02PM +0530, Anurag Dutta wrote: > Add Kconfig options for MUX_MMIO so that it can be enabled > in SPL stage. > > Signed-off-by: Anurag Dutta > --- > drivers/mux/Kconfig | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/drivers/mux/Kconfig b/drive

[PATCH v2] cmd: pmic: add fall through comment

2025-03-24 Thread Heinrich Schuchardt
Make fall through explicit via a fallthrough statement to allow building with -Wimplicit-fallthrough. Signed-off-by: Heinrich Schuchardt --- v2: in commit message replace 'comment' by 'statement'. --- cmd/pmic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/pmic.c b/cmd/pmic.c

[PATCH 3/6] ARM: dts: stm32: add display support on stm32f769-disco

2025-03-24 Thread Dario Binacchi
[backport from Linux commit 598e5adfeb6062f5d4d352c0ef888b2b29d7e215] The patch adds display support on the stm32f769-disco board. Signed-off-by: Dario Binacchi --- arch/arm/dts/stm32f769-disco-u-boot.dtsi | 34 -- arch/arm/dts/stm32f769-disco.dts | 58 +

[PATCH 2/6] ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f769-disco

2025-03-24 Thread Dario Binacchi
[backport from Linux commit f1317928fa03203929665af61e6d9ac0e29ea84d] In the schematics of document UM2033, the power supply for the micro SD card is the same 3v3 voltage that is used to power other devices on the board. By generalizing the name of the voltage regulator, it can be referenced by ot

[PATCH 6/6] board: stm32f769-disco: support FRD400B25025-A-CTK display

2025-03-24 Thread Dario Binacchi
Support FRIDA FRD400B25025-A-CTK display on stm32f769-disco board. As reported in the section 8.3 (i. e. Board revision history) of document UM2033 (i. e. Discovery kit with STM32F769NI MCU) these are the changes related to the board revision addressed by the patch: - Board MB1166 revision A-09: -

[PATCH 4/6] ARM: dts: add stm32f769-disco-mb1166-reva09

2025-03-24 Thread Dario Binacchi
[backport from Linux commit db4fc2c79c533986795a7750e9a12caf9d620b48] As reported in the section 8.3 (i. e. Board revision history) of document UM2033 (i. e. Discovery kit with STM32F769NI MCU) these are the changes related to the board revision addressed by the patch: - Board MB1166 revision A-09

Re: [PATCH v2 2/4] net: ravb: Add optional reset deassertion

2025-03-24 Thread Marek Vasut
On 3/24/25 10:57 AM, Paul Barker wrote: On 24/03/2025 01:08, Marek Vasut wrote: On 3/19/25 1:03 PM, Paul Barker wrote: [...] static int ravb_probe(struct udevice *dev) { + struct ravb_device_ops *device_ops = + (struct ravb_device_ops *)dev_get_driver_data(dev);

Re: [PATCH 2/2] sunxi: H616: dram: Improve address wrapping detection

2025-03-24 Thread Andre Przywara
On Sun, 9 Mar 2025 07:31:43 +0100 Jernej Skrabec wrote: Hi, > It turns out that checking just one write is not enough. Due to > unexplained reasons scan procedure detected double the size. By making > 16 dword writes and comparisons that never happens. > > New procedure is also inverted. Inste

Re: [PATCH] usb: dwc3: gadget: Fix match_ep callback for NXP UUU tool

2025-03-24 Thread Francesco Dolcini
On Mon, Mar 24, 2025 at 02:53:23PM +0100, Marek Vasut wrote: > On 3/24/25 1:30 PM, Francesco Dolcini wrote: > > On Mon, Mar 24, 2025 at 09:26:03AM +0100, Mattijs Korpershoek wrote: > > > Hi Francesco, > > > > > > On lun., mars 24, 2025 at 09:03, Francesco Dolcini > > > wrote: > > > > > > > Hell

Re: [PATCH] usb: dwc3: gadget: Fix match_ep callback for NXP UUU tool

2025-03-24 Thread Mattijs Korpershoek
Hi Neil, On lun., mars 24, 2025 at 10:20, Neil Armstrong wrote: > On 19/03/2025 23:07, Marek Vasut wrote: >> The UUU tool excepts the interrupt-in endpoint to be ep1in, otherwise >> it crashes. This is a result of the previous hard-coded EP setup in >> drivers/usb/gadget/epautoconf.c which did

Re: [PATCH 1/2] mach-snapdragon: of_fixup: fix property length at writing

2025-03-24 Thread Caleb Connolly
On 2/27/25 10:45, Rui Miguel Silva wrote: The length of a property includes '\0' in a string type one, so the length passed by needs to have that in account, if not, when getting the property value it will fail because it has the wrong size. Signed-off-by: Rui Miguel Silva Tested-by: # db

[PATCH 5/6] video: support FRIDA FRD400B25025-A-CTK

2025-03-24 Thread Dario Binacchi
[backport from Linux commits 9b26d5c044d6a29ebfb1845408e0f2a7c5f89818 and 219a1f49094f50bf9c382830d06149e677f76bed] The patch adds the FRIDA FRD400B25025-A-CTK panel, which belongs to the Novatek NT35510-based panel family. Signed-off-by: Dario Binacchi --- drivers/video/Kconfig |

[PATCH 1/4] clk/stub: add sdm845 rpmh clock

2025-03-24 Thread Caleb Connolly
Necessary for UFS to successfully probe all clocks. Signed-off-by: Caleb Connolly --- drivers/clk/clk-stub.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk-stub.c b/drivers/clk/clk-stub.c index 343fa5cd3fe1704c6bb15a8c9852b9b4e4990351..521ecfc5917b45f8ffaf2f25aabcc5abb4863c

[PATCH 0/4] Qualcomm: fix sdm845 clocks and enable fastboot

2025-03-24 Thread Caleb Connolly
Fix clock init failures for USB and UFS on SDM845 devices, stub the RPMh clock controller, enable DM_USB_GADGET and fastboot support for all Qualcomm platforms supported by qcom_defconfig. Fastboot isn't super useful yet, but can be used for flashing MMC (either internal or sdcard). Depends on h

[PATCH 4/4] qcom_defconfig: enable fastboot

2025-03-24 Thread Caleb Connolly
Enable fastboot support over USB, using MMC as the backend. This will be the internal eMMC on devices that have it, or the sdcard slot on devices with UFS (if available). We don't use a fixed address for the fastboot buffer because it's allocated at runtime per-board. Entering fastboot mode should

[PATCH 2/4] clk/qcom: sdm845: add GCC_AGGRE_UFS_PHY_AXI_CLK

2025-03-24 Thread Caleb Connolly
Missing for UFS. Signed-off-by: Caleb Connolly --- drivers/clk/qcom/clock-sdm845.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/clock-sdm845.c b/drivers/clk/qcom/clock-sdm845.c index 7fd875e55d5443f170801172a373e0405041e1d1..5c8702ef2fe00a46a30dbdfddd6e649d20465006 1006

[resend v3 04/12] drivers: Enabled Kconfig and Makefile for i3c support

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Add new i3c driver to U-Boot drivers. Signed-off-by: Dinesh Maniyam --- MAINTAINERS | 7 +++ drivers/Kconfig | 2 ++ drivers/Makefile | 1 + drivers/i3c/Kconfig | 16 drivers/i3c/Makefile | 3 +++ 5 files changed, 29 insertions(+

[PATCH 0/6] Support NT35510 panel controller on stm32f769i-disco board

2025-03-24 Thread Dario Binacchi
The series, inspired by some of my patches already merged into Linux, adds support for the Novatek NT35510 panel on the stm32f769i-disco board. Indeed, the MB1166 board comes in different hardware revisions. The MB1166-A09 is utilizing a NT35510 panel controller while prior versions are utilizing a

Re: [PATCH V4 4/7] cpu: imx8_cpu: Print Speed grade if IMX_TMU.

2025-03-24 Thread Marek Vasut
On 3/25/25 3:54 AM, Adam Ford wrote: Much of the data that is display by imx8_cpu.c is also displayed from arch/arm/mach-imx/cpu.c, except the temperature grade and active temperature are only displayed when SoC is an i.MX9. Since IMX9 now implies IMX_TMU, change this to check for IMX_TMU in the

[PATCH 1/6] ARM: dts: stm32: add DSI support on stm32f769

2025-03-24 Thread Dario Binacchi
[backport from Linux commit a995fd2e8b3c6defd1dcdd3fb350c224e41ea1d0] Add support for MIPI DSI Host controller. Since MIPI DSI is not available on stm32f746, the patch adds the "stm32f769.dtsi" file containing the dsi node inside. Signed-off-by: Dario Binacchi --- arch/arm/dts/stm32f769-disco-

[ANN] U-Boot v2025.04-rc5 released

2025-03-24 Thread Tom Rini
Hey all, So it's release day and I have tagged and pushed things out. This will be merged to -next shortly. One thing to note is that just today a bug was reported due to a missing 'fallthrough;' line and in turn we need to fix that in a number of places and ensure it doesn't return. This will ha

Re: [PATCH] board: beacon: imx8mp: Fix GIC clock for Overdrive mode

2025-03-24 Thread Adam Ford
On Mon, Mar 24, 2025 at 6:34 PM Fabio Estevam wrote: > > Hi Adam, > > On Mon, Mar 24, 2025 at 8:27 PM Adam Ford wrote: > > > > There is a config option to run the PMIC at nominal voltages > > which is not enabled on the i.MX8MP Beacon kit, so it the PMIC > > runs at overdrive voltages. Unfortua

[PATCH] board: beacon: imx8mp: Fix GIC clock for Overdrive mode

2025-03-24 Thread Adam Ford
There is a config option to run the PMIC at nominal voltages which is not enabled on the i.MX8MP Beacon kit, so it the PMIC runs at overdrive voltages. Unfortuately, the check for this condition to set the GIC clock parent and rate is backwards from what it should be, and accidentally sets the GI

[PATCH V4 5/7] imx: imx8m: Imply CPU_IMX by default

2025-03-24 Thread Adam Ford
The imx8_cpu driver is a CPU Driver that supports the i.MX8M family, and when it is enabled, it acts as an alternative to arch/arm/mach-imx/cpu.c, but the imx8_cpu supports the driver model where cpu.c does not. Imply this newer driver by default. Signed-off-by: Adam Ford --- arch/arm/mach-imx/

Re: [PATCH] efi_loader: remove EFI_BOUNCE_BUFFER

2025-03-24 Thread Heinrich Schuchardt
On 17.03.25 14:38, Ilias Apalodimas wrote: %s/EFI_BOUNCE_BUFFER/CONFIG_EFI_LOADER_BOUNCE_BUFFER/ The EFI subsystem defines its own bounce buffer for devices that can't transfer data > 4GB. U-Boot already has a generic BOUNCE_BUFFER which can be reused instead of defining another symbol. The onl

Re: usb:composite: data abort on second ums launch

2025-03-24 Thread Zixun LI
On Mon, Mar 24, 2025 at 3:12 PM Marek Vasut wrote: > Can you reproduce this on u-boot/master too ? Yes I can reproduce it on master 2025.04-244e61f, since fsg init/deinit code are the same.

Re: [PATCH 0/4] Support UART over MicroSD slot on Transformer T20

2025-03-24 Thread Artur Kowalski
Hello Thanks for quick response. I know UARTD is the dedicated UART for debugging on TF101, but exposing UART over microSD is a handy trick useful for development. As I'm doing development on this tablet (bringing U-Boot's UEFI support and latest Linux), and also still using the device on old O

Re: usb:composite: data abort on second ums launch

2025-03-24 Thread Zixun LI
On Mon, Mar 24, 2025 at 6:21 PM Mattijs Korpershoek wrote: > I've tried to reproduce this on master (2025.04-rc4-g244e61fbb7f5) and I > don't reproduce this with the VIM3 board using > khadas-vim3_android_ab_defconfig: > > I'll try to understand why it's behaving differently between the > sam9x60

Re: [PATCH] sunxi: mmc: Improve reset procedure

2025-03-24 Thread Andre Przywara
On Sun, 9 Mar 2025 07:12:41 +0100 Jernej Skrabec wrote: Hi Jernej, many thanks for your investigation and this fix here! Not having working eMMC access was a major annoyance for those TV boxes, and this indeed seems to be fixed now, judging by my experiments. Also checked boot partition access,

[PATCH V4 1/7] imx: imx9: Imply IMX_TMU

2025-03-24 Thread Adam Ford
If the CPU Information is displayed from imx8_cpu, it displays the cpu temperature grade and operating temperature if CONFIG_IMX9 is defined. This behavior is similar to what happens arch/arm/mach-imx/cpu.c except that the latter checks for CONFIG_IMX_THERMAL or CONFIG_IMX_TMU. In preparation to ma

[PATCH V4 2/7] cpu: imx8_cpu: Expand get_imx_type_str list of supported CPUs

2025-03-24 Thread Adam Ford
The imx8_cpu is capable of running on IMX8, IMX8M, and IMX9 families, but the CPU list is limited on the 8M variants. Expand this list to show more variants and their respective names. Signed-off-by: Adam Ford --- drivers/cpu/imx8_cpu.c | 44 +++--- 1 file ch

[PATCH V4 4/7] cpu: imx8_cpu: Print Speed grade if IMX_TMU.

2025-03-24 Thread Adam Ford
Much of the data that is display by imx8_cpu.c is also displayed from arch/arm/mach-imx/cpu.c, except the temperature grade and active temperature are only displayed when SoC is an i.MX9. Since IMX9 now implies IMX_TMU, change this to check for IMX_TMU in the same way it's done in mach-imx/cpu.c to

[PATCH V4 7/7] imx: imx9: Imply CPU_IMX by default

2025-03-24 Thread Adam Ford
The imx8_cpu driver is a CPU Driver that supports the i.MX9 family to display the CPU type, temperature grade and current operating temperature. The older file, arch/arm/mach-imx/cpu.c, does not support i.MX9, so this config is enabled in various IMX9 boards. Instead of having this option enabled

[PATCH V4 6/7] imx: imx8: Imply CPU_IMX by default

2025-03-24 Thread Adam Ford
The imx8_cpu driver is a CPU Driver that supports the i.MX8Q family. When it is enabled, it acts as an alternative to arch/arm/mach-imx/cpu.c, but the imx8_cpu supports the driver model where cpu.c does not. Imply this newer driver by default. Signed-off-by: Adam Ford --- arch/arm/mach-imx/imx8

Re: [PATCH v2 1/4] riscv: lib: Add a default implementation of board_fdt_blob_setup

2025-03-24 Thread Leo Liang
On Fri, Mar 07, 2025 at 01:13:41PM +, Yao Zi wrote: > It's common for S-Mode proper U-Boot to retrieve a FDT blob along with > taking control from SBI firmware. Add a weak version of > board_fdt_blob_setup to make use of it by default, avoiding copy-pasting > similar functions among boards. >

[PATCH 1/8] arm: dts: k3-am625-phyboard-lyra-rdk: Add boot phase tag to phy_gmii_sel

2025-03-24 Thread Wadim Egorov
Add bootph-all tag to phy_gmii_sel node. This is needed for booting via Ethernet. While at it, drop main_pktdma reg redefinitions which are already provided by the top-level SoC device tree file. Signed-off-by: Wadim Egorov --- .../arm/dts/k3-am625-phyboard-lyra-rdk-u-boot.dtsi | 14

[PATCH 6/8] arch: arm: mach-k3: r5: am62ax: Update SoC auto-gen data to enable CPSW boot

2025-03-24 Thread Wadim Egorov
From: Andreas Dannenberg This data was generated using the ksswtool-autogen project with the followig commit: eed7492 ("soc: am62ax: Add cpsw_3guss_main_0 id to the dev list") Signed-off-by: Andreas Dannenberg Signed-off-by: Nathan Morrisson Signed-off-by: Wadim Egorov --- arch/arm/mach-k3/

[PATCH 5/8] arch: arm: mach-k3: am62a7: Probe CPSW NUSS in board_init_f()

2025-03-24 Thread Wadim Egorov
From: Nathan Morrisson Probe CPSW NUSS in am62a7 board_init_f() to support ethernet boot. Signed-off-by: Nathan Morrisson Signed-off-by: Wadim Egorov --- arch/arm/mach-k3/am62ax/am62a7_init.c | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/mach-k3/am62ax/am62a7_init.c b

[PATCH 2/8] configs: Add phycore_am62x_r5_ethboot_defconfig

2025-03-24 Thread Wadim Egorov
Provide a defconfig for booting the phycore-am62x via Ethernet. We need a separate defconfig because the AM62x has not enough internal SRAM to support all boot sources. Signed-off-by: Wadim Egorov --- board/phytec/phycore_am62x/MAINTAINERS | 1 + configs/phycore_am62x_r5_ethboot_defconfig |

[PATCH 7/8] board: phytec: phycore_am62ax: Share ethernet resources with boot r5 core

2025-03-24 Thread Wadim Egorov
From: Nathan Morrisson During the U-Boot SPL R5 boot stage the code is running on the MAIN R5 core, which means a host ID of 36 is used for DM/TIFS communication, see [1]. In order to enable Ethernet boot update the DMA resources used to be shared with the MAIN R5 core instead of the MCU R5 core.

[PATCH 8/8] configs: Add phycore_am62ax_r5_ethboot_defconfig

2025-03-24 Thread Wadim Egorov
Provide a defconfig for booting the phycore-am62ax via Ethernet. Signed-off-by: Wadim Egorov --- board/phytec/phycore_am62ax/MAINTAINERS | 1 + configs/phycore_am62ax_r5_ethboot_defconfig | 43 + 2 files changed, 44 insertions(+) create mode 100644 configs/phycore_am62a

[PATCH 4/8] arch: arm: dts: k3-am62a7-phyboard-lyra-rdk-u-boot: Disable Ethernet2

2025-03-24 Thread Wadim Egorov
From: Daniel Schultz Don't initialize Ethernet2 in SPL. We cannot boot from that source anyways and it throws an error during boot. This will remove following error message during network boot: Error: ethernet@800port@2 No valid MAC address found.ethernet@800port@1 Waiting for PHY auto

Re: [PATCH] RISCV: config: Remove CFG_SYS_SDRAM_BASE

2025-03-24 Thread Leo Liang
On Mon, Mar 10, 2025 at 09:47:48AM +0800, Jimmy Ho wrote: > 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 - > inc

Re: block devices on MTD and UBI

2025-03-24 Thread Mike Looijmans
On 20-03-2025 17:03, Mike Looijmans wrote: On 19-03-2025 15:06, Heiko Schocher wrote: Hello Mike, On 18.03.25 10:04, Mike Looijmans wrote: I think I have everything set up to access MTD (and UBI) devices as "block", however, lsblk always ignores them, and refuses to list anything but the mmc.

[resend v3 00/12] Add Synopsys MIPI I3C Driver support

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam This patchset add Synopsys MIPI I3C Driver support for Intel Agilex5 devices. The i3c driver is leveraged from the master/dw-i3c-master.c, i3c/device.c and i3c/master.c Linux version 6.6.37 LTS And few header files included to be part of the migration; i3c/internals.h, inclu

[PATCH] bootm: Add support for passing arguments to elf app

2025-03-24 Thread 牛 志宏
This extends the bootm command to allow passing arguments to standalone ELF applications. Signed-off-by: Niu Zhihong --- boot/bootm_os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/bootm_os.c b/boot/bootm_os.c index e9522cd3299..7e41e1f6141 100644 --- a/boot/bootm_os

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

2025-03-24 Thread Maciej Pijanowski
Hello, First of all, thanks for your work on this Rockchip upstream code. We have tested your patches on RK3566 board (Radxa CM3 IO) and HDMI output in U-Boot works great. We didn't have success with MIPI yet so far, though. > HDMI should work flawlessly but there's still some timings issue with

[resend v3 12/12] configs: agilex5_defconfig: Enable i3c configs for agilex5

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Enable configs for i3c in agilex5. Signed-off-by: Dinesh Maniyam --- configs/socfpga_agilex5_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/socfpga_agilex5_defconfig b/configs/socfpga_agilex5_defconfig index 8577ac610c2..87febc9f4ce 100644 --- a/

Re: [PATCH v1 00/11] Amlogic: ADNL and Optimus protocols support

2025-03-24 Thread Ferass El Hafidi
On Wed Mar 19, 2025 at 8:20 PM UTC, Arseniy Krasnov via groups.io wrote: > This patchset adds support of two Amlogic firmware burning protocols: > ADNL and Optimus. Each protocol is supported on the following SoC: > > axg, g12a, g12b, sm1 - Optimus. > a1, s4, a5, c1, c2, c3, sc2, t3, t7, p1 - ADNL.

Re: [PATCH 6/8] env: Rename ENV_MMC_PARTITION to ENV_SDMMC_SW_PARTITION

2025-03-24 Thread Quentin Schulz
Hi Marek, On 3/22/25 10:55 PM, 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. Use ENV_SDMMC_SW_PARTITION to clarify this is the SD/MMC software partition table

Re: [PATCH] usb: dwc3: gadget: Fix match_ep callback for NXP UUU tool

2025-03-24 Thread Marek Vasut
On 3/24/25 3:16 PM, Francesco Dolcini wrote: On Mon, Mar 24, 2025 at 02:53:23PM +0100, Marek Vasut wrote: On 3/24/25 1:30 PM, Francesco Dolcini wrote: On Mon, Mar 24, 2025 at 09:26:03AM +0100, Mattijs Korpershoek wrote: Hi Francesco, On lun., mars 24, 2025 at 09:03, Francesco Dolcini wrote:

Re: [PATCH] usb: dwc3: gadget: Fix excepts/expects typo

2025-03-24 Thread Neil Armstrong
On 24/03/2025 15:39, Marek Vasut wrote: Fix the excepts typo to expects , no functional change. Fixes: 0916053ebc56 ("usb: dwc3: gadget: Fix match_ep callback for NXP UUU tool") Signed-off-by: Marek Vasut --- Cc: Alexander Sverdlin Cc: Felipe Balbi Cc: Mattijs Korpershoek Cc: Neil Armstrong

usb:composite: data abort on second ums launch

2025-03-24 Thread Zixun LI
Hi, I encountered a data abort on the 2nd "ums 0 mmc 0" command on u-boot-at91 2024.07 with sam9x60-curiosity board. U-Boot> ums 0 mmc 0 UMS: LUN 0, dev mmc 0, hwpart 0, sector 0x0, count 0x1d29000 CTRL+C - Operation aborted U-Boot> ums 0 mmc 0 UMS: LUN 0, dev mmc 0, hwpart 0, sector 0x0, count 0

[resend v3 03/12] drivers: i3c: Add i3c uclass driver.

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Enable i3c general uclass driver. This uclass driver will have genaral read and write api to call the specific i3c driver. Signed-off-by: Dinesh Maniyam --- drivers/i3c/i3c-uclass.c | 38 include/dw-i3c.h | 1 + include/i3c.h|

[resend v3 05/12] drivers: i3c: Enabled Kconfig and Makefile for DWI3C

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Enable the Kconfig and Makefile for the MIPI DWI3C driver. Signed-off-by: Dinesh Maniyam --- drivers/i3c/Kconfig | 5 + drivers/i3c/Makefile| 1 + drivers/i3c/master/Kconfig | 11 +++ drivers/i3c/master/Makefile | 3 +++ 4 files changed, 20

[resend v3 01/12] drivers: i3c: Add new i3c uclass id

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Add i3c general uclass id. Signed-off-by: Dinesh Maniyam --- include/dm/uclass-id.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h index 270088ad94f..1d259b439ff 100644 --- a/include/dm/uclass-id.h +++ b/include/dm/uclas

[resend v3 06/12] drivers: i3c: Add i3c sandbox simple test.

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Add s simple test for the I3C uclass in sandbox. Signed-off-by: Dinesh Maniyam --- arch/sandbox/dts/test.dts | 8 ++ drivers/i3c/Kconfig | 6 + drivers/i3c/Makefile | 1 + drivers/i3c/sandbox_i3c.c | 56 +++ test/dm

[resend v3 07/12] drivers: i3c: master: Enable probe i3c without slave device

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Picked linux i3c driver upstraming patch to fix the issue to probe for i3c controller without slave device attached. With this fix, the ret check will be on command error and will success without slave device attached. Signed-off-by: Dinesh Maniyam --- drivers/i3c/master.c

[resend v3 09/12] cmd: Add i3c command support.

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Add i3c command file to support select, get i3c device target list, read and write operation. Signed-off-by: Dinesh Maniyam --- cmd/Kconfig| 6 + cmd/Makefile | 1 + cmd/i3c.c | 193

Re: [PATCH] efi_loader: remove EFI_BOUNCE_BUFFER

2025-03-24 Thread Mark Kettenis
> From: Ilias Apalodimas > Date: Mon, 17 Mar 2025 21:06:26 +0200 Hi Ilias, > Hi Mark, > Thanks for taking a look > > On Mon, 17 Mar 2025 at 18:18, Mark Kettenis wrote: > > > > > From: Ilias Apalodimas > > > Date: Mon, 17 Mar 2025 15:38:36 +0200 > > > > > > The EFI subsystem defines its own bo

Re: Rockchip VOP2 support

2025-03-24 Thread Maciej Pijanowski
> HDMI should work flawlessly but there's still some timings issue with > DW MIPI DSI, perhaps that's something to look into later. Are there still issues are expected with MIPI with this V2 patchset? We are testing this patches with RK3566 and works flawlessly for HDMI, but still no luck with MI

[PATCH] usb: dwc3: gadget: Fix excepts/expects typo

2025-03-24 Thread Marek Vasut
Fix the excepts typo to expects , no functional change. Fixes: 0916053ebc56 ("usb: dwc3: gadget: Fix match_ep callback for NXP UUU tool") Signed-off-by: Marek Vasut --- Cc: Alexander Sverdlin Cc: Felipe Balbi Cc: Mattijs Korpershoek Cc: Neil Armstrong Cc: Thinh Nguyen Cc: Tom Rini Cc: u-bo

Re: [PATCH] cmd: pmic: add fall through comment

2025-03-24 Thread Tom Rini
On Mon, Mar 24, 2025 at 06:12:43PM +0100, Heinrich Schuchardt wrote: > Make fall through explicit via comment to allow building with > -Wimplicit-fallthrough. > > Signed-off-by: Heinrich Schuchardt We should say "statement" not "comment" because it's not '/* fallthrough */' and looking at the

Re: usb:composite: data abort on second ums launch

2025-03-24 Thread Mattijs Korpershoek
Hi, Thank you for the report. On lun., mars 24, 2025 at 15:03, Marek Vasut wrote: > On 3/24/25 11:42 AM, Zixun LI wrote: >> Hi, >> >> I encountered a data abort on the 2nd "ums 0 mmc 0" command on >> u-boot-at91 2024.07 with sam9x60-curiosity board. >> >> U-Boot> ums 0 mmc 0 >> UMS: LUN 0, de

Re: [PATCH 3/3] arm: dts: am335x: Add nodes for lcdc, panel and backlight

2025-03-24 Thread Tom Rini
On Wed, Mar 19, 2025 at 01:25:16PM -0700, Sukrut Bellary wrote: > For AM335x EVM[1], enable nodes required to enable the support for LCD > and PWM backlight. > This is required for the splash screen support. > > [1] AM335x EVM - https://www.ti.com/tool/TMDXEVM3358 > > Signed-off-by: Sukrut Bella

Re: [PATCH] usb: dwc3: gadget: Fix excepts/expects typo

2025-03-24 Thread Mattijs Korpershoek
Hi Marek, Thank you for the patch. On lun., mars 24, 2025 at 15:39, Marek Vasut wrote: > Fix the excepts typo to expects , no functional change. > > Fixes: 0916053ebc56 ("usb: dwc3: gadget: Fix match_ep callback for NXP UUU > tool") > Signed-off-by: Marek Vasut > --- > Cc: Alexander Sverdlin

[PATCH 3/4] mach-snapdragon: enable DM_USB_GADGET by default

2025-03-24 Thread Caleb Connolly
This is required for gadget modes to work on most platforms. It must be disabled for dragonboard410c since that doesn't use dwc3. USB on other MSM8916 platforms isn't supported by qcom_defconfig anyway. Signed-off-by: Caleb Connolly --- arch/arm/Kconfig | 1 + configs/dragonboar

Re: [PATCH v2] cmd: pmic: add fall through comment

2025-03-24 Thread Tom Rini
On Mon, Mar 24, 2025 at 06:52:53PM +0100, Heinrich Schuchardt wrote: > Make fall through explicit via a fallthrough statement to allow building > with -Wimplicit-fallthrough. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH] lmb: change the return code on lmb_alloc_addr()

2025-03-24 Thread Tom Rini
On Fri, 14 Mar 2025 12:57:02 +0200, Ilias Apalodimas wrote: > Ben reports a failure to boot the kernel on hardware that starts its > physical memory from 0x0. > The reason is that lmb_alloc_addr(), which is supposed to reserve a > specific address, takes the address as the first argument, but then

Re: [PATCH v2 00/24] clk: Add clk_resolve_parent_clk() and fix up iMX clock drivers

2025-03-24 Thread Peng Fan
On Sun, Mar 23, 2025 at 04:58:29PM +0100, Marek Vasut wrote: >Add clk_resolve_parent_clk() to resolve parent clock udevice name >based on clock-names DT property. This is used in SoC clock drivers >to look up the clock name in clock tables, which matches a clock >name in DT clock-names property, an

Re: [PATCH v2 1/4] riscv: dt-binding: k1: Add reset driver binding definition.

2025-03-24 Thread Leo Liang
On Tue, Mar 11, 2025 at 09:38:48AM +0800, Huan Zhou wrote: > Add dt-binding for reset driver. > > Signed-off-by: Huan Zhou > --- > include/dt-bindings/reset/spacemit-k1-reset.h | 118 > ++ > 1 file changed, 118 insertions(+) Reviewed-by: Leo Yu-Chi Liang

[PATCH V4 0/7] Migrate IMX8, IMX8M and IMX9 to use imx8_cpu

2025-03-24 Thread Adam Ford
The imx8_cpu driver uses the driver model to represent the processor cores in the dm tree as well as display the processor type and speed on boot. Currently, the imx8_cpu driver only displays the temperature grade of the processor if the processor is IMX9, so in order to display that info, the che

[PATCH 0/8] *** Add Ethernet boot support for AM62Ax + phyCORE-AM62 SoMs ***

2025-03-24 Thread Wadim Egorov
Add general ethernet boot support for AM62Ax SoC. Some of the work is based on TI's downstream u-boot patches found in [1], patches touching code in mach-k3 and *.yaml board config files. Also, provide defconfigs and device tree changes for phyCORE-AM62x and phyCORE-AM62Ax to support booting via e

[PATCH V4 3/7] imx: imx8m: Imply IMX_TMU

2025-03-24 Thread Adam Ford
If the CPU Information is displayed from imx8_cpu, it displays the cpu temperature grade and operating temperature if CONFIG_IMX9 is defined. This behavior is similar to what happens mach-imx/cpu.c, except that the latter checks for IMX_THERMAL or IMX_TMU. In preparation to make imx8_cpu act like

Re: [PATCH v8 02/19] pinctrl: nxp: add a pin controller driver based on SCMI pin control protocol

2025-03-24 Thread Peng Fan
On Sat, Mar 22, 2025 at 01:46:02AM +0100, Marek Vasut wrote: >On 3/21/25 8:15 AM, Alice Guo (OSS) wrote: > >[...] > >> +static int imx_scmi_pinctrl_probe(struct udevice *dev) >> +{ >> +struct imx_scmi_pinctrl_priv *priv = dev_get_priv(dev); >> + >> +priv->daisy_offset = is_imx93() ? DAISY_O

Re: [PATCH v2 3/4] riscv: dts: k1: add reset controller node in device tree

2025-03-24 Thread Leo Liang
On Tue, Mar 11, 2025 at 09:38:50AM +0800, Huan Zhou wrote: > Add reset-controller in k1 device tree. > > Signed-off-by: Huan Zhou > --- > arch/riscv/dts/k1.dtsi | 15 +++ > 1 file changed, 15 insertions(+) Reviewed-by: Leo Yu-Chi Liang

Re: Problem with UART in U-Boot.

2025-03-24 Thread Yao Zi
On Sat, Mar 22, 2025 at 06:49:11PM +1000, . wrote: > Device: Orange Pi 5. > > U-Boot is installed in the SPI memory. I connected the device to my laptop > > via UART, CH340G adapter, 150 baud rate. Connected: gnd-gnd, tx-rx, > > rx-tx. Are you sure your serial adapter works at the same volta

Re: [PATCH] riscv: dts: cv18xx: Drop unused dummy clocks

2025-03-24 Thread Leo Liang
On Fri, Mar 07, 2025 at 05:09:22PM +, Yao Zi wrote: > Introduced in commit 5a4e0625ac77 ("riscv: dts: sophgo: Add ethernet > node"), eth_{csrclk,ptpclk} were used as placeholders for ethernet > controller. As the real clock controller has been added, drop them to > clean the devicetree up. > >

Re: [PATCH v2 2/4] riscv: reset: k1: Add reset driver

2025-03-24 Thread Leo Liang
On Tue, Mar 11, 2025 at 09:38:49AM +0800, Huan Zhou wrote: > Add spacemit reset driver. > > Signed-off-by: Huan Zhou > --- > drivers/reset/Kconfig | 7 + > drivers/reset/Makefile| 1 + > drivers/reset/reset-spacemit-k1.c | 548 > ++

[PATCH 3/8] configs: phycore_am62x_a53_defconfig: Update for ethernet boot

2025-03-24 Thread Wadim Egorov
Add support for ethernet boot in the A53 SPL. Increase the SPL Size limit and update SPL_STACK_R_ADDR. Signed-off-by: Wadim Egorov --- configs/phycore_am62x_a53_defconfig | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/configs/phycore_am62x_a53_defconfig b/configs/p

Re: [PATCH v2 4/4] Add reset config options for k1

2025-03-24 Thread Leo Liang
On Tue, Mar 11, 2025 at 09:38:51AM +0800, Huan Zhou wrote: > Add RESET_SPACEMIT_K1 option in config > > Signed-off-by: Huan Zhou > --- > arch/riscv/cpu/k1/Kconfig | 1 + > configs/bananapi-f3_defconfig | 1 + > 2 files changed, 2 insertions(+) Reviewed-by: Leo Yu-Chi Liang

Re: [PATCH v2 00/24] clk: Add clk_resolve_parent_clk() and fix up iMX clock drivers

2025-03-24 Thread Marek Vasut
On 3/25/25 12:33 AM, Adam Ford wrote: On Sun, Mar 23, 2025 at 11:01 AM Marek Vasut wrote: Add clk_resolve_parent_clk() to resolve parent clock udevice name based on clock-names DT property. This is used in SoC clock drivers to look up the clock name in clock tables, which matches a clock name

[PATCH v2 03/10] test/py/tests: Move "setup_image" from test_ut.py to fs_helper.py

2025-03-24 Thread Tom Rini
The generic function in test_ut.py to create a disk image with partition table can be useful outside of test_ut.py so move it to be available more clearly. To make this a bit more easily used library function, make use of check_call directly rather than calling things though u_boot_utils. In turn,

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

2025-03-24 Thread Marek Vasut
Pass struct udevice * into imx_clk_pllv3*() 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 Harve

[PATCH v2] net: dhcp6: Send DHCPv6 using multicast MAC

2025-03-24 Thread seanedmond
From: Sean Edmond In IPv6, the broadcast MAC address is not used. Instead, it should use the multicast address (see RFC RFC2464). Add IPV6_ALL_NODE_ETH_ADDR macro for clarity. Signed-off-by: Sean Edmond --- include/net6.h | 10 ++ net/dhcpv6.c | 12 ++-- net/dhcpv6.h | 8

Re: [PATCH 2/8] env: Rename SYS_REDUNDAND_ENVIRONMENT to ENV_REDUNDAND_ENVIRONMENT

2025-03-24 Thread Marek Vasut
On 3/24/25 1:33 PM, Quentin Schulz wrote: Hi Marek, On 3/22/25 10:55 PM, 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 --- [...]

[PATCH v1 1/2] pinctrl: qcom: add driver for SA8775P SoC

2025-03-24 Thread Varadarajan Narayanan
Add pinctrl and GPIO driver for SA8775P. Driver code is based on the similar U-Boot and Linux drivers. Signed-off-by: Varadarajan Narayanan --- drivers/pinctrl/qcom/Kconfig | 7 + drivers/pinctrl/qcom/Makefile | 1 + drivers/pinctrl/qcom/pinctrl-sa8775p.c | 623 +++

Re: [PATCH] usb: dwc3: gadget: Fix match_ep callback for NXP UUU tool

2025-03-24 Thread Francesco Dolcini
Hello Mattijs, Marek On Thu, Mar 20, 2025 at 10:47:02AM +0100, Mattijs Korpershoek wrote: > On mer., mars 19, 2025 at 23:07, Marek Vasut wrote: > > > The UUU tool excepts the interrupt-in endpoint to be ep1in, otherwise > > it crashes. This is a result of the previous hard-coded EP setup in > >

[PATCH v1 2/2] qcom_defconfig: enable pinctrl for SA8775P

2025-03-24 Thread Varadarajan Narayanan
Enable the pinctrl driver for SA8775P Signed-off-by: Varadarajan Narayanan --- configs/qcom_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index 661a484f7bf..20c49223201 100644 --- a/configs/qcom_defconfig +++ b/configs/qcom_defconfi

[PATCH v2 10/24] clk: imx: gate2: Resolve parent clock by name

2025-03-24 Thread Marek Vasut
Use clock-names property which is accessible via parent clock OF node to look up the parent clock by name instead of depending on unreliable global clock name to perform look up. Signed-off-by: Marek Vasut --- Cc: Adam Ford Cc: Christoph Niedermaier Cc: Dong Aisheng Cc: Fabio Estevam Cc: Hou

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

2025-03-24 Thread Marek Vasut
Pass struct udevice * into imx_clk_composite*() 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 H

Re: [PATCH] usb: dwc3: gadget: Fix match_ep callback for NXP UUU tool

2025-03-24 Thread Neil Armstrong
On 19/03/2025 23:07, Marek Vasut wrote: The UUU tool excepts the interrupt-in endpoint to be ep1in, otherwise it crashes. This is a result of the previous hard-coded EP setup in drivers/usb/gadget/epautoconf.c which did special-case EP allocation for SPL builds, and which was since converted to t

Re: [PATCH] usb: gadget: atmel: Add SAM9X60 support

2025-03-24 Thread Eugen Hristev
On 3/22/25 22:56, Zixun LI wrote: > Add compatible "microchip,sam9x60-udc" and device tree binding. > Compared to SAM9X5 the only difference is the DPRAM memory from the > USB High Speed Device Port (UDPHS) hardware block was increased, > so we can reuse the same endpoint data. > > Tested on SA

Re: [PATCH] cmd: fuse: add switch for quiet operation

2025-03-24 Thread Quentin Schulz
Hi Rogerio, On 3/17/25 11:53 PM, Rogerio Guerra Borin wrote: [You don't often get email from rogerio.bo...@gmail.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Add switch -q for quiet operation to all fuse subcommands. This helps avoid bloating the console

Re: [PATCH 5/8] env: Rename SYS_MMC_ENV_PART to ENV_SDMMC_EMMC_HW_PARTITION

2025-03-24 Thread Quentin Schulz
Hi Marek, On 3/22/25 10:55 PM, 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. Use ENV_SDMMC_EMMC_HW_PARTITION to clarify this is the eMMC hardware Same disag

  1   2   >