[PATCH] arm64: zynqmp: Describe 25MHz fixed clock for PL GEMs

2024-01-28 Thread Michal Simek
Describe 25Mhz fixed oscilator which is providing clock for PL based ethernet IPs. Physicially it is one chip but it is described as 2 fixed clock to be aligned with other SOM versions which were using integrated clock generators where clocks could be adjusted via i2c (si5332 chips).

Re: [PATCH 00/18] FWU: Migrate FWU metadata to version 2

2024-01-28 Thread Sughosh Ganu
hi Michal, On Fri, 26 Jan 2024 at 20:40, Michal Simek wrote: > > Hi Sughosh, > > po 22. 1. 2024 v 12:55 odesílatel Sughosh Ganu > napsal: > > > > > > The following patches migrate the FWU metadata access code to version > > 2 of the structure. This is based on the structure definition as > >

Re: [PATCH V3] firmware: ti_sci: fix the secure_hdr in do_xfer

2024-01-28 Thread Dhruva Gole
On Jan 24, 2024 at 12:09:06 -0600, Nishanth Menon wrote: > On 18:37-20240124, Dhruva Gole wrote: > > The secure_hdr needs to be 0 init-ed however this was never being put > > into the secure_buf, leading to possibility of the first 4 bytes of > > secure_buf being possibly garbage. > > > > Fix

Re: [PATCH v1 2/2] imx: imxrt1050-evk: Add documentation for SPI boot

2024-01-28 Thread Fabio Estevam
On Sun, Jan 28, 2024 at 6:43 PM Jesse Taube wrote: > > Adds documentation for SPI boot. s/Adds/Add > +How to use U-Boot with SPI flash on NXP i.MXRT1050 EVK > +-- > + > +- Build U-Boot for i.MXRT1050 EVK: > + > +.. code-block:: bash > + > +

[PATCH v2] efi_loader: check efi_get_variable_int return value

2024-01-28 Thread Masahisa Kojima
efi_get_variable_int() may fail, the buffer should be cleared before using it. Signed-off-by: Masahisa Kojima Addresses-Coverity-ID: 478333 ("Error handling issues") --- Changes in v2: - use malloc instead of calloc lib/efi_loader/efi_firmware.c | 10 +- 1 file changed, 5

Re: [PATCH v1 1/2] imx: imxrt1050-evk: Add support for SPI flash booting

2024-01-28 Thread Fabio Estevam
Hi Jesse, On Sun, Jan 28, 2024 at 6:43 PM Jesse Taube wrote: > > This add some macros to change addresses to use flexspi. This sentence is not very clear. > This commit adds support for booting the imxrt1050-evk from spi. Please don't use 'This commit adds support' format. Use imperative

Re: [PATCH 1/3] firmware: psci: Fix bind_smccc_features psci check

2024-01-28 Thread Weizhao Ouyang
Hi Abdellatif, On Fri, Jan 26, 2024 at 7:20 PM Abdellatif El Khlifi wrote: > > Hi Weizhao, > > On Thu, Jan 25, 2024 at 02:05:00PM +, Weizhao Ouyang wrote: > > According to PSCI specification DEN0022F, PSCI_FEATURES is used to check > > whether the SMCCC is implemented by discovering

Re: [PATCH] efi_loader: check efi_get_variable_int return value

2024-01-28 Thread Masahisa Kojima
On Fri, 26 Jan 2024 at 21:58, Heinrich Schuchardt wrote: > > On 26.01.24 12:36, Masahisa Kojima wrote: > > Hi Heinrich, > > > > On Fri, 26 Jan 2024 at 16:20, Heinrich Schuchardt > > wrote: > >> > >> On 1/22/24 08:26, Masahisa Kojima wrote: > >>> efi_get_variable_int() may fail, the buffer

Re: [PATCH v2] net: sun8i-emac: Add support for fixed-link phy

2024-01-28 Thread Andre Przywara
On Sat, 20 Jan 2024 19:26:24 +0300 Maksim Kiselev wrote: > Make the "phy-handle" property optional, which allows support > for a fixed-link phy configuration. > > Thus if the "phy-handle" is present in a DT, then driver will work as > before. Otherwise, phyaddr initialization will not be

Re: [PATCH] efi_loader : Suppress error print message

2024-01-28 Thread Heinrich Schuchardt
On 1/28/24 18:38, Bhumkar, Tejas Arvind wrote: [AMD Official Use Only - General] Hi Heinrich, -Original Message- From: Heinrich Schuchardt Sent: Sunday, January 28, 2024 2:51 PM To: Bhumkar, Tejas Arvind Cc: u-boot@lists.denx.de; tr...@konsulko.com; s...@chromium.org; Simek, Michal

Re: [PATCH v2] net: phy: Use PHY MDIO address from DT if available

