Re: [PATCH] bootcount: zynqmp: Extend ZynqMP specific bootcount support

2025-01-30 Thread Michal Simek
t;;     u-boot,bootcount-reg-mask = <0x>; }; }; Signed-off-by: Marek Vasut --- Cc: Heiko Schocher Cc: Michal Simek Cc: Tom Rini Cc: Vasileios Amoiridis Cc: u-boot@lists.denx.de ---   drivers/bootcount/bootcount_zynqmp.c | 79 +---   1 file

[PATCH 3/3] arm64: zynqmp: Describe images without TF-A

2025-01-30 Thread Michal Simek
U-Boot can run out of EL3, NS-EL2 and NS-EL1. Currently default configuration is NS-EL2 with TF-A but when TF-A is not passed and configured images can still boot just fine. That's why support this configuration and describe it via binman. Signed-off-by: Michal Simek --- arch/arm/dts/z

[PATCH 2/3] arm64: zynqmp: Use DTB address base from .config

2025-01-30 Thread Michal Simek
CONFIG_XILINX_OF_BOARD_DTB_ADDR holds DTB address which U-Boot is checking. Currently address in binman match default value but macro can be used directly. Also sync node name (s/hash-1/hash/) and sync location to have the same order load/hash/image. Signed-off-by: Michal Simek --- arch/arm

[PATCH 1/3] arm64: zynqmp: Fix TEE loading address and add hash

2025-01-30 Thread Michal Simek
There is incorrect loading address listed for TEE. CONFIG_BL32_LOAD_ADDR should be used. Also there is missing hash for this entry which is present for other nodes. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-binman-som.dts | 7 +-- arch/arm/dts/zynqmp-binman.dts | 14

[PATCH 0/3] arm64: zynqmp: Update binman configurations

2025-01-30 Thread Michal Simek
e for other values. Thanks, Michal Michal Simek (3): arm64: zynqmp: Fix TEE loading address and add hash arm64: zynqmp: Use DTB address base from .config arm64: zynqmp: Describe images without TF-A arch/arm/dts/zynqmp-binman-som.dts | 14 ++--- arch/arm/dts/zynqmp-binman.dts

[PATCH] xilinx: Enable MBEDTLS/LWIP/WGET and WGET_HTTPS

2025-01-29 Thread Michal Simek
Enable lwip and https on our platforms to be able to use it in a boot. Signed-off-by: Michal Simek --- configs/amd_versal2_virt_defconfig | 11 --- configs/microblaze-generic_defconfig | 8 configs/xilinx_versal_net_virt_defconfig | 10 +++--- configs

[PATCH] cmd: Fix Kconfig coding style

2025-01-29 Thread Michal Simek
Some entries are not using tabs for indentation and also help should use two spaces indentation. Signed-off-by: Michal Simek --- cmd/Kconfig | 44 ++-- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index

Re: [RFC PATCH v2 3/3] usb: scan multiple buses simultaneously with coroutines

2025-01-28 Thread Michal Simek
printf("done\n"); > + > + usb_report_devices(uc); > + } > +#endif > + > /* > * Now that the primary controllers have been scanned and have handed > * over any devices they do not understand to their companions, scan > @@

Re: [RFC PATCH v2 1/3] Introduce coroutines framework

2025-01-28 Thread Michal Simek
On 1/28/25 11:19, Jerome Forissier wrote: Adds the COROUTINES Kconfig symbol which introduces a new internal API for coroutines support. As explained in the Kconfig file, this is meant to provide some kind of cooperative multi-tasking with the goal to improve performance by overlapping lengthy

[PATCH v2] xilinx: Enable meminfo command with mapping

2025-01-27 Thread Michal Simek
Enable meminfo command to be able to see where things are mapped. Signed-off-by: Michal Simek --- Changes in v2: - Also cover Kria configs/amd_versal2_virt_defconfig | 2 ++ configs/microblaze-generic_defconfig | 2 ++ configs/xilinx_versal_net_virt_defconfig | 2 ++ configs

[PATCH] fs: ubifs: Remove unnecessary assignment

2025-01-24 Thread Michal Simek
Variable self assignment has been found by clang. But Linux kernel already fixed this problem by commit 2a068daf5742 ("ubifs: Remove unnecessary assignment") and commit ae4c8081eb77 ("ubifs: remove unnecessary assignment"). Signed-off-by: Michal Simek --- fs/ubifs/recove

[PATCH] xilinx: Enable mkfwumdata tool for a/b update

2025-01-24 Thread Michal Simek
Build mkfwumdata tool by default for building ab mdata structure. Signed-off-by: Michal Simek --- configs/amd_versal2_virt_defconfig | 1 + configs/xilinx_versal_virt_defconfig | 1 + configs/xilinx_zynqmp_virt_defconfig | 1 + 3 files changed, 3 insertions(+) diff --git a/configs

[PATCH] xilinx: Enable meminfo command with mapping

2025-01-24 Thread Michal Simek
Enable meminfo command to be able to see where things are mapped. Signed-off-by: Michal Simek --- configs/amd_versal2_virt_defconfig | 2 ++ configs/microblaze-generic_defconfig | 2 ++ configs/xilinx_versal_net_virt_defconfig | 2 ++ configs/xilinx_versal_virt_defconfig | 2

Re: [PATCH] spi: cadence_qspi: Add missing prototype for cadence_qspi_flash_reset

