Re: [PATCH 02/16] efi_loader: efi_net: check efi_search_protocol return value

2025-04-12 Thread Ilias Apalodimas
Hi Adriano Apologies for the very late review, I was travelling a lot... On Tue, 11 Mar 2025 at 18:47, Adriano Cordova wrote: > You need a proper commit message on why we need this > Signed-off-by: Adriano Cordova > --- > lib/efi_loader/efi_net.c | 13 ++--- > 1 file changed, 10 inse

Re: [PATCH 13/16] efi_selftest: Add selftest for counting EFI netdevices

2025-04-12 Thread Ilias Apalodimas
On Tue, 11 Mar 2025 at 18:48, Adriano Cordova wrote: > > Signed-off-by: Adriano Cordova Please add a proper commit message > --- > lib/efi_selftest/Makefile | 2 +- > lib/efi_selftest/efi_selftest_net_device.c | 65 ++ > 2 files changed, 66 insertions(+),

Please pull u-boot-tegra staging

2025-04-12 Thread Svyatoslav Ryhel
Dear Tom, The following changes since commit 407d68638fe32418d61681407effba2a303bb9ee: Merge patch series "Switch to using $(PHASE_) in Makefiles" (2025-04-11 12:16:49 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-tegra.git staging for you

Re: [PATCH 0/6] usb: host: ehci-msm: Clean up and fix crashes

2025-04-12 Thread Sam Day
On Wed Apr 9, 2025 at 7:26 PM CEST, Caleb Connolly wrote: > > > On 4/7/25 11:54, Stephan Gerhold wrote: >> The ehci-msm driver has several subtle issues and stale code. Most of them >> are minor and do not cause issues during normal usage. The last patch is >> the most critical, it fixes a reported

[PATCH v3 06/12] video: rockchip: Add VOP2 support

2025-04-12 Thread Dang Huynh
VOP2 (Video Output Processor v2) is a display controller on Rockchip SoCs. It can be found on RK3566/8 and RK3588. This commit currently only supports RK3566/8. Signed-off-by: Dang Huynh --- arch/arm/include/asm/arch-rockchip/vop_rk3568.h | 280 + drivers/video/rockchip/Makefile

[PATCH v3 09/12] configs: quartz64: Enable vidconsole

2025-04-12 Thread Dang Huynh
Now that we have VOP2 support, we should enable vidconsole. Signed-off-by: Dang Huynh --- include/configs/quartz64_rk3566.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/configs/quartz64_rk3566.h b/include/configs/quartz64_rk3566.h index dfe0fee94cdb043cbca558

[PATCH v3 04/12] video: rockchip: dw-mipi-dsi: Add get_display_timing support

2025-04-12 Thread Dang Huynh
This allows video drivers to obtain display timings from the video bridge. Reviewed-by: Svyatoslav Ryhel Signed-off-by: Dang Huynh --- drivers/video/rockchip/dw_mipi_dsi_rockchip.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/drivers/video/rockchip/dw

[PATCH v3 07/12] video: rockchip: vop2: Add video bridge support

2025-04-12 Thread Dang Huynh
Add support for video bridge to VOP2 so we can use the MIPI DSI bridge driver that we have. Reviewed-by: Svyatoslav Ryhel Signed-off-by: Dang Huynh --- drivers/video/rockchip/rk_vop2.c | 81 +--- 1 file changed, 59 insertions(+), 22 deletions(-) diff --git a

[PATCH v3 10/12] video: rockchip: Add HDMI support for RK3568

2025-04-12 Thread Dang Huynh
HDMI on RK3568 is mostly simplified, all this does is enabling DDC for display timings and HPD. Signed-off-by: Dang Huynh --- drivers/video/rockchip/Makefile | 1 + drivers/video/rockchip/rk3568_hdmi.c | 71 2 files changed, 72 insertions(+) diff --git

[PATCH v3 11/12] configs: pinetab2-rk3566: Enable video and USB keyboard

2025-04-12 Thread Dang Huynh
Now that we have VOP2 support, let's enable it and support the built in USB keyboard. Signed-off-by: Dang Huynh --- configs/pinetab2-rk3566_defconfig | 11 +++ 1 file changed, 11 insertions(+) diff --git a/configs/pinetab2-rk3566_defconfig b/configs/pinetab2-rk3566_defconfig index 45e

[PATCH v3 12/12] clk: rockchip: rk3568: Use assigned VPLL clock when possible

2025-04-12 Thread Dang Huynh
This matches how VPLL is configured under Linux and avoid weird behaviors when VPLL is reconfigured under Linux. Signed-off-by: Dang Huynh --- drivers/clk/rockchip/clk_rk3568.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk_rk3568.c b/drivers/c

[PATCH v3 05/12] video: Add BOE TH101MB31IG002-28A MIPI-DSI panel

2025-04-12 Thread Dang Huynh
BOE TH101MB31IG002-28A is a MIPI-DSI panel used in the Pine64 PineTab2. Reviewed-by: Svyatoslav Ryhel Signed-off-by: Dang Huynh --- drivers/video/Kconfig | 10 ++ drivers/video/Makefile | 1 + drivers/video/boe-th101mb31ig002-28a.c | 236 +

[PATCH v3 03/12] video: rockchip: dw_mipi_dsi: Proceed when external PHY is not defined

2025-04-12 Thread Dang Huynh
From: Ondrej Jirman In this case the DM returns ENOENT, not ENODATA. Signed-off-by: Ondrej Jirman Reviewed-by: Svyatoslav Ryhel Signed-off-by: Dang Huynh --- drivers/video/rockchip/dw_mipi_dsi_rockchip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockch

[PATCH v3 01/12] video: rockchip: dw-mipi-dsi: Depend on CONFIG_VIDEO_BRIDGE

2025-04-12 Thread Dang Huynh
The driver is in video bridge class, so we must depend on it or the driver will fail to init. Reviewed-by: Svyatoslav Ryhel Signed-off-by: Dang Huynh --- drivers/video/rockchip/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/Kconfig b/drivers/v

[PATCH v3 00/12] Rockchip VOP2 support

2025-04-12 Thread Dang Huynh
This series adds VOP2 support to U-Boot and enable it for PineTab2. HDMI should work flawlessly but there's still some timings issue with DW MIPI DSI, perhaps that's something to look into later. PATCH 4 and 7 requires get_display_timing patch[1]. This patch should should now be in master. [1]:

[PATCH v3 02/12] video: rockchip: dw_mipi_dsi: Improve pixel clock calculations

2025-04-12 Thread Dang Huynh
From: Ondrej Jirman Calculate burst mode overhead in one place for both internal and external PHY use case and exit if out of range, instead of ignoring the wrong value. Signed-off-by: Ondrej Jirman Signed-off-by: Dang Huynh --- drivers/video/rockchip/dw_mipi_dsi_rockchip.c | 24 ++---

[PATCH v3 08/12] dts: rockchip: rk356x: Prerelocate VOP in U-Boot proper

2025-04-12 Thread Dang Huynh
We need to prerelocate VOP2 memory so the driver can work. This will only support U-Boot proper. Signed-off-by: Dang Huynh --- arch/arm/dts/rk356x-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/rk356x-u-boot.dtsi b/arch/arm/dts/rk356x-u-boot.dtsi index 24a976cf

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

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

Re: [PATCH 00/13] video: Enhancements related to truetype and console

2025-04-12 Thread Tom Rini
On Fri, Apr 04, 2025 at 06:57:34AM +1300, Simon Glass wrote: > Hi Tom, > > On Thu, 3 Apr 2025 at 13:27, Tom Rini wrote: > > > > On Thu, Apr 03, 2025 at 12:54:55PM +1300, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 3 Apr 2025 at 10:11, Tom Rini wrote: > > > > > > > > On Thu, Apr 03, 2025

[PATCH v2] board: rockchip: add Xunlong Orange Pi 5 Max

2025-04-12 Thread Ilya Katsnelson
The 5 Max is another board in the Orange Pi 5 family. It's overall similar to the 5 Plus, but in a smaller form factor, which leads to some I/O being reshuffled, but nothing relevant to u-boot. So, just reuse the config for the 5 Plus and adjust the DT names. Signed-off-by: Ilya Katsnelson ---

Re: [PATCH 09/17] test/py: Add a test image for Ubuntu

2025-04-12 Thread Simon Glass
Hi Tom, On Fri, 11 Apr 2025 at 13:13, Tom Rini wrote: > > On Wed, Apr 02, 2025 at 06:55:02AM +1300, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 2 Apr 2025 at 05:49, Tom Rini wrote: > > > > > > On Wed, Apr 02, 2025 at 04:49:18AM +1300, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Mon,

Re: [RFC PATCH v1 1/7] efi_loader: make efi_exit_boot_services() call bootstage_report()

2025-04-12 Thread Simon Glass
Hi Tom, On Fri, 11 Apr 2025 at 12:46, Tom Rini wrote: > > On Fri, Apr 11, 2025 at 12:32:12PM -0600, Simon Glass wrote: > > Hi Jerome, > > > > On Fri, 11 Apr 2025 at 09:31, Jerome Forissier > > wrote: > > > > > > CONFIG_BOOTSTAGE_REPORT is currently supported in the bootm command > > > only. Add

[PATCH] power: qcom_vbus_regulator: add and fix support for pmic variants

2025-04-12 Thread Rui Miguel Silva
Fix and add support for different pmic variants pm8x50b to handle the vbus regulator. Signed-off-by: Rui Miguel Silva --- .../power/regulator/qcom_usb_vbus_regulator.c | 37 +++ 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/drivers/power/regulator/qcom_usb_vbus_r

Re: [PATCH 0/5] More MMC fixes

2025-04-12 Thread Bryan Brattlof
On April 8, 2025 thus sayeth Judith Mendez: > This patch series fixes MMC_HS_52 mode in am654_sdhci > driver, as well as HIGH_SPEED_ENA and UHS_MODE_SELECT > for HS modes. > > Also Disable eMMC HS400 mode for am62px device according > to silicon errata i2458 [0] and add TI_COMMON_CMD_OPTIONS > to

[PATCH 0/3] Support MSM8916 USB PHY + UDC in qcom_defconfig

2025-04-12 Thread Sam Day
: a40fc5afaec079ee4e621965fed18dcc94240d8c change-id: 20250412-msm8916-usb-a1dc93c01bd5 prerequisite-message-id: <20250407-ehci-msm-fixes-v1-0-f8b30eb05...@linaro.org> prerequisite-patch-id: 006e55423a2d28cc23ff11035da672b418ebec51 prerequisite-patch-id: 8c51357ca78f0465407e0a74fda666a3e540f6d8 prerequisite-pa

[PATCH 1/3] usb: udc: ci: support USB gadget driver model

2025-04-12 Thread Sam Day
When CONFIG_DM_USB_GADGET is enabled, a UCLASS_USB_GADGET_GENERIC driver will be defined that wraps the ChipIdea UDC operations. The (dm_)?usb_gadget_.* symbols will no longer be defined (as these are now handled by the UDC uclass). If CONFIG_DM_USB_GADGET is not enabled, this driver behaves as it

[PATCH 3/3] qcom_defconfig: Enable MSM8916 USB PHY + ChipIdea UDC

2025-04-12 Thread Sam Day
Now that the ChipIdea UDC driver supports USB Gadget driver model, we can enable it alongside the dwc3 generic driver. Signed-off-by: Sam Day --- configs/qcom_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index 537806450dc4a6

[PATCH 2/3] usb: host: ehci-msm: Register ChipIdea UDC from glue wrapper

2025-04-12 Thread Sam Day
When CONFIG_DM_USB_GADGET is enabled, the CI UDC driver needs to be explicitly bound. So we do this from the newly introduced glue driver. Signed-off-by: Sam Day --- drivers/usb/host/ehci-msm.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/usb/host/ehci-msm.c b/drivers/usb/h

Re: [PATCH 09/17] test/py: Add a test image for Ubuntu

2025-04-12 Thread Tom Rini
On Sat, Apr 12, 2025 at 06:45:02AM -0600, Simon Glass wrote: > Hi Tom, > > On Fri, 11 Apr 2025 at 13:13, Tom Rini wrote: > > > > On Wed, Apr 02, 2025 at 06:55:02AM +1300, Simon Glass wrote: > > > Hi Tom, > > > > > > On Wed, 2 Apr 2025 at 05:49, Tom Rini wrote: > > > > > > > > On Wed, Apr 02, 202

Re: [PATCH v2 0/8] binman: Check code-coverage requirements

2025-04-12 Thread Tom Rini
On Thu, 10 Apr 2025 06:42:57 -0600, Simon Glass wrote: > This series adds a cover-coverage check to CI for Binman. The iMX8 tests > are still not completed, so a work-around is included for those. > > A few fixes are included for some other problems. > > Changes in v2: > - Add new patch to add c

Re: [PATCH v6 2/3] common: board: make initcalls static

2025-04-12 Thread Marek Vasut
On 4/4/25 3:50 PM, Jerome Forissier wrote: Change board_init_f(), board_init_f_r() and board_init_r() to make static calls instead of iterating over the init_sequence_f, init_sequence_f_r and init_sequence_r arrays, respectively. This makes the code a simpler (and even more so when initcall_run_l

Re: [PATCH v2] usb: onboard-hub: Fix return type for regulator APIs

2025-04-12 Thread Marek Vasut
On 4/11/25 7:55 AM, Michal Simek wrote: From: Padmarao Begari Apart from ENOENT observing return value as ENOSYS when !DM_REGULATOR that's why cover both configurations. Changed code is not working as operation should be "&&" not "||" (ret != -ENOENT && ret != -ENOSYS). Also fix the remove fun

Re: [PATCH] net: dwc_eth_qos: add support of stm32mp2 platform

2025-04-12 Thread Marek Vasut
On 4/11/25 11:27 AM, Patrice Chotard wrote: From: Christophe Roullier Add compatible "st,stm32mp25-dwmac" to manage STM32MP2 boards Signed-off-by: Christophe Roullier Signed-off-by: Patrice Chotard Reviewed-by: Marek Vasut

Re: [PATCH 1/1] efi_selftest: check executing in EL2

2025-04-12 Thread Ilias Apalodimas
Hi Heinrich On Fri, 11 Apr 2025 at 15:05, Heinrich Schuchardt wrote: > > On 4/11/25 12:00, Ilias Apalodimas wrote: > > Hi Heinrich, > > > > [...] > > > >> + > >> +/** > >> + * current_exception_level() > >> + * > >> + * Return: current exception level, 0 - 3 > >> + */ > >> +static unsigned in