Re: [PATCH v6 06/18] video: tegra20: dc: add reset support

2024-04-19 Thread Thierry Reding
On Fri Apr 19, 2024 at 6:37 PM CEST, Svyatoslav Ryhel wrote: > пт, 19 квіт. 2024 р. о 19:05 Thierry Reding пише: > > > > On Tue Jan 23, 2024 at 6:16 PM CET, Svyatoslav Ryhel wrote: > > > Implement reset use to discard any changes which could have been > > > applied to DC before and can interfere

Re: [PATCH v6 06/18] video: tegra20: dc: add reset support

2024-04-19 Thread Svyatoslav Ryhel
пт, 19 квіт. 2024 р. о 19:46 Thierry Reding пише: > > On Fri Apr 19, 2024 at 6:37 PM CEST, Svyatoslav Ryhel wrote: > > пт, 19 квіт. 2024 р. о 19:05 Thierry Reding пише: > > > > > > On Tue Jan 23, 2024 at 6:16 PM CET, Svyatoslav Ryhel wrote: > > > > Implement reset use to discard any changes

Re: [PATCH v6 11/18] video: tegra20: dc: clean framebuffer memory block

2024-04-19 Thread Thierry Reding
On Tue Jan 23, 2024 at 6:16 PM CET, Svyatoslav Ryhel wrote: > From: Jonas Schwöbel > > Fill the framebuffer memory with zeros to avoid visual glitches. > > Signed-off-by: Jonas Schwöbel > Signed-off-by: Svyatoslav Ryhel > --- > drivers/video/tegra20/tegra-dc.c | 5 + > 1 file changed, 5

Re: [PATCH v6 04/18] video: tegra20: dc: pass DC id to internal devices

2024-04-19 Thread Svyatoslav Ryhel
пт, 19 квіт. 2024 р. о 19:58 Thierry Reding пише: > > On Fri Apr 19, 2024 at 6:44 PM CEST, Svyatoslav Ryhel wrote: > > пт, 19 квіт. 2024 р. о 19:38 Thierry Reding пише: > > > > > > On Tue Jan 23, 2024 at 6:16 PM CET, Svyatoslav Ryhel wrote: > > > > Tegra SoC has 2 independent display controllers

Re: [PATCH v3] tpm-v2: allow algoirthm name to be configured for pcr_read and pcr_extend

2024-04-19 Thread Tim Harvey
On Sat, Apr 6, 2024 at 9:33 AM Ilias Apalodimas wrote: > > Hi Tim, > > Thanks for the patch > > I'll be away next week, I'll try to find time and take a closer look. > The pipeline [0] shows some TPM related failures > > [0] >

Re: [PATCH v4 3/3] dts: support building all dtb files for a specific vendor

2024-04-19 Thread Neil Armstrong
On 18/04/2024 20:39, Caleb Connolly wrote: This adjusts OF_UPSTREAM to behave more like the kernel by allowing for all the devicetree files for a given vendor to be compiled. This is useful for Qualcomm in particular as most boards are supported by a single U-Boot build just provided with a

[PATCH v2 1/7] dts: ti: binman: Add base K3 firmware capsule nodes

2024-04-19 Thread Jonathan Humphreys
Create capsule files for tiboot3.bin, tispl.bin, and u-boot.img. Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-binman-capsule-r5.dtsi | 21 ++ arch/arm/dts/k3-binman-capsule.dtsi| 38 ++ 2 files changed, 59 insertions(+) create mode 100644

[PATCH v2 5/7] dts: am62px: binman: Include firmware capsules binman nodes

2024-04-19 Thread Jonathan Humphreys
Fill in the am62px SK's capsule GUID properties of the base binman capsule nodes. Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-am62p-sk-binman.dtsi | 29 1 file changed, 29 insertions(+) diff --git a/arch/arm/dts/k3-am62p-sk-binman.dtsi

[PATCH v2 6/7] dts: am62x: binman: Include firmware capsules binman nodes

2024-04-19 Thread Jonathan Humphreys
Fill in the am62x SK's capsule GUID properties of the base binman capsule nodes. Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-am625-sk-binman.dtsi | 30 1 file changed, 30 insertions(+) diff --git a/arch/arm/dts/k3-am625-sk-binman.dtsi

[PATCH v2 0/7] binman: ti: create binman nodes for EFI capsules

2024-04-19 Thread Jonathan Humphreys
Add binman nodes for EFI capsules of firmware components so that capsules are automatically created during the UBoot builds. This is enabled for several TI SoC based platforms: AM64, AM62, AM62p, BeaglePlay, J7, and BeagleboneAI. Changes from v1: - on GP devices, still use signed images in

[PATCH v2 2/7] dts: am64x: binman: Include firmware capsules binman nodes

2024-04-19 Thread Jonathan Humphreys
Fill in the am64x SK's capsule GUID properties of the base binman capsule nodes. Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-am64x-binman.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/dts/k3-am64x-binman.dtsi

[PATCH v2 4/7] dts: beagleplay: binman: Include firmware capsules binman nodes

2024-04-19 Thread Jonathan Humphreys
Fill in the BeaglePlay's capsule GUID properties of the base binman capsule nodes. Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 27 arch/arm/dts/k3-am625-r5-beagleplay.dts | 15 +++ 2 files changed, 42 insertions(+) diff