2025-01-22 Thread Michal Simek
On 1/22/25 14:53, Venkatesh Yadav Abbarapu wrote: Add missing prototype to fix the sparse warning, warning: no previous prototype for 'cadence_qspi_flash_reset' [-Wmissing-prototypes]. Fixes: 6d234a79e9 ("cadence_qspi: Refactor the flash reset functionality") Signed-off-by: Venkatesh Yadav Ab

Re: [PATCH] spi: cadence_qspi: Fix OSPI DDR mode alignment issue

2025-01-22 Thread Michal Simek
On 1/6/25 10:51, Padmarao Begari wrote: If the least significant bit of the address is set to one when using the DDR protocol for data transfer then the results are indeterminate for few flash devices. To fix this the least significant bit of the address is set to zero. Signed-off-by: Padmara

Re: [PATCH v2 1/2] net: phy: Let gmiitorgmii converter create additional PHY

2025-01-22 Thread Michal Simek
On 1/22/25 10:22, Tapio Reijonen wrote: Change the order to connect gmiitorgmii before PHY creation. The gmiitorgmii create additional in DTS configured PHY during it's configuration. This ensures, that converter sits between the MAC and the external phy MAC <==> GMII2RGMII <==> RGMII_PHY. a

Re: [PATCH v1 1/2] net: phy: Let gmiitorgmii converter create additional PHY