2024-01-28 Thread Paul Barker
On 28/01/2024 01:19, Marek Vasut wrote: > In case the PHY is fully described in DT, use PHY MDIO address > from DT directly instead of always using auto-detection. This > also fixes the behavior of 'mdio list' in such DT setup, which > now prints the PHY connected to the MAC correctly. > >

[PATCH v1 2/2] imx: imxrt1050-evk: Add documentation for SPI boot

2024-01-28 Thread Jesse Taube
Adds documentation for SPI boot. Signed-off-by: Jesse Taube --- doc/board/nxp/imxrt1050-evk.rst | 29 + 1 file changed, 29 insertions(+) diff --git a/doc/board/nxp/imxrt1050-evk.rst b/doc/board/nxp/imxrt1050-evk.rst index c1fb48f0cd..aca5071181 100644 ---

[PATCH v1 1/2] imx: imxrt1050-evk: Add support for SPI flash booting

2024-01-28 Thread Jesse Taube
This add some macros to change addresses to use flexspi. This commit adds support for booting the imxrt1050-evk from spi. It adds imximage config and the ability for SPL to boot from NOR. Signed-off-by: Jesse Taube --- arch/arm/dts/imxrt1050-evk-u-boot.dtsi| 31 ++

[PATCH 2/2] board: visionfive2: configure PHY pad drive strength

2024-01-28 Thread Lukasz Tekieli
Configure the pad drive strength register for both PHYs. The values correspond to what can be found in the Linux DTS for VisionFive2 v1.3b. Pad drive strength configuration is required for the phy0 to work correctly with 100Mbit links. Signed-off-by: Lukasz Tekieli ---

[PATCH 1/2] net: phy: motorcomm: configure pad drive strength register

2024-01-28 Thread Lukasz Tekieli
This ports the pad drive strength register configuration which can be already found in the Linux driver for this PHY. Signed-off-by: Lukasz Tekieli --- drivers/net/phy/motorcomm.c | 130 1 file changed, 130 insertions(+) diff --git

[PATCH 0/2] board: visionfive2: add pad drive strength config

2024-01-28 Thread Lukasz Tekieli
gmac0 does not work correctly with the default settings of the pad drive strength. 100Mbit link does not work at all. This series fixes the issue by porting the pad drive strength register configuration from the Linux driver from commit 67a8976780858461b3c2d0dc501d207452543c53. Lukasz Tekieli

Re: [PATCH v2 1/3] riscv: conflicting SPDX license linker scripts