Re: [PATCH v6 15/18] video: tegra20: dsi: add reset support

2024-04-19 Thread Thierry Reding
On Tue Jan 23, 2024 at 6:16 PM CET, Svyatoslav Ryhel wrote: > Implement reset use to discard any changes which could have been > applied to DSI before and can interfere with current configuration. > > Tested-by: Ion Agorria # HTC One X > Tested-by: Svyatoslav Ryhel # Nvidia Tegratab T114 >

Re: [PATCH v3] tpm-v2: allow algoirthm name to be configured for pcr_read and pcr_extend

2024-04-19 Thread Ilias Apalodimas
Hi Tim, On Fri, 19 Apr 2024 at 20:13, Tim Harvey wrote: > > On Sat, Apr 6, 2024 at 9:33 AM Ilias Apalodimas > wrote: > > > > Hi Tim, > > > > Thanks for the patch > > > > I'll be away next week, I'll try to find time and take a closer look. > > The pipeline [0] shows some TPM related failures >

Re: [PATCH v3] tpm-v2: allow algoirthm name to be configured for pcr_read and pcr_extend

2024-04-19 Thread Tim Harvey
On Fri, Apr 19, 2024 at 10:37 AM Ilias Apalodimas wrote: > > Also quickly looking at this, you need a new function for > tpm2_algorithm_to_mask() (look below) > > On Fri, 19 Apr 2024 at 20:20, Ilias Apalodimas > wrote: > > > > Hi Tim, > > > > On Fri, 19 Apr 2024 at 20:13, Tim Harvey wrote: > >

Re: [PATCH v2] configs: am62px_evm_a53_defconfig: Enable MMC UHS config option

2024-04-19 Thread Bryan Brattlof
On April 16, 2024 thus sayeth Judith Mendez: > Enable MMC UHS support for to allow to enter the UHS > modes for MMC1. > s/support for/support/ Though it doesn't really matter to me. ;) > Signed-off-by: Judith Mendez > --- > Changes since v1: > - Fix typo in patch description > --- > >

Re: [PATCH v6 07/18] video: tegra20: dc: add powergate

2024-04-19 Thread Thierry Reding
On Tue Jan 23, 2024 at 6:16 PM CET, Svyatoslav Ryhel wrote: > Add powergate use on T114 to complete resetting of DC. > > Signed-off-by: Svyatoslav Ryhel > --- > drivers/video/tegra20/tegra-dc.c | 27 +++ > 1 file changed, 27 insertions(+) Seems correct: Reviewed-by:

Re: [PATCH] usb: dwc2: Add in version 4xx compatibility

2024-04-19 Thread Greg Malysa
Hi Mattijs, > Please avoid top-posting when replying, it makes following the > discussion more difficult: > https://www.kernel.org/doc/html/latest/process/submitting-patches.html#use-trimmed-interleaved-replies-in-email-discussions Will do. Sorry about that; I'm still learning about this

[PATCH v3 11/19] board: am62px: Define capsule update firmware info

2024-04-19 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the AM62px SK. Signed-off-by: Jonathan Humphreys --- board/ti/am62px/evm.c| 32 include/configs/am62px_evm.h | 24

[PATCH v3 14/19] configs: am62x: Enable serial flash DFU

2024-04-19 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/am62x_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig index 6b37f8b4791..cc397f72d2c 100644 --- a/configs/am62x_evm_a53_defconfig +++

[PATCH v3 02/19] board: am64x: Define capsule update firmware info

2024-04-19 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the AM64x SK. Signed-off-by: Jonathan Humphreys --- board/ti/am64x/evm.c| 33 + include/configs/am64x_evm.h | 24

[PATCH v3 07/19] doc: board: ti: j721e: document OSPI layout

2024-04-19 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- doc/board/ti/j721e_evm.rst | 85 +- 1 file changed, 56 insertions(+), 29 deletions(-) diff --git a/doc/board/ti/j721e_evm.rst b/doc/board/ti/j721e_evm.rst index a422a9bf1a0..a0fc37ab6d7 100644 ---

[PATCH v3 03/19] configs: am64x: Enable EFI capsule update

2024-04-19 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/am64x_evm_a53_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x_evm_a53_defconfig index e000549d6d0..c9bdd7b54cc 100644 --- a/configs/am64x_evm_a53_defconfig +++

[PATCH v3 04/19] doc: board: ti: am64x: document OSPI layout

2024-04-19 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- doc/board/ti/am64x_evm.rst | 48 ++ 1 file changed, 48 insertions(+) diff --git a/doc/board/ti/am64x_evm.rst b/doc/board/ti/am64x_evm.rst index 6ae35b3fee3..a7468fbd254 100644 --- a/doc/board/ti/am64x_evm.rst +++

[PATCH v2 3/7] dts: j721e: binman: Include firmware capsules binman nodes

2024-04-19 Thread Jonathan Humphreys
Fill in the J721e SK's capsule GUID properties of the base binman capsule nodes. Also add it's SYSFW binman capsule node. Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-j721e-binman.dtsi | 49 +++ 1 file changed, 49 insertions(+) diff --git

[PATCH v2 7/7] dts: beagleboneai64: binman: Include firmware capsules binman nodes