2025-01-22 Thread Michal Simek
On 1/22/25 08:31, Tapio Reijonen wrote: Hi Michal, On 2025-01-21 15:14, Michal Simek wrote: [You don't often get email from mon...@monstr.eu. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Hi, čt 16. 1. 2025 v 14:07 odesílatel Tapio Reijonen n

Re: [PATCH 0/2] Clarify DM_FLAG_PROBE_AFTER_BIND behaviour

2025-01-22 Thread Michal Simek
ommit: e3f716fa2d58aadf53928475ee7e88eb41cb8031 // Caleb (they/them) We can't se any issue on our HW when this is applied. That's why Acked-by: Michal Simek Thanks, Michal

Re: [PATCH] treewide: Replace Maximumm with Maximum in Kconfig symbol description

2025-01-21 Thread Michal Simek
Hershberger Cc: Michael Trimarchi Cc: Michal Simek Cc: Peter Robinson Cc: Quentin Schulz Cc: Tom Rini Cc: Venkatesh Yadav Abbarapu Cc: u-boot@lists.denx.de --- drivers/block/Kconfig | 2 +- drivers/mtd/Kconfig | 2 +- env/Kconfig | 2 +- 3 files changed, 3 insertions(+), 3

Re: [RFC PATCH 1/2] Introduce coroutines framework

2025-01-21 Thread Michal Simek
On 1/21/25 14:15, Jerome Forissier wrote: Hi Michal, On 1/21/25 12:44, Michal Simek wrote: On 1/20/25 14:50, Jerome Forissier wrote: Adds the COROUTINES Kconfig symbol which introduces a new internal API for coroutines support. As explained in the Kconfig file, this is meant to provide

Re: [PATCH] arm64: versal2: Enable the OPTEE command

2025-01-21 Thread Michal Simek
On 1/17/25 07:45, Venkatesh Yadav Abbarapu wrote: Enable the command OPTEE which runs the basic 'hello world ta'. Signed-off-by: Venkatesh Yadav Abbarapu --- configs/amd_versal2_virt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/amd_versal2_virt_defconfig b/config

Re: [PATCH] xilinx: Enable support for Infineon Octal flashes

2025-01-21 Thread Michal Simek
On 1/16/25 06:18, Venkatesh Yadav Abbarapu wrote: Added support for Infineon Octal flash components on the Versal and Versal Net platforms. Signed-off-by: Tejas Bhumkar Signed-off-by: Venkatesh Yadav Abbarapu --- configs/xilinx_versal_net_virt_defconfig | 1 + configs/xilinx_versal_virt_

[PATCH] arm64: zynqmp: Describe ethernet controllers via aliases on SOM

2025-01-21 Thread Michal Simek
roller is fixed. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-sck-kd-g-revA.dtso | 4 arch/arm/dts/zynqmp-sck-kr-g-revA.dtso | 5 + arch/arm/dts/zynqmp-sck-kv-g-revA.dtso | 4 arch/arm/dts/zynqmp-sck-kv-g-revB.dtso | 4 4 files changed, 17 insertions(+) diff --git a/arch/arm

Re: [PATCH v1 1/2] net: phy: Let gmiitorgmii converter create additional PHY

2025-01-21 Thread Michal Simek
d(bus, dev, addr); > #endif > > if (!phydev) > -- > 2.39.5 > I can't see any issue with this swap but I would like to check your DT description first. Can you please share your DT fragment which describes this? Thanks, Michal -- Michal Simek, Ing. (M.Eng), Open

Re: [PATCH v1 2/2] net: phy: gmii2rgmii: Add support for phy ethernet id configuration

2025-01-21 Thread Michal Simek
On 1/16/25 06:43, Tapio Reijonen wrote: When Kconfig PHY_ETHERNET_ID is set, create external PHY using via ethernet-phy-id driver to support using starpping resistors typo. of the external PHY. Fixes: commit a744a284e354 ("net: phy: Add support for ethernet-phy-id with gpio reset") No

[PATCH] arm64: zynqmp: enable u-boot itb generation via binman if SPL is enabled

2025-01-21 Thread Michal Simek
config. The MULTI_DTB_FIT configuration should be used if support for multiple DTBs is required, but SPL is not being used. Signed-off-by: Prasad Kummari Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-binman-som.dts | 3 +++ arch/arm/dts/zynqmp-binman.dts | 2 ++ 2 files changed, 5

Re: [RFC PATCH 1/2] Introduce coroutines framework

2025-01-21 Thread Michal Simek
On 1/20/25 14:50, Jerome Forissier wrote: Adds the COROUTINES Kconfig symbol which introduces a new internal API for coroutines support. As explained in the Kconfig file, this is meant to provide some kind of cooperative multi-tasking with the goal to improve performance by overlapping lengthy

[PATCH] xilinx: Remove SYS_MALLOC_F_LEN setup via board Kconfig

2025-01-20 Thread Michal Simek
The commit e05689242238 ("Kconfig: Change SYS_MALLOC_F_LEN default to 0x2000") already setup default values from board Kconfigs that's why no reason to duplicate it again. Fixes: e05689242238 ("Kconfig: Change SYS_MALLOC_F_LEN default to 0x2000") Signed-off-by: Michal S

Re: [U-Boot][PATCH v4 1/5] fpga: fix alignment on fpga cmd usage info

2025-01-20 Thread Michal Simek
On 1/20/25 13:43, Ibai Erkiaga wrote: The current implementation generates some alignment issues as well as some overlapping when all the fpga command options are enabled. The fix is intended to improve readability of the usage info. Signed-off-by: Ibai Erkiaga --- You got ack for this one

Re: [U-Boot][PATCH v4 5/5] fpga: add new symbol for fpga_loadb

2025-01-20 Thread Michal Simek
On 1/20/25 13:43, Ibai Erkiaga wrote: Adding new symbol for the fpga loadb command which is exclusive to Xilinx. Default value is y for backward compatibility. Signed-off-by: Ibai Erkiaga --- (no changes since v1) cmd/Kconfig | 7 +++ cmd/fpga.c | 8 ++-- 2 files changed, 13 i

Re: [U-Boot][PATCH v3 4/4] fpga: xilinx exclusive commands

2025-01-20 Thread Michal Simek
On 1/17/25 12:25, Ibai Erkiaga wrote: Ensure all Xilinx exclusive fpga commands have a KConfig symbol and dependency to FPGA_XILINX listed. Remove (Xilinx only) text from the help command. Signed-off-by: Ibai Erkiaga --- (no changes since v1) cmd/Kconfig | 16 +++- cmd/fpga.

Re: [U-Boot][PATCH v2 3/3] fpga: xilinx exclusive commands info

2025-01-17 Thread Michal Simek
On 1/17/25 10:28, Ibai Erkiaga wrote: Remove statements of Xilinx Only from the fpga command information and ensure Kconfig dependencies to FPGA_XILINX are implemented instead. you are actually doing more than you write. You are also resorting commands which is kind of messy. Signed-off

[GIT PULL] xilinx patches for v2025.04-rc1 v2

2025-01-14 Thread Michal Simek
ersal SOCs Ibai Erkiaga (1): zynqmp_gqspi: update to log_debug Jonathan Stroud (1): arm64: zynqmp: Add eeprom labels for System Controller dts Michal Simek (8): arm64: versal: Wire SPIs for dfu_alt_info variable generation arm64: versal: Support operati

Re: [PATCH v3] rtc: zynqmp: allow on Versal architectures

2025-01-14 Thread Michal Simek
On 1/14/25 14:58, Vincent Fazio wrote: Allow the ZyncMP RTC driver to be enabled on Versal architectures. Also, require DM_RTC since the driver uses the RTC driver model. Signed-off-by: Vincent Fazio --- Changes in v3: - Revert a typo in the help text Changes in v2: - Add DM_RTC dependency

Re: [ANN / RFC] Regular community calls?

2025-01-14 Thread Michal Simek
7;s at a better time for other parts of the world. +1 TBH would be the best to send meeting invitation to have a record in a calendar. Cheers, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Mai

Re: [U-Boot][PATCH 1/2] fpga: fix alignment on fpga cmd usage info

2025-01-14 Thread Michal Simek
On 1/8/25 15:03, Ibai Erkiaga wrote: The current implementation generates some alignment issues as well as some overlapping when all the fpga command options are enabled. The fix is intended to improve readability of the usage info. Signed-off-by: Ibai Erkiaga --- The current output looks

Re: [U-Boot][PATCH 2/2] fpga: improve loads usage information

2025-01-13 Thread Michal Simek
On 1/8/25 15:03, Ibai Erkiaga wrote: Current usage information for loads command is too verbose and long for a command usage prompt. This flag simplifies the text for readability purposes. Signed-off-by: Ibai Erkiaga --- The authentication and encryption flag naming is redundant with the de

Re: [U-Boot][PATCH 1/2] fpga: fix alignment on fpga cmd usage info

2025-01-13 Thread Michal Simek
On 1/9/25 13:45, Erkiaga Elorza, Ibai wrote: [AMD Official Use Only - AMD Internal Distribution Only] Agree Alex, I just used /t to stick as much as possible to the current implementation, but I'm open to change to white spaces if Michal thinks it's better. Regards Ibai

Re: [PATCH] rtc: zynqmp: allow on Versal architectures

2025-01-13 Thread Michal Simek
On 1/7/25 17:20, Vincent Fazio wrote: Allow the ZyncMP RTC driver to be enabled on Versal architectures. Signed-off-by: Vincent Fazio --- drivers/rtc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 9c2d1398247..ec

Re: [U-Boot][PATCH] zynqmp_gqspi: update to log_debug

2025-01-13 Thread Michal Simek
On 1/7/25 15:51, Ibai Erkiaga wrote: Update recent parallel memory support code to move to log_debug instead of debug as per logging in U-Boot documentation Signed-off-by: Ibai Erkiaga --- drivers/spi/zynqmp_gqspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driv

Re: [PATCH] configs: zynqmp: Add usb_pgood_delay for SOM boards

2025-01-13 Thread Michal Simek
On 1/7/25 13:29, Prasad Kummari wrote: Add usb_pgood_delay to ensure proper detection of USB devices. Increase the USB power good delay on the SOM boards, as this is required for certain USB sticks otherwise, they may not be detected. Signed-off-by: Prasad Kummari --- board/xilinx/zynqmp/z

Re: [PATCH] arm64: versal: RO multi_boot register in non JTAG bootmode

2025-01-13 Thread Michal Simek
On 1/6/25 10:20, Michal Simek wrote: The main reason for this change is that upstream QEMU has no multiboot register implemented that's why access to it fails which ends up in CI failure for our target. That's why in JTAG bootmode returns 0 which is correct behaviour because

Re: [PATCH v2] board: xilinx: Add missing prototype for set_dfu_alt_info

2025-01-13 Thread Michal Simek
On 1/6/25 10:06, Venkatesh Yadav Abbarapu wrote: Add missing prototype to fix the sparse warning, warning: no previous prototype for 'set_dfu_alt_info' [-Wmissing-prototypes]. Signed-off-by: Venkatesh Yadav Abbarapu --- Changes in v2: - Include dfu.h and remove the set_dfu_alt_info declarati

Re: [PATCH] arm64: zynqmp: Add eeprom labels for System Controller dts

2025-01-13 Thread Michal Simek
On 1/6/25 09:42, Michal Simek wrote: From: Jonathan Stroud Label all eeproms so we can open by label rather than a fixed i2c address. Signed-off-by: Jonathan Stroud Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 4 arch/arm/dts/zynqmp-sc-revB.dts

Re: [PATCH] arm64: zynqmp: Enable iio-hwmon description only for SOM

2025-01-13 Thread Michal Simek
On 1/6/25 09:42, Michal Simek wrote: Description is coming from SOM only that's why enable it only on SOM. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-sm-k26-revA.dts | 4 arch/arm/dts/zynqmp.dtsi| 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-)

[PATCH] arm64: versal: RO multi_boot register in non JTAG bootmode

2025-01-06 Thread Michal Simek
and value should be ignored and as a side effect it is also fixing CI/Qemu issue. Also move versal_get_bootmode() to avoid function declaration. Signed-off-by: Michal Simek --- board/xilinx/versal/board.c | 36 +--- 1 file changed, 21 insertions(+), 15 deletions(-)

[PATCH] arm64: zynqmp: Add eeprom labels for System Controller dts

2025-01-06 Thread Michal Simek
From: Jonathan Stroud Label all eeproms so we can open by label rather than a fixed i2c address. Signed-off-by: Jonathan Stroud Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 4 arch/arm/dts/zynqmp-sc-revB.dts | 1 + 2 files changed, 5 insertions

[PATCH] arm64: zynqmp: Enable iio-hwmon description only for SOM

2025-01-06 Thread Michal Simek
Description is coming from SOM only that's why enable it only on SOM. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-sm-k26-revA.dts | 4 arch/arm/dts/zynqmp.dtsi| 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp-sm-k26-revA.d

Re: [PATCH] board: xilinx: Add missing prototype for set_dfu_alt_info

2025-01-06 Thread Michal Simek
On 1/2/25 05:50, Venkatesh Yadav Abbarapu wrote: Add missing prototype to fix the sparse warning, warning: no previous prototype for 'set_dfu_alt_info' [-Wmissing-prototypes]. Signed-off-by: Venkatesh Yadav Abbarapu --- board/xilinx/common/board.h | 2 ++ 1 file changed, 2 insertions(+)

Re: [PATCH v2] config: xilinx: Enable the SPI_STACKED_PARALLEL config option

2025-01-06 Thread Michal Simek
On 1/3/25 05:48, Venkatesh Yadav Abbarapu wrote: Enable the SPI_STACKED_PARALLEL config option for all AMD/xilinx platforms, as this is required for parallel and stacked memories. Signed-off-by: Venkatesh Yadav Abbarapu --- Changes in v2: - Updated the SPI_STACKED_PARALLEL config for zynq. -

Re: [PATCH v1 1/1] board: zynqmp: zynqmp-sm-k26-revA: release DP from reset

2025-01-06 Thread Michal Simek
On 12/18/24 14:01, Neal Frager wrote: This releases the DP configuration from reset early on during the boot process for K26 SOM. It will also avoid the boot hang situation should any attempt be made to configure the DP registers while it is still in reset. Fixes the same issue as described

Re: [PATCH] xilinx: Sort OF_LIST and add missing vpk120 and zcu670 platforms

2025-01-06 Thread Michal Simek
On 12/16/24 08:52, Michal Simek wrote: Sort OF_LIST entries and also add missing vpk120 and zcu670 platforms. Compilation is failing when these DTs are exported via DEVICE_TREE because binman is not able to create a link for default configuration. Signed-off-by: Michal Simek --- configs

Re: [PATCH] zynqmp: Remove usb init initialization for Kria

2025-01-06 Thread Michal Simek
On 12/18/24 12:40, Michal Simek wrote: USB hub initialization is done by driver introduced by commit 09f557e106ef ("usb: onboard-hub: Add i2c initialization for usb5744 hub") that's why there is no need to do initialization via variables. Reported-by: Love Kumar Signed-off-b

Re: [PATCH v2] common: memtop: Fix the return type for find_ram_top

2024-12-20 Thread Michal Simek
Signed-off-by: Venkatesh Yadav Abbarapu Reviewed-by: Michal Simek --- Changes in v2: - Fixed the check patch warning. --- common/memtop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/memtop.c b/common/memtop.c index 841d89e0799..bff27d8211e 100644 --- a/common/

[GIT PULL] xilinx patches for v2025.01-rc5 - v2

2024-12-20 Thread Michal Simek
(1): common: memtop: Fix the return type for find_ram_top common/memtop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of

Re: [PATCH] common: memtop: Fix the return type for find_ram_top

2024-12-19 Thread Michal Simek
You should actually align this line too to match (. With that fixed feel free to add Reviewed-by: Michal Simek and I like to get this to 2025.01 version. Thanks, Michal

[PATCH] zynqmp: Remove usb init initialization for Kria

2024-12-18 Thread Michal Simek
USB hub initialization is done by driver introduced by commit 09f557e106ef ("usb: onboard-hub: Add i2c initialization for usb5744 hub") that's why there is no need to do initialization via variables. Reported-by: Love Kumar Signed-off-by: Michal Simek --- board/xilinx/zynqmp/

Re: [RFC PATCH] common: board: Simply array with function pointers with CONFIG_IS_ENABLED

2024-12-17 Thread Michal Simek
On 12/10/24 14:48, Tom Rini wrote: On Tue, Dec 10, 2024 at 02:39:42PM +0100, Michal Simek wrote: Convert all simple cases where current ifdef is used with using CONFIG_IS_ENABLED. The change doesn't have impact on code size and it is only cleaning up description. Checkpatch is repo

Re: [PATCH] arm64: zynqmp: Sync DTs with Linux v6.13-rc1

2024-12-17 Thread Michal Simek
On 12/12/24 10:41, Michal Simek wrote: Sync zynqmp* DTS files with v6.13-rc1 Linux kernel including three patches from Sean: arm64: zynqmp: Enable AMS for all boards arm64: zynqmp: Expose AMS to userspace as HWMON arm64: zynqmp: Add thermal zones Signed-off-by: Michal Simek --- arch/arm

Re: [PATCH] arm64: zynqmp: add clock-output-names property in clock nodes

2024-12-17 Thread Michal Simek
On 12/12/24 09:12, Michal Simek wrote: From: Naman Trivedi Replace underscores with hyphens in the clock node names as per dt-schema rule. Also, add clock-output-names property to all clock nodes, so that the resulting clock name do not change when clock node name is changed. Signed-off

Re: [PATCH] arm64: zynqmp: Do not use hardcoded address in do_zynqmp_reboot()

2024-12-17 Thread Michal Simek
On 12/9/24 10:10, Michal Simek wrote: multi_boot is already the part of csu_base structure that's why use it directly instead of using register offset value. Fixes: fc001432e5b0 ("arm64: zynqmp: Add u-boot command to boot into recovery image") Signed-off-by: Michal Simek

Re: [PATCH 1/2] arm64: versal: Wire SPIs for dfu_alt_info variable generation

2024-12-17 Thread Michal Simek
On 12/5/24 11:38, Michal Simek wrote: Enable automatic dfu_alt_info variable generation based on MTD partition. Signed-off-by: Michal Simek --- board/xilinx/versal/board.c | 41 configs/xilinx_versal_virt_defconfig | 1 + 2 files changed, 42

Re: [PATCH v3 1/2] cmd: Add support for optee commands

2024-12-16 Thread Michal Simek
On 12/16/24 10:29, Venkatesh Yadav Abbarapu wrote: Add the basic 'hello world ta' command which increment of the value passed. This provides easy test for establishing a session with OP-TEE TA and verify. It includes following "hello world ta" subcommands: optee hello; default value '0' is pa

[PATCH] xilinx: Sort OF_LIST and add missing vpk120 and zcu670 platforms

2024-12-15 Thread Michal Simek
Sort OF_LIST entries and also add missing vpk120 and zcu670 platforms. Compilation is failing when these DTs are exported via DEVICE_TREE because binman is not able to create a link for default configuration. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_virt_defconfig | 2 +- 1 file

Re: [PATCH v2 2/2] doc: man-page for optee commands

2024-12-13 Thread Michal Simek
On 12/13/24 12:00, Venkatesh Yadav Abbarapu wrote: Provide a man-page for the optee command. Signed-off-by: Venkatesh Yadav Abbarapu --- doc/usage/cmd/optee.rst | 75 + doc/usage/index.rst | 1 + 2 files changed, 76 insertions(+) create mode

Re: [PATCH v2 1/2] cmd: Add support for optee hello world ta command

2024-12-13 Thread Michal Simek
On 12/13/24 13:48, Mattijs Korpershoek wrote: Hi Venkatesh, Thank you for the patch. On ven., déc. 13, 2024 at 16:30, Venkatesh Yadav Abbarapu wrote: Enable "optee hello" command which increments the value passed. This provides easy test for establishing a session with OP-TEE TA and veri

Re: [PATCH V1] board: xilinx: zynq: Add a new cmd to run postconfig

2024-12-13 Thread Michal Simek
t pytest + +@pytest.mark.buildconfigspec('cmd_post_config') +def test_post_config(u_boot_console): +"""Test the 'post_config' command on Zynq platform""" + +output = u_boot_console.run_command("post_config") + +assert "IN

Re: [PATCH] video: zynqmp: Add support for reset

2024-12-12 Thread Michal Simek
On 12/9/24 12:11, Michal Simek wrote: In Kria SOM configuration DP is under reset and access to DP is causing hang that's why call reset at probe to avoid this situation. Signed-off-by: Michal Simek --- drivers/video/zynqmp/zynqmp_dpsub.c | 6 ++ 1 file changed, 6 inser

[GIT PULL] xilinx: Fix for v2025.01-rc5

2024-12-12 Thread Michal Simek
reset issue for SOM -------- Michal Simek (1): video: zynqmp: Add support for reset drivers/video/zynqmp/zynqmp_dpsub.c | 6 ++ 1 file changed, 6 insertions(+)

Re: [PATCH v2 0/2] lmb: Fix reserving the same region multiple times

2024-12-12 Thread Michal Simek
_flags() if region already added > boot: fdt: Handle already reserved memory in boot_fdt_reserve_region() > > boot/image-fdt.c | 2 +- > lib/lmb.c| 26 +- > test/lib/lmb.c | 2 +- > 3 files changed, 15 insertions(+), 15 deletions(-) > > -- &

[PATCH] arm64: zynqmp: Sync DTs with Linux v6.13-rc1

2024-12-12 Thread Michal Simek
Sync zynqmp* DTS files with v6.13-rc1 Linux kernel including three patches from Sean: arm64: zynqmp: Enable AMS for all boards arm64: zynqmp: Expose AMS to userspace as HWMON arm64: zynqmp: Add thermal zones Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-sm-k26-revA.dts | 18 - arch

[PATCH] arm64: zynqmp: add clock-output-names property in clock nodes

2024-12-12 Thread Michal Simek
Thangaraj Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-clk-ccf.dtsi | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/arm/dts/zynqmp-clk-ccf.dtsi b/arch/arm/dts/zynqmp-clk-ccf.dtsi index 60d1b1acf9a0..385fed8a852a 100644 --- a/arch/arm/dts/zynqmp-clk

Re: [PATCH v2 2/7] common: binman: Calling initr_binman() when BINMAN_FDT

2024-12-10 Thread Michal Simek
Hi, On 12/9/24 21:08, Tom Rini wrote: On Mon, Dec 09, 2024 at 12:27:31PM -0700, Simon Glass wrote: Hi Tom, On Mon, 9 Dec 2024 at 12:23, Tom Rini wrote: On Mon, Dec 09, 2024 at 07:34:34PM +0100, Michal Simek wrote: On 12/9/24 16:47, Simon Glass wrote: Hi, On Mon, 9 Dec 2024 at 08:32

[RFC PATCH] common: board: Simply array with function pointers with CONFIG_IS_ENABLED

2024-12-10 Thread Michal Simek
oming up: space prohibited before that close parenthesis ')' but there is no way how to fix it that's why leave it like it is. Signed-off-by: Michal Simek --- I think this is the first step to cleanup the array. Another step should be to look at functions which are called and func

Re: [PATCH v2 2/7] common: binman: Calling initr_binman() when BINMAN_FDT

2024-12-10 Thread Michal Simek
Hi Simon, On 12/9/24 20:27, Simon Glass wrote: Hi Michal, On Mon, 9 Dec 2024 at 11:34, Michal Simek wrote: On 12/9/24 16:47, Simon Glass wrote: Hi, On Mon, 9 Dec 2024 at 08:32, Tom Rini wrote: On Mon, Dec 09, 2024 at 04:26:15PM +0100, Michal Simek wrote: On 12/6/24 20:20, Simon

Re: [PATCH v2 2/7] common: binman: Calling initr_binman() when BINMAN_FDT

2024-12-09 Thread Michal Simek
On 12/9/24 16:47, Simon Glass wrote: Hi, On Mon, 9 Dec 2024 at 08:32, Tom Rini wrote: On Mon, Dec 09, 2024 at 04:26:15PM +0100, Michal Simek wrote: On 12/6/24 20:20, Simon Glass wrote: On Fri, 1 Nov 2024 at 03:18, Michal Simek wrote: Calling empty function when BINMAN_FDT is adding

Re: [RFC PATCH] zynqmp: Add binman description for SOM

2024-12-09 Thread Michal Simek
Hi Simon, On 12/6/24 20:17, Simon Glass wrote: Hi Michal, On Mon, 4 Nov 2024 at 01:32, Michal Simek wrote: Hi Simon, On 11/2/24 17:28, Simon Glass wrote: Hi Michal, On Fri, 1 Nov 2024 at 14:52, Tom Rini wrote: On Fri, Nov 01, 2024 at 02:09:38PM +0100, Michal Simek wrote: Hi Simon

Re: [PATCH v2 2/7] common: binman: Calling initr_binman() when BINMAN_FDT

2024-12-09 Thread Michal Simek
On 12/6/24 20:20, Simon Glass wrote: On Fri, 1 Nov 2024 at 03:18, Michal Simek wrote: Calling empty function when BINMAN_FDT is adding +64B for nothing which is not helping on size sensitive configurations as Xilinx mini configurations. Signed-off-by: Michal Simek --- Changes in v2

[PATCH] video: zynqmp: Add support for reset

2024-12-09 Thread Michal Simek
In Kria SOM configuration DP is under reset and access to DP is causing hang that's why call reset at probe to avoid this situation. Signed-off-by: Michal Simek --- drivers/video/zynqmp/zynqmp_dpsub.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/video/zynqmp/zynqmp_dp

[PATCH] arm64: zynqmp: Do not use hardcoded address in do_zynqmp_reboot()

2024-12-09 Thread Michal Simek
multi_boot is already the part of csu_base structure that's why use it directly instead of using register offset value. Fixes: fc001432e5b0 ("arm64: zynqmp: Add u-boot command to boot into recovery image") Signed-off-by: Michal Simek --- arch/arm/mach-zynqmp/zynqmp.c | 2 +- 1

Re: [PATCH] arm64: zynqmp: Sync with v6.12 kernel

2024-12-05 Thread Michal Simek
On 11/28/24 15:49, Michal Simek wrote: Sync zynqmp* DTS files with v6.12 Linux kernel. Signed-off-by: Michal Simek --- Hope that we get soon to be able to enable OF_UPSTREAM instead. --- arch/arm/dts/zynqmp-clk-ccf.dtsi | 16 ++ arch/arm/dts/zynqmp-sm-k26-revA.dts | 2

Re: [PATCH v2] arm64: zynqmp: Update the usb5744 hub node as per binding

2024-12-05 Thread Michal Simek
Abbarapu Acked-by: Michal Simek --- Changes in v2: - Updated the hub node for KD board. - Removed the #if code. --- arch/arm/dts/zynqmp-sck-kd-g-revA.dtso | 37 +- arch/arm/dts/zynqmp-sck-kr-g-revA.dtso | 67 ++--- arch/arm/dts/zynqmp-sck-kr-g-revB.dtso | 68

[PATCH 2/2] arm64: versal: Support operations around multiboot register

2024-12-05 Thread Michal Simek
Read multiboot register and show it's value by default. Also extend logic in dfu_alt_info string generation to support capsule update for different offsets. Signed-off-by: Michal Simek --- board/xilinx/versal/board.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-)

[PATCH 1/2] arm64: versal: Wire SPIs for dfu_alt_info variable generation

2024-12-05 Thread Michal Simek
Enable automatic dfu_alt_info variable generation based on MTD partition. Signed-off-by: Michal Simek --- board/xilinx/versal/board.c | 41 configs/xilinx_versal_virt_defconfig | 1 + 2 files changed, 42 insertions(+) diff --git a/board/xilinx/versal

Re: [PATCH v3] usb: onboard-hub: Update the bind function based on peer-hub property

2024-12-04 Thread Michal Simek
-ENOENT) { + dev_dbg(dev, "peer-hub property not present\n"); + return 0; + } + + if (ret) { dev_err(dev, "peer-hub not specified\n"); return ret; } Looks good to me. Acked-by: Michal Simek Thanks, Michal

Re: [PATCH v2] usb: onboard-hub: Update the bind function based on peer-hub property

2024-12-03 Thread Michal Simek
+Patrice On 12/4/24 05:39, Venkatesh Yadav Abbarapu wrote: As the "peer-hub" property is optional, don't error out just skip the bind function. Signed-off-by: Venkatesh Yadav Abbarapu --- Changes in v2: - Removed the peer_hub variable and used the return value. --- common/usb_onboard_hub.c |

Re: [PATCH] usb: onboard-hub: Update the bind function based on "peer_hub" property

2024-12-03 Thread Michal Simek
On 12/3/24 17:24, Marek Vasut wrote: On 12/3/24 2:44 PM, Michal Simek wrote: On 12/3/24 05:49, Venkatesh Yadav Abbarapu wrote: Add the bool variable "peer_hub" and set this only for the hubs which have the "peer-hub" property in their DT nodes. Skip the bind functio

Re: [PATCH] usb: onboard-hub: Update the bind function based on "peer_hub" property

2024-12-03 Thread Michal Simek
On 12/3/24 05:49, Venkatesh Yadav Abbarapu wrote: Add the bool variable "peer_hub" and set this only for the hubs which have the "peer-hub" property in their DT nodes. Skip the bind function for usb hubs which don't have "peer-hub" property. Fixes: 57e30b09fc ("usb: onboard-hub: Bail out if p

[GIT PULL] xilinx patches for v2025.04-rc1

2024-12-02 Thread Michal Simek
e Kumar (1): test/py: zynqmp_rpu: Fix tcminit mode value Marek Vasut (1): Makefile: Drop SPL_FIT_GENERATOR support Michal Simek (8): binman: Add option for pointing to separate description common: binman: Calling initr_binman() when BINMAN_FDT arm64: zynqmp: Describe empty b

Re: [PATCH] configs: zynqmp_kria: Enable the USB onboard hub

2024-11-28 Thread Michal Simek
On 11/26/24 05:12, Venkatesh Yadav Abbarapu wrote: USB host support on ZYNQMP KRIA SOM needs onboard USB hub driver for handling reset GPIO and for i2c initialization sequence. Signed-off-by: Venkatesh Yadav Abbarapu Acked-by: Michal Simek --- NOTE: The usb hub patches are merged. https

Re: [PATCH] arm64: zynqmp: Update the usb5744 hub node as per binding

2024-11-28 Thread Michal Simek
Abbarapu Acked-by: Michal Simek --- arch/arm/dts/zynqmp-sck-kr-g-revA.dtso | 48 ++ arch/arm/dts/zynqmp-sck-kr-g-revB.dtso | 48 ++ arch/arm/dts/zynqmp-sck-kv-g-revA.dtso | 18 ++ arch/arm/dts/zynqmp-sck-kv-g-revB.dtso | 25

[PATCH] arm64: zynqmp: Sync with v6.12 kernel

2024-11-28 Thread Michal Simek
Sync zynqmp* DTS files with v6.12 Linux kernel. Signed-off-by: Michal Simek --- Hope that we get soon to be able to enable OF_UPSTREAM instead. --- arch/arm/dts/zynqmp-clk-ccf.dtsi | 16 ++ arch/arm/dts/zynqmp-sm-k26-revA.dts | 2 +- arch/arm/dts/zynqmp-smk-k26-revA.dts | 2

Re: [PATCH v2 0/7] arm64: zynqmp: Convert platforms to use binman

2024-11-27 Thread Michal Simek
On 11/1/24 10:17, Michal Simek wrote: Hi, I have put togethere couple of patches to convert platforms to use binman. The first patch has been sent separately. The third (SOM description) has been also sent out for ilustration as RFC. The last one is just cherry-pick the patch which has been

Re: [PATCH v2 3/6] CI: xilinx_versal_virt: disable USB_DWC3

2024-11-27 Thread Michal Simek
On 11/27/24 08:06, Heinrich Schuchardt wrote: The CI uses the following command to launch xilinx_versal_virt_defconfig: qemu-system-aarch64 -M xlnx-versal-virt \ -display none -m 4G -serial mon:stdio \ -device loader,file=u-boot,cpu-num=0 'usb start' or invoking eth_bootdev_hu

Re: [PATCH] configs: versal2: Enable OPTEE support

2024-11-27 Thread Michal Simek
On 11/27/24 05:37, Venkatesh Yadav Abbarapu wrote: Add OPTEE support for versal2 platform. Signed-off-by: Venkatesh Yadav Abbarapu --- configs/amd_versal2_virt_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/amd_versal2_virt_defconfig b/configs/amd_versal2_virt_d

Re: [PATCH] test/py: zynqmp_rpu: Fix tcminit mode value

2024-11-27 Thread Michal Simek
On 11/15/24 13:02, Love Kumar wrote: Update the tcminit value to string and number both as per commit 342ccba5586a ("arm64: zynqmp: Fix tcminit mode value based on argv") and also adds negative cases based on invalid command sequences. Signed-off-by: Love Kumar --- test/py/tests/test_zynqm

Re: [PATCH v2] cadence_qspi: Refactor the flash reset functionality

2024-11-27 Thread Michal Simek
On 11/8/24 07:35, Venkatesh Yadav Abbarapu wrote: As the flash reset is handled in spi nor core, removing the flash reset functionality. As the configuration like tristate and hysterisis need to be enabled by the cdo. Handle the flash reset only for mini u-boot case. Rename the "cadence_qspi_

Re: [PATCH] arm64: zynqmp: Also generate images with single DT

2024-11-27 Thread Michal Simek
On 11/20/24 09:05, Michal Simek wrote: Create u-boot-single.itb where only actual DTB is used not really multiple of DTS from OF_LIST. This results in small files without option to change DT. Signed-off-by: Michal Simek --- Based on the top of https://lore.kernel.org/all/cover.1730452668

Re: [PATCH v2 3/6] configs: xilinx_versal_virt: disable USB_DWC3

2024-11-26 Thread Michal Simek
On 11/26/24 09:34, Heinrich Schuchardt wrote: On 11/26/24 08:57, Michal Simek wrote: On 11/25/24 19:48, Tom Rini wrote: On Mon, Nov 25, 2024 at 07:44:15PM +0100, Michal Simek wrote: On 11/25/24 19:08, Tom Rini wrote: On Mon, Nov 25, 2024 at 07:03:41PM +0100, Michal Simek wrote: On

Re: [PATCH v2 3/6] configs: xilinx_versal_virt: disable USB_DWC3

2024-11-25 Thread Michal Simek
On 11/25/24 19:48, Tom Rini wrote: On Mon, Nov 25, 2024 at 07:44:15PM +0100, Michal Simek wrote: On 11/25/24 19:08, Tom Rini wrote: On Mon, Nov 25, 2024 at 07:03:41PM +0100, Michal Simek wrote: On 11/25/24 11:35, Heinrich Schuchardt wrote: On 25.11.24 11:02, Michal Simek wrote: On

  1   2   3   4   5   6   7   8   9   10   >