2024-01-28 Thread Tom Rini
On Thu, Jan 25, 2024 at 09:38:13AM +0100, Heinrich Schuchardt wrote: > Fix conflicting SPDX license information in linker scripts introduced by > commit 7215787c4ea4 ("SPDX: Convert single license tags to Linux Kernel > style"). > > Fixes: 7215787c4ea4 ("SPDX: Convert single license tags to

[PATCH v2 11/11] ARM: renesas: Add Renesas R8A779H0 V4M Gray Hawk board code

2024-01-28 Thread Marek Vasut
From: Hai Pham Add board code for the Renesas R8A779H0 V4M Gray Hawk board. Signed-off-by: Hai Pham --- Cc: Paul Barker --- V2: Use N: for pattern match in MAINTAINERS --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/r8a779h0-gray-hawk-u-boot.dts | 42

[PATCH v2 10/11] ARM: dts: renesas: Add Renesas Gray Hawk boards support

2024-01-28 Thread Marek Vasut
From: Hai Pham Initial support for the Renesas Gray Hawk CPU and BreakOut boards. The arch/arm/dts/r8a779h0-gray-hawk-cpu.dtsi is extended version of: https://lore.kernel.org/linux-renesas-soc/b657402113267acd57aece0b4c681b707e704455.1706194617.git.geert+rene...@glider.be/ The version currenty

[PATCH v2 08/11] ARM: dts: renesas: Add Renesas R8A779H0 V4M SoC support

2024-01-28 Thread Marek Vasut
From: Hai Pham Add initial support for the Renesas R8A779H0 (R-Car V4M) SoC. The current version is imported and modified from: https://lore.kernel.org/linux-renesas-soc/4107bc3d7c31932da29e671ddf4b1564ba38a84c.1706194617.git.geert+rene...@glider.be/ The modifications contain nodes from

[PATCH v2 09/11] ARM: dts: renesas: Add Renesas R8A779H0 V4M DT extras

2024-01-28 Thread Marek Vasut
From: Hai Pham Add Renesas R8A779H0 V4M DT extras for U-Boot. Until the RPC node becomes part of main DT, keep it here as an extension so that board code can enable and use the RPC to access SPI NOR. Signed-off-by: Hai Pham --- Cc: Paul Barker --- V2: Extend the commit message ---

[PATCH v2 07/11] mtd: spi: renesas: Add R8A779H0 V4M support

2024-01-28 Thread Marek Vasut
From: Hai Pham Support RPC SPI on R8A779H0 V4M SoC. Reviewed-by: Paul Barker Signed-off-by: Hai Pham --- Cc: Jagan Teki Cc: Paul Barker --- V2: - Move the patch after PRR ID patch to satisfy macro dependency - Add RB from Paul --- drivers/spi/renesas_rpc_spi.c | 3 ++- 1 file changed,

[PATCH v2 03/11] clk: renesas: Add R8A779H0 V4M clock tables

2024-01-28 Thread Marek Vasut
From: Hai Pham Add clock tables for R8A779H0 V4M SoC. The current version is imported from: https://lore.kernel.org/linux-renesas-soc/c678ef7164e3777fa91572f72e47ef385cea64b8.1706194617.git.geert+rene...@glider.be/ The current version still contains PLL7 extras from the previous version to

[PATCH v2 06/11] ARM: renesas: Add R8A779H0 V4M Kconfig entry and PRR ID

2024-01-28 Thread Marek Vasut
From: Hai Pham Add Kconfig entry and PRR ID to support R8A779H0 V4M SoC. Reviewed-by: Paul Barker Signed-off-by: Hai Pham --- Cc: Paul Barker --- V2: - Move the patch before PRR ID patch to satisfy macro dependency - Add RB from Paul --- arch/arm/mach-rmobile/Kconfig.rcar4 | 6

[PATCH v2 04/11] clk: renesas: Implement R8A779H0 V4M PLL7 support

2024-01-28 Thread Marek Vasut
Add PLL7 support to Gen3/Gen4 common clock driver. Add initial PLL7 multiplier and divider values into table in R8A779H0 V4M clock driver. The PLL7 is new PLL added in R8A779H0 V4M SoC. Only integer multiplication mode is supported by PLL7. The PLL reference clock are either 16.66 MHz or 20 MHz

[PATCH v2 02/11] dt-bindings: power: Add R8A779H0 V4M SYSC power domain definitions

2024-01-28 Thread Marek Vasut
From: Duy Nguyen Add power domain indices for R-Car V4M (R8A779H0). The current version is imported from: https://lore.kernel.org/linux-renesas-soc/c5cbef71178cada761e9da7bcbb6f21334f93ef8.1706194617.git.geert+rene...@glider.be/ Signed-off-by: Duy Nguyen Signed-off-by: Hai Pham --- Cc: Paul

[PATCH v2 01/11] dt-bindings: clock: Add R8A779H0 V4M CPG Core Clock Definitions

2024-01-28 Thread Marek Vasut
From: Duy Nguyen Add all Clock Pulse Generator Core Clock Outputs for the Renesas R-Car V4M (R8A779H0) SoC. The current version is imported from: https://lore.kernel.org/linux-renesas-soc/11acbd2a30b58607474e9c32eb798b3a00e85e73.1706194617.git.geert+rene...@glider.be/ Signed-off-by: Duy Nguyen

Re: [PATCH v4 3/3] doc: sophgo: milkv_duo: document Milk-V Duo board

2024-01-28 Thread Yixun Lan
Hi Heinrich S On 10:16 Sun 28 Jan , Heinrich Schuchardt wrote: > On 1/28/24 08:05, Kongyang Liu wrote: > > Add document for Milk-V Duo board which based on Sophgo's CV1800B SoC. > > > > Signed-off-by: Kongyang Liu > > > > --- > > > > (no changes since v3) > > > > Changes in v3: > > - Add

Re: [PULL] u-boot-sh/master-cleanup

2024-01-28 Thread Tom Rini
On Sun, Jan 28, 2024 at 02:20:50AM +0100, Marek Vasut wrote: > The following changes since commit fea3efb757f7a9c6831c023cb456f9fa5fd0278e: > > Kconfig: boot: Imply BOOTSTD_DEFAULT when BOOTSTD_FULL=y (2024-01-19 > 18:30:08 -0500) > > are available in the Git repository at: > >

Re: [PATCH v4 3/3] doc: sophgo: milkv_duo: document Milk-V Duo board

2024-01-28 Thread Kongyang Liu
Heinrich Schuchardt 于2024年1月28日周日 17:16写道: > > On 1/28/24 08:05, Kongyang Liu wrote: > > Add document for Milk-V Duo board which based on Sophgo's CV1800B SoC. > > > > Signed-off-by: Kongyang Liu > > > > --- > > > > (no changes since v3) > > > > Changes in v3: > > - Add brief description of the

[PATCH v4 3/3] doc: sophgo: milkv_duo: document Milk-V Duo board

2024-01-28 Thread Kongyang Liu
Add document for Milk-V Duo board which based on Sophgo's CV1800B SoC. Signed-off-by: Kongyang Liu --- (no changes since v3) Changes in v3: - Add brief description of the procedure to run u-boot-dtb.bin doc/board/index.rst| 1 + doc/board/sophgo/index.rst | 8 +

[PATCH v4 2/3] riscv: sophgo: milkv_duo: initial support added

2024-01-28 Thread Kongyang Liu
Add support for Sophgo's Milk-V Duo board, only minimal device tree and serial console are enabled, and it can boot via vendor first stage bootloader. Signed-off-by: Kongyang Liu --- (no changes since v3) Changes in v3: - Enable EFI loader Changes in v2: - Fold the defconfig patch to first

[PATCH v4 1/3] riscv: dts: sophgo: add basic device tree for Milk-V Duo board

2024-01-28 Thread Kongyang Liu
Import device tree from Linux kernel to add basic support for CPU, PLIC, UART and Timer. The name cv1800b in the filename represent the chip used on Milk-V Duo board. Signed-off-by: Kongyang Liu --- Changes in v4: - Sync dts files with Linux kernel Changes in v3: - Swap patch 1 and 2 duo to

[PATCH v4 0/3] riscv: sophgo: milkv_duo: add support for Milk-V Duo board

2024-01-28 Thread Kongyang Liu
The Milk-V Duo board is built upon Sophgo's CV1800B SoC, featuring two XuanTie C906 CPUs running at 1.0GHz and 700MHz, respectively. This series introduces fundamental support for the Milk-V Duo board, encompassing UART, CPU, and PLIC support. This ensures that U-Boot can operate in serial

Re: [PATCH 08/16] edison: Remove empty config header

2024-01-28 Thread Andy Shevchenko
On Mon, Jan 22, 2024 at 05:39:12PM -0500, Tom Rini wrote: > Now that we support having CONFIG_SYS_CONFIG_NAME be unset to indicate a > lack of board.h file, unset this on the edison platform and remove > the otherwise empty file. Acked-by: Andy Shevchenko -- With Best Regards, Andy Shevchenko

Re: [PATCH] configs: visionfive2: Disable ENV_IS_NOWHERE

2024-01-28 Thread Shengyu Qu
LGTM. Maintainers, please also apply this patch to 2024.04 branch when accepting it. Best regards, Shengyu The VisionFive 2 board supports saving the u-boot environment settings are saved to on-board SPI flash. However the defconfig enables both ENV_IS_NOWHERE and ENV_IS_IN_SPI_FLASH,

[PATCH 1/1] lib: smbios_entr() use logical or for booleans

2024-01-28 Thread Heinrich Schuchardt
As a matter of programming style use logical or to combine two boolean results. Signed-off-by: Heinrich Schuchardt --- lib/smbios-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/smbios-parser.c b/lib/smbios-parser.c index f48d7436570..0d1ac781b38 100644 ---

Re: [PATCH] efi_loader : Suppress error print message

2024-01-28 Thread Heinrich Schuchardt
On 1/28/24 06:20, Bhumkar, Tejas Arvind wrote: [AMD Official Use Only - General] Hi Heinrich, -Original Message- From: Heinrich Schuchardt Sent: Wednesday, January 24, 2024 2:09 AM To: Bhumkar, Tejas Arvind Cc: u-boot@lists.denx.de; tr...@konsulko.com; s...@chromium.org; Simek,

Re: [PATCH v4 3/3] doc: sophgo: milkv_duo: document Milk-V Duo board

2024-01-28 Thread Heinrich Schuchardt
On 1/28/24 08:05, Kongyang Liu wrote: Add document for Milk-V Duo board which based on Sophgo's CV1800B SoC. Signed-off-by: Kongyang Liu --- (no changes since v3) Changes in v3: - Add brief description of the procedure to run u-boot-dtb.bin doc/board/index.rst| 1 +

Re: Fwd: New Defects reported by Coverity Scan for Das U-Boot

2024-01-28 Thread Heinrich Schuchardt
On 1/27/24 21:56, Heinrich Schuchardt wrote: Am 27. Januar 2024 16:40:18 MEZ schrieb Tom Rini : Hey, I'll just pass this on directly rather than to the list. -- Forwarded message - From: Date: Sat, Jan 27, 2024 at 10:36 AM Subject: New Defects reported by Coverity Scan for

Re: [PATCH] image-host: Fix error value paths and emit error messages to stderr.

2024-01-28 Thread Heinrich Schuchardt
On 1/23/24 09:15, Hugo Cornelis wrote: Thanks Hugo for addressing the issue. Could you, please, resend the patch with an appropriate commit message. Please, use scripts/get_maintainers.pl to determine the list of addressees. Otherwise the patch looks good to me. The initial assignment in