2024-04-19 Thread Jonathan Humphreys
Fill in the BeagleBoneAI64's capsule GUID properties of the base binman capsule nodes. Also add it's SYSFW binman capsule node. Signed-off-by: Jonathan Humphreys --- .../dts/k3-j721e-beagleboneai64-u-boot.dtsi | 23 +++ arch/arm/dts/k3-j721e-r5-beagleboneai64.dts | 29

Re: [PATCH v3 1/3] clk: imx8mm: Add support for PCIe clocks

2024-04-19 Thread Marek Vasut
On 4/19/24 5:29 PM, Tim Harvey wrote: Add support for PCIe clocks required to enable PCIe support on iMX8MM SoC. Signed-off-by: Tim Harvey Reviewed-by: Marek Vasut

[PATCH v3 08/19] board: beagleplay: Define capsule update firmware info

2024-04-19 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the BeaglePlay. Note this involved creating BeaglePlay's own beagleplay.h board header file instead of reusing am62_evm's. Signed-off-by: Jonathan Humphreys

[PATCH v3 15/19] board: am62x: Define capsule update firmware info

2024-04-19 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the AM62x SK. Signed-off-by: Jonathan Humphreys --- board/ti/am62x/evm.c| 32 include/configs/am62x_evm.h | 24

[PATCH v3 13/19] doc: board: ti: am62px: document OSPI layout

2024-04-19 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- doc/board/ti/am62px_sk.rst | 48 ++ 1 file changed, 48 insertions(+) diff --git a/doc/board/ti/am62px_sk.rst b/doc/board/ti/am62px_sk.rst index 1f2982c36f9..7ff20fbf8e6 100644 --- a/doc/board/ti/am62px_sk.rst +++

[PATCH v3 06/19] configs: j721e: Enable EFI capsule update

2024-04-19 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/j721e_evm_a72_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig index 077bf508328..b8840a556e1 100644 --- a/configs/j721e_evm_a72_defconfig +++

[PATCH v3 09/19] configs: beagleplay: Enable DFU for MMC

2024-04-19 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/am62x_beagleplay_a53_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am62x_beagleplay_a53_defconfig b/configs/am62x_beagleplay_a53_defconfig index 147967d3c11..68e103f58dc 100644 --- a/configs/am62x_beagleplay_a53_defconfig

Re: [PATCH v3 04/19] doc: board: ti: am64x: document OSPI layout

2024-04-19 Thread Tom Rini
On Fri, Apr 19, 2024 at 03:56:46PM -0500, Jonathan Humphreys wrote: > Signed-off-by: Jonathan Humphreys > --- > doc/board/ti/am64x_evm.rst | 48 ++ > 1 file changed, 48 insertions(+) [snip] > +Flash layout for OSPI: > + > +.. code-block:: console > + > +

Re: [PATCH v6 09/18] video: tegra20: dc: fix printing of framebuffer address

2024-04-19 Thread Thierry Reding
On Tue Jan 23, 2024 at 6:16 PM CET, Svyatoslav Ryhel wrote: > From: Jonas Schwöbel > > Framebuffer address should not be a pointer. > > Signed-off-by: Jonas Schwöbel > Signed-off-by: Svyatoslav Ryhel > --- > drivers/video/tegra20/tegra-dc.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH v6 01/18] video: tegra20: dc: diverge DC per-SOC

2024-04-19 Thread Svyatoslav Ryhel
пт, 19 квіт. 2024 р. о 19:26 Thierry Reding пише: > > On Tue Jan 23, 2024 at 6:16 PM CET, Svyatoslav Ryhel wrote: > [...] > > diff --git a/arch/arm/include/asm/arch-tegra114/display.h > > b/arch/arm/include/asm/arch-tegra114/display.h > > new file mode 100644 > > index 00..9411525799 > >

Re: [PATCH v3] tpm-v2: allow algoirthm name to be configured for pcr_read and pcr_extend

2024-04-19 Thread Ilias Apalodimas
On Fri, 19 Apr 2024 at 20:52, Tim Harvey wrote: > > On Fri, Apr 19, 2024 at 10:37 AM Ilias Apalodimas > wrote: > > > > Also quickly looking at this, you need a new function for > > tpm2_algorithm_to_mask() (look below) > > > > On Fri, 19 Apr 2024 at 20:20, Ilias Apalodimas > > wrote: > > > > >

Re: [PATCH] mmc: sdhci: introduce adma_write_desc() hook to struct sdhci_ops

2024-04-19 Thread Greg Malysa
Hi, > Some target are failed to build. (e.g, j721e_beagleboneai64_r5) > > +drivers/mmc/sdhci-adma.c: In function '__sdhci_adma_write_desc': > +drivers/mmc/sdhci-adma.c:37:43: error: 'const struct sdhci_ops' has no > member named 'adma_write_desc' > + 37 | if (host && host->ops &&

[PATCH v3 05/19] board: j721e: Define capsule update firmware info

2024-04-19 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the SK-TDA4VM. Signed-off-by: Jonathan Humphreys --- board/ti/j721e/evm.c| 38 + include/configs/j721e_evm.h | 29

[PATCH v3 00/19] EFI: ti: Enable EFI capsule updates

2024-04-19 Thread Jonathan Humphreys
Enable on disk capsule updates, which includes defining the firmware components (tiboot3, spl, u-boot) and enabling processing of raw capsule updates. This is enabled for several TI SoC based platforms: AM64, AM62, AM62p, BeaglePlay, J7, and BeagleboneAI. This series also includes enabling seral

[PATCH v3 19/19] configs: beagleboneai64: Enable EFI capsule update

2024-04-19 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/j721e_beagleboneai64_a72_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/j721e_beagleboneai64_a72_defconfig b/configs/j721e_beagleboneai64_a72_defconfig index 3d234bc1a8f..e74ee68e23e 100644 ---

Re: [PATCH v6 08/18] video: tegra20: dc: configure behavior if PLLD/D2 is used

2024-04-19 Thread Thierry Reding
On Tue Jan 23, 2024 at 6:16 PM CET, Svyatoslav Ryhel wrote: > If DISP1 is a PLLD/D2 child, it cannot go over 370MHz. The cause > of this is not quite clear. This can be overcomed by further > halving the PLLD/D2 if the target parent rate is over 800MHz. > This way DISP1 and DSI clocks will have

Re: [PATCH v6 05/18] video: tegra20: dc: add PLLD2 parent support

2024-04-19 Thread Thierry Reding
On Tue Jan 23, 2024 at 6:16 PM CET, Svyatoslav Ryhel wrote: > T30+ SOC have second PLLD - PLLD2 which can be actively used by > DC and act as main DISP1/2 clock parent. > > Tested-by: Agneli # Toshiba AC100 T20 > Tested-by: Robert Eckelmann # ASUS TF101 > Tested-by: Andreas Westman Dorcsak #

[PATCH] ARM: stm32: Ping IWDG on exit from PSCI suspend code

2024-04-19 Thread Marek Vasut
Make sure the OS would not get any spurious IWDG pretimeout IRQ right after the system wakes up. This may happen in case the SoC got woken up by another source than the IWDG pretimeout and the pretimeout IRQ arrived immediately afterward, but too late to be handled by the suspend main loop. In

Re: [PATCH v6 04/18] video: tegra20: dc: pass DC id to internal devices

2024-04-19 Thread Svyatoslav Ryhel
пт, 19 квіт. 2024 р. о 19:38 Thierry Reding пише: > > On Tue Jan 23, 2024 at 6:16 PM CET, Svyatoslav Ryhel wrote: > > Tegra SoC has 2 independent display controllers called DC_A and > > DC_B, they are handled differently by internal video devices like > > DSI and HDMI controllers so it is

Re: [PATCH v6 04/18] video: tegra20: dc: pass DC id to internal devices

2024-04-19 Thread Thierry Reding
On Fri Apr 19, 2024 at 6:44 PM CEST, Svyatoslav Ryhel wrote: > пт, 19 квіт. 2024 р. о 19:38 Thierry Reding пише: > > > > On Tue Jan 23, 2024 at 6:16 PM CET, Svyatoslav Ryhel wrote: > > > Tegra SoC has 2 independent display controllers called DC_A and > > > DC_B, they are handled differently by

Re: [PATCH v6 12/18] video: tegra20: dc: parameterize V- and H-sync polarities

2024-04-19 Thread Thierry Reding
On Tue Jan 23, 2024 at 6:16 PM CET, Svyatoslav Ryhel wrote: > Based on Thierry Reding's Linux commit: > > 'commit 1716b1891e1de05e2c20ccafa9f58550f3539717 > ("drm/tegra: rgb: Parameterize V- and H-sync polarities")' > > Signed-off-by: Svyatoslav Ryhel > --- > arch/arm/include/asm/arch-tegra/dc.h

Re: [PATCH v3] tpm-v2: allow algoirthm name to be configured for pcr_read and pcr_extend

2024-04-19 Thread Ilias Apalodimas
Also quickly looking at this, you need a new function for tpm2_algorithm_to_mask() (look below) On Fri, 19 Apr 2024 at 20:20, Ilias Apalodimas wrote: > > Hi Tim, > > On Fri, 19 Apr 2024 at 20:13, Tim Harvey wrote: > > > > On Sat, Apr 6, 2024 at 9:33 AM Ilias Apalodimas > > wrote: > > > > > >

[PATCH v3 18/19] board: beagleboneai64: Define capsule update firmware info

2024-04-19 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the BeagleBoneAI64. Note this involved creating BeagleBoneAI64's own beagleboneai64.h board header file instead of reusing j721e_evm's. Signed-off-by:

[PATCH v3 01/19] doc: uefi: capsules: Start Capsule Update porting section

2024-04-19 Thread Jonathan Humphreys
Created a capsule update porting section in the documentation that outlines the steps a board developer must do when porting from an existing reference board implementation. In particular, added a big warning that new capsule GUID's need to be defined. Signed-off-by: Jonathan Humphreys ---

[PATCH v3 10/19] configs: beagleplay: Enable EFI capsule update

2024-04-19 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/am62x_beagleplay_a53_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am62x_beagleplay_a53_defconfig b/configs/am62x_beagleplay_a53_defconfig index 68e103f58dc..23b9c466248 100644 --- a/configs/am62x_beagleplay_a53_defconfig

[PATCH v3 16/19] configs: am62x: Enable EFI capsule update

2024-04-19 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/am62x_evm_a53_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig index cc397f72d2c..d628535a4ed 100644 --- a/configs/am62x_evm_a53_defconfig +++

[PATCH v3 17/19] doc: board: ti: am62x: document OSPI layout

2024-04-19 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- doc/board/ti/am62x_sk.rst | 48 +++ 1 file changed, 48 insertions(+) diff --git a/doc/board/ti/am62x_sk.rst b/doc/board/ti/am62x_sk.rst index b12dc85f06b..bf7ea754e32 100644 --- a/doc/board/ti/am62x_sk.rst +++

[PATCH v3 12/19] configs: am62px: Enable EFI capsule update

2024-04-19 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/am62px_evm_a53_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am62px_evm_a53_defconfig b/configs/am62px_evm_a53_defconfig index 638d2e90a6b..02500e205d1 100644 --- a/configs/am62px_evm_a53_defconfig +++

Re: [PULL] Pull request for u-boot master / v2024.07 = u-boot-stm32-20240419

2024-04-19 Thread Tom Rini
On Fri, Apr 19, 2024 at 02:01:47PM +0200, Patrice CHOTARD wrote: > Hi Tom > > Please pull the STM32 related patches for u-boot/master, v2024.07: > u-boot-stm32-20240419 > > CI status: > https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/20430 > > &g

Re: Pull request for tpm-master-18042024

2024-04-19 Thread Tom Rini
On Thu, Apr 18, 2024 at 08:14:01PM +0300, Ilias Apalodimas wrote: > OP-TEE fixes only on this PR, no TPM related ones. > > The following changes since commit 2c3fa4b8add3cb6a440184ab67debc6867d383c0: > > sandbox: don't call os_close with invalid file descriptor (2024-04-17 > 17:06:16 -0600)

Re: [GIT PULL] Please pull u-boot-dfu-20240419

2024-04-19 Thread Tom Rini
lines/20427 > > Thanks, > Mattijs > > The following changes since commit 2c3fa4b8add3cb6a440184ab67debc6867d383c0: > > sandbox: don't call os_close with invalid file descriptor (2024-04-17 > 17:06:16 -0600) > > are available in the Git repository at: > > https://sourc

[PATCH RFC 1/9] sunxi: clock: support H6/D1 video clocks

2024-04-19 Thread John Watts
This code adds support for clocking VIDEO0 and VIDEO1, as well as registers used for the DE2. This code deliberately uses a 12MHz step in clocking to align with the DE2 code's expectation of double 6MHz steps. Signed-off-by: John Watts --- arch/arm/include/asm/arch-sunxi/clock_sun50i_h6.h | 56

[PATCH RFC 2/9] sunxi: ncat2: Specify DE2 and LCD0 base addresses

2024-04-19 Thread John Watts
These are used for operating the LCD on the D1/T113. Signed-off-by: John Watts --- arch/arm/include/asm/arch-sunxi/cpu_sunxi_ncat2.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/include/asm/arch-sunxi/cpu_sunxi_ncat2.h b/arch/arm/include/asm/arch-sunxi/cpu_sunxi_ncat2.h

[PATCH RFC 0/9] sunxi: video: Support LCD and HDMI output on H6/D1

2024-04-19 Thread John Watts
This patch series is my first attempt at supporting an LCD panel on the T113. I can confirm this specific use case works, but I've added code for the H6/H616 too in the process as a lot of the logic is the same. I've also included an untested patch for HDMI support at the end in case anyone wants

[PATCH RFC 3/9] sunxi: sun50i-h6: Specify DE2 and LCD0 base addresses

2024-04-19 Thread John Watts
These are used for operating the LCD on the H6/H616. Signed-off-by: John Watts --- arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h b/arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h index

Re: [PATCH] riscv: dts: jh7110: Enable PLL node in SPL

2024-04-19 Thread Bo Gan
On 4/16/24 9:59 PM, E Shattow wrote: On Tue, Apr 9, 2024 at 11:44 PM Bo Gan wrote: On 4/9/24 6:55 PM, E Shattow wrote: Original speed class SD cards fail with this change "unable to change mode". The BUS_ROOT clock will have to be switched to PLL2 anyway in U-Boot proper or in Linux,

[PATCH RFC 9/9] sunxi: video: support HDMI on H6/H616

2024-04-19 Thread John Watts
The H6 and H616 support outputting HDMI through the Display Engine. Set up the clocks and resets appropriately for the HDMI controller. This turns out to be a little tricky as the HDMI clock requires a different parent on the H6 compared to the H616. So we have to end up choosing VIDEO1 on the

[PATCH RFC 5/9] sunxi: video: enable DE2 on H6/D1

2024-04-19 Thread John Watts
This requires just a little change to clocking and reset logic. Signed-off-by: John Watts --- drivers/video/sunxi/sunxi_de2.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/video/sunxi/sunxi_de2.c b/drivers/video/sunxi/sunxi_de2.c index e02d359cd2..9b6c41b212

[PATCH RFC 4/9] sunxi: video: support LCD on H6/D1

2024-04-19 Thread John Watts
The H6/D1/R528 don't require any big changes, just some small tweaks to support new clock and reset logic. Signed-off-by: John Watts --- drivers/video/sunxi/lcdc.c | 20 drivers/video/sunxi/sunxi_lcd.c | 6 -- 2 files changed, 24 insertions(+), 2 deletions(-)

[PATCH RFC 7/9] sunxi: video: dummy out HDMI on H6/D1

2024-04-19 Thread John Watts
I don't have any hardware to implement HDMI support on, but it's still worth making the code compile for future work. Adding HDMI support shouldn't be too difficult, though beware: The H6 and H616 both have a different set of HDMI clock parents. Future code will most likely need to pick VIDEO0 or

[PATCH RFC 6/9] sunxi: video: silence unused use_mipi_pll warning

2024-04-19 Thread John Watts
This variable is only used sometimes, so gate it behind an #ifdef. Signed-off-by: John Watts --- drivers/video/sunxi/lcdc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/video/sunxi/lcdc.c b/drivers/video/sunxi/lcdc.c index ea21d602be..1474f6cb2e 100644 ---

[PATCH RFC 8/9] sunxi: Enable display engine on H6/D1

2024-04-19 Thread John Watts
Now that all the code is present and can compile, enable the DE2 so people can use it. Signed-off-by: John Watts --- arch/arm/mach-sunxi/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index ddf9414b08..9d76e429ef 100644

[PATCH v2] efi_loader: change the error message when storing EFI variables

2024-04-19 Thread Ilias Apalodimas
When we try to store EFI variables on a file, we need to use an ESP. if an ESP is not found, variables will change in memory, but U-Boot won't be able to restore them across reboots. Adjust the error message so users can understand what's going on Signed-off-by: Ilias Apalodimas --- Changes

Re: [PATCH] efi_loader: change the error message when storing EFI variables

2024-04-19 Thread Heinrich Schuchardt
On 19.04.24 09:42, Ilias Apalodimas wrote: When we try to store EFI variables on a file, we need to use an ESP. if an ESP is not found, variables will change in memory, but U-Boot won't be able to restore them across reboots. Adjust the error message so users can understand what's going on

Re: [PATCH v3] ARM: stm32: Initialize TAMP_SMCR BKP..PROT fields on STM32MP15xx

2024-04-19 Thread Patrice CHOTARD
On 4/19/24 05:59, Marek Vasut wrote: > In case of an OTP-CLOSED STM32MP15xx system, the CPU core 1 cannot be > released from endless loop in BootROM only by populating TAMP BKPxR 4 > and 5 with magic and branch address and sending SGI0 interrupt from > core 0 to core 1 twice. TAMP_SMCR

[GIT PULL] Please pull u-boot-dfu-20240419

2024-04-19 Thread Mattijs Korpershoek
don't call os_close with invalid file descriptor (2024-04-17 17:06:16 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-dfu.git tags/u-boot-dfu-20240419 for you to fetch changes up to b2acf59baf917c3b4002c1b2094ddb46c03ab02e: fastboot: introduce

Re: [PATCH v2] efi_loader: change the error message when storing EFI variables

2024-04-19 Thread Ilias Apalodimas
Heinrich Please ignore this, I missed that we already report that in efi_set_blk_dev_to_system_partition() Apologies for the noise /Ilias On Fri, Apr 19, 2024 at 12:45:45PM +0300, Ilias Apalodimas wrote: > When we try to store EFI variables on a file, we need to use an ESP. > if an ESP is not

Re: [PATCH v2 4/5] arm: apple: Switch to standard boot

2024-04-19 Thread Mark Kettenis
> From: Janne Grunau via B4 Relay > Date: Thu, 18 Apr 2024 21:00:28 +0200 > > From: Janne Grunau > > Use standard boot instead of the distro boot scripts. Use > BOOTSTD_FULL instead of BOOTSTD_DEFAULTS for easier interactive use. > > Signed-off-by: Janne Grunau Reviewed-by: Mark Kettenis

Re: [PATCH v2 5/5] arm: apple: Do not list bootflows on boot

2024-04-19 Thread Mark Kettenis
> From: Janne Grunau via B4 Relay > Date: Thu, 18 Apr 2024 21:00:29 +0200 > > From: Janne Grunau > > The bootflow list is only seen briefly and is probably more confusing > than helpful. To be honest, I think that applies to all boards using BOOTSSTD_FILL. Which probably means the -l should

[PATCH 1/1] efi_loader: superfluous efi_restore_gd after EFI_CALL

2024-04-19 Thread Heinrich Schuchardt
EFI_CALL() invokes __efi_entry_check() which executes set_gd(efi_gd). There is no need to execute set_gd(efi_gd) again via efi_restore_gd(). Signed-off-by: Heinrich Schuchardt --- cmd/bootefi.c | 1 - cmd/efidebug.c | 2 -- lib/efi_loader/efi_helper.c | 2 -- 3 files

Re: [PATCH] stm32mp: Reserve OPTEE area in EFI memory map

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 09:45, Heinrich Schuchardt wrote: > On 17.04.24 09:25, Patrick DELAUNAY wrote: >> Hi, >> >> On 3/8/24 11:12, Patrice Chotard wrote: >>> Since commit 7b78d6438a2b3 ("efi_loader: Reserve unaccessible memory") >>> memory region above ram_top is tagged in EFI memory map as >>>

[PATCH v2 1/4] tools: mkeficapsule: Add support for parsing capsule params from config file

2024-04-19 Thread Sughosh Ganu
Add support for specifying the parameters needed for capsule generation through a config file, instead of passing them through command-line. Parameters for more than a single capsule file can be specified, resulting in generation of multiple capsules through a single invocation of the command.

[PATCH v2 3/4] sandbox: capsule: Add a config file for generating capsules

2024-04-19 Thread Sughosh Ganu
Support has been added to the mkeficapsule tool to generate capsules by parsing the capsule parameters through a config file. Add a config file for generating capsules. These capsules will be used for testing the capsule update feature on sandbox platform. Enable generation of capsules through

[PATCH v2 0/4] Generate capsules from config files

2024-04-19 Thread Sughosh Ganu
Add support for generating capsules through a config file. Multiple capsules can be generated through a single invocation of the mkeficapsule tool, where the capsule parameters are fetched from the config file. The format of the config file pretty similar to the one used by the capsule

[PATCH v2 4/4] test: capsule: Generate capsules through config file

2024-04-19 Thread Sughosh Ganu
Add logic to generate capsules through a config file while testing the EFI capsule update functionality. Capsule generation through config file is enabled on the sandbox variant. Signed-off-by: Sughosh Ganu --- test/py/tests/test_efi_capsule/capsule_gen_binman.dts | 2 ++

[PATCH v2 2/4] doc: Document capsule generation through a config file

2024-04-19 Thread Sughosh Ganu
The UEFI capsule can now be generated by specifying the capsule parameters through a config file. Highlight these changes in the documentation. Signed-off-by: Sughosh Ganu --- doc/develop/uefi/uefi.rst | 70 +++ 1 file changed, 70 insertions(+) diff --git

Re: [PATCH] efi_loader: change the error message when storing EFI variables

2024-04-19 Thread Ilias Apalodimas
Hi Heinrich On Fri, 19 Apr 2024 at 10:51, Heinrich Schuchardt wrote: > > On 19.04.24 09:42, Ilias Apalodimas wrote: > > When we try to store EFI variables on a file, we need to use an ESP. > > if an ESP is not found, variables will change in memory, but U-Boot > > won't be able to restore them

[PATCH] power: pmic: tps65941: Update compatible to aling with kernel DT

2024-04-19 Thread Udit Kumar
Linux kernel driver drivers/mfd/tps6594-i2c.c is using different name for compatible for tps6594 family PMIC. After sync of Linux kernel DT to u-boot for TI platforms J7200, J721S2 and J784S4 PMIC is no longer getting probed. So updating compatible field to align with Linux driver and DT.

Re: [PATCH v2 2/4] doc: Document capsule generation through a config file

2024-04-19 Thread Heinrich Schuchardt
On 19.04.24 08:55, Sughosh Ganu wrote: The UEFI capsule can now be generated by specifying the capsule parameters through a config file. Highlight these changes in the documentation. Signed-off-by: Sughosh Ganu --- doc/develop/uefi/uefi.rst | 70 +++ 1

[PATCH 3/3] phycore-rk3288: Migrate to OF_UPSTREAM

2024-04-19 Thread Wadim Egorov
The phycore-rk3288 can be migrated to OF_UPSTREAM. Drop redundant device tree files, update MAINTAINERS and defconfig's DEFAULT_DEVICE_TREE for rockchip vendor prefix accordingly. Move device tree nodes required for u-boot to rk3288-phycore-rdk-u-boot.dtsi such as chosen, i2c_eeprom_id and it's

[PATCH 1/3] phycore-am62x: Migrate to OF_UPSTREAM

2024-04-19 Thread Wadim Egorov
The phycore-am62x can be migrated to OF_UPSTREAM. Drop redundant device tree files, update MAINTAINERS and defconfig's DEFAULT_DEVICE_TREE for ti vendor prefix accordingly. Signed-off-by: Wadim Egorov --- arch/arm/dts/Makefile | 1 -

[PATCH 0/3] *** Migrate some PHYTEC boards to OF_UPSTREAM ***

2024-04-19 Thread Wadim Egorov
Migrate the boards I maintain to OF_UPSTREAM. Wadim Egorov (3): phycore-am62x: Migrate to OF_UPSTREAM phycore-am64x: Migrate to OF_UPSTREAM phycore-rk3288: Migrate to OF_UPSTREAM arch/arm/dts/Makefile | 3 - arch/arm/dts/k3-am62-phycore-som.dtsi | 324

Re: [PATCH v2 1/4] tools: mkeficapsule: Add support for parsing capsule params from config file

2024-04-19 Thread Heinrich Schuchardt
On 19.04.24 08:55, Sughosh Ganu wrote: Add support for specifying the parameters needed for capsule generation through a config file, instead of passing them through command-line. Parameters for more than a single capsule file can be specified, resulting in generation of multiple capsules

[PATCH 2/3] phycore-am64x: Migrate to OF_UPSTREAM

2024-04-19 Thread Wadim Egorov
The phycore-am64x can be migrated to OF_UPSTREAM. Drop redundant device tree files, update MAINTAINERS and defconfig's DEFAULT_DEVICE_TREE for ti vendor prefix accordingly. While at it, drop the redundant definitions of AM642_PHYBOARD_ELECTRA_DTB & SPL_AM642_PHYBOARD_ELECTRA_DTB from the binman

[PATCH] efi_loader: change the error message when storing EFI variables

2024-04-19 Thread Ilias Apalodimas
When we try to store EFI variables on a file, we need to use an ESP. if an ESP is not found, variables will change in memory, but U-Boot won't be able to restore them across reboots. Adjust the error message so users can understand what's going on Signed-off-by: Ilias Apalodimas ---

[PULL] Pull request for u-boot master / v2024.07 = u-boot-stm32-20240419

2024-04-19 Thread Patrice CHOTARD
Hi Tom Please pull the STM32 related patches for u-boot/master, v2024.07: u-boot-stm32-20240419 CI status: https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/20430 The following changes since commit 97b34f6ace539c9c16eb8565f8b58730848ba97a: env: mmc: print MMC device being

Re: [PATCH v2 01/11] net: dwc_eth_qos: Split STM32 glue into separate file

2024-04-19 Thread Patrice CHOTARD
On 4/8/24 09:24, Christophe ROULLIER wrote: >> -Original Message- >> From: Marek Vasut >> Sent: Tuesday, March 26, 2024 1:07 PM >> To:u-boot@lists.denx.de >> Cc: Marek Vasut; Patrice CHOTARD - >> foss; Christophe >> ROULLIER; Joe >> Hershberger; Patrick DELAUNAY - >> foss; Ramon >>

Re: [PATCH v2 11/11] net: dwc_eth_qos: Add support for st, ext-phyclk property

2024-04-19 Thread Patrice CHOTARD
On 4/8/24 17:52, Christophe ROULLIER wrote: >> -Original Message- >> From: Marek Vasut >> Sent: Tuesday, March 26, 2024 1:08 PM >> To:u-boot@lists.denx.de >> Cc: Marek Vasut; Christophe >> ROULLIER; Joe >> Hershberger; Patrice CHOTARD - >> foss; Patrick DELAUNAY - >> foss; Ramon >>

Re: [PATCH v2 09/11] net: dwc_eth_qos: Add DT parsing for STM32MP13xx platform

2024-04-19 Thread Patrice CHOTARD
On 4/8/24 17:50, Christophe ROULLIER wrote: >> -Original Message- >> From: Marek Vasut >> Sent: Tuesday, March 26, 2024 1:08 PM >> To:u-boot@lists.denx.de >> Cc: Christophe ROULLIER; Marek >> Vasut; Joe Hershberger; Patrice >> CHOTARD - foss; Patrick DELAUNAY - >> foss; Ramon >>

Re: [PATCH] arm: stm32: Enable OHCI HCD support on STM32MP15xx DHSOM

2024-04-19 Thread Patrice CHOTARD
On 3/4/24 19:25, Marek Vasut wrote: > The OHCI HCD is mandatory for USB 1.1 FS/LS device support, enable it. > This used to be enabled implicitly before, now that implicit dependency > disappeared and this got disabled. Enable it manually. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice

Re: [PATCH] stm32mp: cmd_stm32prog: add dependencies with USB_GADGET_DOWNLOAD

2024-04-19 Thread Patrice CHOTARD
On 2/7/24 16:59, Igor Opaniuk wrote: > On Wed, Feb 7, 2024 at 2:12 PM Patrick Delaunay > wrote: >> >> This patch avoids compilation issue when CONFIG_USB_GADGET is deactivated >> in defconfig, with undefined reference to run_usb_dnl_gadget and to >> g_dnl_set_product. >> >> Signed-off-by:

Re: [PATCH v1 04/25] configs: stm32mp1: Enable BUTTON_GPIO flag for stm32mp15_trusted_defconfig

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:04, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:01, Patrice Chotard wrote: >> Enable BUTTON_GPIO flag for STM32MP15. >> >> Signed-off-by: Patrice Chotard >> --- >> >>   configs/stm32mp15_trusted_defconfig | 2 ++ >>   1 file changed, 2 insertions(+) >> >> diff --git

Re: [PATCH v1 02/25] configs: stm32mp1: Enable BUTTON_GPIO flag for stm32mp15_defconfig

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:03, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:01, Patrice Chotard wrote: >> Enable BUTTON_GPIO flag for STM32MP15. >> >> Signed-off-by: Patrice Chotard >> --- >> >>   configs/stm32mp15_defconfig | 2 ++ >>   1 file changed, 2 insertions(+) >> >> diff --git

Re: [PATCH v1 03/25] configs: stm32mp1: Enable BUTTON_GPIO flag for stm32mp15_basic_defconfig

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:04, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:01, Patrice Chotard wrote: >> Enable BUTTON_GPIO flag for STM32MP15. >> >> Signed-off-by: Patrice Chotard >> --- >> >>   configs/stm32mp15_basic_defconfig | 2 ++ >>   1 file changed, 2 insertions(+) >> >> diff --git

Re: [PATCH v1 01/25] configs: stm32mp13: Enable FASTBOOT

2024-04-19 Thread Patrice CHOTARD
On 4/18/24 13:48, Igor Opaniuk wrote: > On Tue, Apr 9, 2024 at 5:19 PM Patrice Chotard > wrote: >> >> Enable FASTBOOT relative flags for stm32mp13_defconfig. >> >> Signed-off-by: Patrice Chotard >> >> --- >> >> configs/stm32mp13_defconfig | 9 - >> 1 file changed, 8 insertions(+), 1

  1   2   >