Re: [PATCH v2 3/7] power: regulator-uclass: perform regulator setup inside uclass

2023-08-05 Thread Svyatoslav Ryhel
5 серпня 2023 р. 23:46:27 GMT+03:00, Jonas Karlman написав(-ла): >On 2023-08-05 21:58, Svyatoslav Ryhel wrote: >> >> >> 5 серпня 2023 р. 15:49:32 GMT+03:00, Jonas Karlman >> написав(-ла): >>> Hi, >>> >>> On 2023-07-21 07:34, Svyatoslav Ryhel wrote: чт, 20 лип. 2023 р. о 22:43 Simon Gl

cli: Add explicit kconfig dependency for CONFIG_IS_ENABLED macro

2023-08-05 Thread Pavel Korotkevich
From fe2ceb7c4365112055ecfc3bbf68ad47330b744d Mon Sep 17 00:00:00 2001 From: Pavel Korotkevich Date: Sun, 6 Aug 2023 02:00:41 +0300 Subject: [PATCH] cli: Add explicit kconfig dependency for CONFIG_IS_ENABLED macro ---  include/cli.h | 2 ++  1 file changed, 2 insertions(+) diff --git a/include

Re: [PATCH v7 06/11] sandbox: Build the mkeficapsule tool for the sandbox variants

2023-08-05 Thread Simon Glass
Hi Tom, On Sat, 5 Aug 2023 at 16:15, Tom Rini wrote: > > On Sat, Aug 05, 2023 at 09:03:49AM -0600, Simon Glass wrote: > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > > > > Build the mkeficapsule tool for all the sandbox variants. This tool > > > will be used subsequently for testing c

Please pull u-boot-dm

2023-08-05 Thread Simon Glass
Hi Tom, https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/17224 https://dev.azure.com/simon0972/u-boot/_build/results?buildId=45&view=results The following changes since commit 9787da0d32c2d58bae790a16ded0fe0c150c3280: Merge branch '2023-08-04-toradex-platform-updates' (2023-08-0

Re: [PATCH v7 09/11] sandbox: capsule: Generate capsule related files through binman

2023-08-05 Thread Tom Rini
On Sat, Aug 05, 2023 at 09:04:00AM -0600, Simon Glass wrote: > Hi Sughosh, > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > > The EFI capsule files can now be generated as part of u-boot > > build through binman. Add capsule entry nodes in the u-boot.dtsi for > > the sandbox architectur

Re: [PATCH v7 06/11] sandbox: Build the mkeficapsule tool for the sandbox variants

2023-08-05 Thread Tom Rini
On Sat, Aug 05, 2023 at 09:03:49AM -0600, Simon Glass wrote: > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > > Build the mkeficapsule tool for all the sandbox variants. This tool > > will be used subsequently for testing capsule generation in binman. > > > > Signed-off-by: Sughosh Ganu >

Re: [PATCH v7 04/11] capsule: authenticate: Add capsule public key in platform's dtb

2023-08-05 Thread Tom Rini
On Sat, Aug 05, 2023 at 09:03:53AM -0600, Simon Glass wrote: > Hi Sughosh, > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > > The EFI capsule authentication logic in u-boot expects the public key > > in the form of an EFI Signature List(ESL) to be provided as part of > > the platform's

Re: [PATCH v2 3/7] power: regulator-uclass: perform regulator setup inside uclass

2023-08-05 Thread Jonas Karlman
On 2023-08-05 21:58, Svyatoslav Ryhel wrote: > > > 5 серпня 2023 р. 15:49:32 GMT+03:00, Jonas Karlman > написав(-ла): >> Hi, >> >> On 2023-07-21 07:34, Svyatoslav Ryhel wrote: >>> чт, 20 лип. 2023 р. о 22:43 Simon Glass пише: Hi Svyatoslav, On Thu, 20 Jul 2023 at 06:38, Svy

Re: [PATCH v2 3/7] power: regulator-uclass: perform regulator setup inside uclass

2023-08-05 Thread Svyatoslav Ryhel
5 серпня 2023 р. 15:49:32 GMT+03:00, Jonas Karlman написав(-ла): >Hi, > >On 2023-07-21 07:34, Svyatoslav Ryhel wrote: >> чт, 20 лип. 2023 р. о 22:43 Simon Glass пише: >>> >>> Hi Svyatoslav, >>> >>> On Thu, 20 Jul 2023 at 06:38, Svyatoslav Ryhel wrote: Regulators initial setup was p

Re: [PATCH v7 09/11] sandbox: capsule: Generate capsule related files through binman

2023-08-05 Thread Simon Glass
Hi Sughosh, On Sat, 5 Aug 2023 at 13:12, Sughosh Ganu wrote: > > hi Simon, > > On Sun, 6 Aug 2023 at 00:06, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Sat, 5 Aug 2023 at 12:01, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Sat, 5 Aug 2023 at 20:34, Simon Glass wrote: > > > >

Re: [PATCH v7 08/11] binman: capsule: Add support for generating EFI capsules

2023-08-05 Thread Simon Glass
Hi Sughosh, On Sat, 5 Aug 2023 at 13:35, Sughosh Ganu wrote: > > hi Simon, > > On Sun, 6 Aug 2023 at 00:35, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Sat, 5 Aug 2023 at 12:42, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Sat, 5 Aug 2023 at 20:34, Simon Glass wrote: > > > >

Re: [PATCH] event: Fix an wrong type_name from dm_post_init to dm_post_init_f

2023-08-05 Thread Simon Glass
On Tue, 1 Aug 2023 at 04:17, Jaehoon Chung wrote: > > DM_POST_INIT was changed to DM_POST_INIT_F. > To debug correct message, change type_name from dm_post_init to > dm_post_init_f. > > Signed-off-by: Jaehoon Chung > --- > common/event.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [PATCH v4 1/3] binman: btool: Add Xilinx Bootgen btool

2023-08-05 Thread Simon Glass
On Thu, 3 Aug 2023 at 09:22, wrote: > > From: Lukas Funke > > Add the Xilinx Bootgen as bintool. Xilinx Bootgen is used to create > bootable SPL (FSBL in Xilinx terms) images for Zynq/ZynqMP devices. The > btool creates a signed version of the SPL. Additionally to signing the > key source for the

Re: [PATCH v4 2/3] binman: ftest: Add test for xilinx-bootgen etype

2023-08-05 Thread Simon Glass
From: Lukas Funke Add test for the 'xilinx-bootgen' etype Signed-off-by: Lukas Funke Reviewed-by: Simon Glass --- Changes in v4: - Add test to check for missing bootgen tool Changes in v3: - Improved test coverage for xilinx-fsbl-auth etype Changes in v2: - Fixed typo in dts name tools/b

Re: [PATCH v4 3/3] binman: etype: Add xilinx-bootgen etype

2023-08-05 Thread Simon Glass
From: Lukas Funke This adds a new etype 'xilinx-bootgen'. By using this etype it is possible to created an signed SPL (FSBL in Xilinx terms) for ZynqMP boards. The etype uses Xilinx Bootgen tools in order to transform the SPL into a bootable image and sign the image with a given primary and seco

Re: [PATCH 1/2] buildman: Exit after reading toolchain

2023-08-05 Thread Simon Glass
Recent refactoring changed buildman to continue operation after fetching a toolchain. Fix this. Fixes: b8680646521 ("bulidman: Move toolchain handling to a function") Signed-off-by: Simon Glass --- tools/buildman/control.py | 3 +++ 1 file changed, 3 insertions(+) Applied to u-boot-dm, thanks

Re: [PATCH 2/2] buildman: Drop warning about orphaned defconfigs

2023-08-05 Thread Simon Glass
Some boards use a MAINTAINERS entry to specify common files without referencing any defconfigs. This is allowed and should not result in a warning. Drop the warning in this case. Signed-off-by: Simon Glass --- tools/buildman/boards.py| 7 --- tools/buildman/func_test.py | 9 ++---

Re: [PATCH] binman: Renumber 291 and 292 test files

2023-08-05 Thread Simon Glass
These have ended up with the same numbers as earlier files. Fix them. Signed-off-by: Simon Glass --- tools/binman/ftest.py | 4 ++-- .../{291_template_phandle.dts => 309_template_phandle.dts}| 0 ..._template_phandle_dup.dts => 310_template_phandle_du

Re: [PATCH v7 08/11] binman: capsule: Add support for generating EFI capsules

2023-08-05 Thread Sughosh Ganu
hi Simon, On Sun, 6 Aug 2023 at 00:35, Simon Glass wrote: > > Hi Sughosh, > > On Sat, 5 Aug 2023 at 12:42, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Sat, 5 Aug 2023 at 20:34, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > >

Re: [PATCH v7 04/11] capsule: authenticate: Add capsule public key in platform's dtb

2023-08-05 Thread Sughosh Ganu
hi Simon, On Sun, 6 Aug 2023 at 00:35, Simon Glass wrote: > > Hi Sughosh, > > On Sat, 5 Aug 2023 at 12:47, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Sun, 6 Aug 2023 at 00:06, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Sat, 5 Aug 2023 at 11:54, Sughosh Ganu wrote: > > > >

Re: [PATCH v7 09/11] sandbox: capsule: Generate capsule related files through binman

2023-08-05 Thread Sughosh Ganu
hi Simon, On Sun, 6 Aug 2023 at 00:06, Simon Glass wrote: > > Hi Sughosh, > > On Sat, 5 Aug 2023 at 12:01, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Sat, 5 Aug 2023 at 20:34, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > >

Re: [PATCH v7 03/11] sandbox: capsule: Add keys and certificates needed for capsule update testing

2023-08-05 Thread Simon Glass
Hi Sughosh, On Sat, 5 Aug 2023 at 12:50, Sughosh Ganu wrote: > > hi Simon, > > On Sun, 6 Aug 2023 at 00:06, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Sat, 5 Aug 2023 at 11:50, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Sat, 5 Aug 2023 at 20:34, Simon Glass wrote: > > > >

Re: [PATCH v7 04/11] capsule: authenticate: Add capsule public key in platform's dtb

2023-08-05 Thread Simon Glass
Hi Sughosh, On Sat, 5 Aug 2023 at 12:47, Sughosh Ganu wrote: > > hi Simon, > > On Sun, 6 Aug 2023 at 00:06, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Sat, 5 Aug 2023 at 11:54, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Sat, 5 Aug 2023 at 20:34, Simon Glass wrote: > > > >

Re: [PATCH v7 08/11] binman: capsule: Add support for generating EFI capsules

2023-08-05 Thread Simon Glass
Hi Sughosh, On Sat, 5 Aug 2023 at 12:42, Sughosh Ganu wrote: > > hi Simon, > > On Sat, 5 Aug 2023 at 20:34, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > > > > Add support in binman for generating EFI capsules. The capsule > > > parameters

Re: [PATCH v7 03/11] sandbox: capsule: Add keys and certificates needed for capsule update testing

2023-08-05 Thread Sughosh Ganu
hi Simon, On Sun, 6 Aug 2023 at 00:06, Simon Glass wrote: > > Hi Sughosh, > > On Sat, 5 Aug 2023 at 11:50, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Sat, 5 Aug 2023 at 20:34, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > >

Re: [PATCH v7 04/11] capsule: authenticate: Add capsule public key in platform's dtb

2023-08-05 Thread Sughosh Ganu
hi Simon, On Sun, 6 Aug 2023 at 00:06, Simon Glass wrote: > > Hi Sughosh, > > On Sat, 5 Aug 2023 at 11:54, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Sat, 5 Aug 2023 at 20:34, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > >

Re: [PATCH v7 08/11] binman: capsule: Add support for generating EFI capsules

2023-08-05 Thread Sughosh Ganu
hi Simon, On Sat, 5 Aug 2023 at 22:50, Simon Glass wrote: > > Hi Sughosh, > > On Sat, 5 Aug 2023 at 09:03, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > > > > Add support in binman for generating EFI capsules. The capsule > > > parameters

Re: [PATCH v7 08/11] binman: capsule: Add support for generating EFI capsules

2023-08-05 Thread Sughosh Ganu
hi Simon, On Sat, 5 Aug 2023 at 20:34, Simon Glass wrote: > > Hi Sughosh, > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > > Add support in binman for generating EFI capsules. The capsule > > parameters can be specified through the capsule binman entry. Also add > > test cases in binma

Re: [PATCH v7 03/11] sandbox: capsule: Add keys and certificates needed for capsule update testing

2023-08-05 Thread Simon Glass
Hi Sughosh, On Sat, 5 Aug 2023 at 11:50, Sughosh Ganu wrote: > > hi Simon, > > On Sat, 5 Aug 2023 at 20:34, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > > > > Add the private keys and public key certificates which are to be used > > > for

Re: [PATCH v7 04/11] capsule: authenticate: Add capsule public key in platform's dtb

2023-08-05 Thread Simon Glass
Hi Sughosh, On Sat, 5 Aug 2023 at 11:54, Sughosh Ganu wrote: > > hi Simon, > > On Sat, 5 Aug 2023 at 20:34, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > > > > The EFI capsule authentication logic in u-boot expects the public key > > > in

Re: [PATCH] Azure: Squash a number of jobs and re-order slightly

2023-08-05 Thread Simon Glass
On Sat, 5 Aug 2023 at 10:24, Tom Rini wrote: > > To reduce overall job time, move a number of smaller jobs together. > These should still be safely under 1 hour total time, but reducing the > overall number of jobs should help with the queue slightly. > > Signed-off-by: Tom Rini > --- > .azure-p

Re: [PATCH v7 09/11] sandbox: capsule: Generate capsule related files through binman

2023-08-05 Thread Simon Glass
Hi Sughosh, On Sat, 5 Aug 2023 at 12:01, Sughosh Ganu wrote: > > hi Simon, > > On Sat, 5 Aug 2023 at 20:34, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > > > > The EFI capsule files can now be generated as part of u-boot > > > build throug

Re: [PATCH v7 10/11] doc: Add documentation to highlight capsule generation related updates

2023-08-05 Thread Sughosh Ganu
hi Simon, On Sat, 5 Aug 2023 at 20:34, Simon Glass wrote: > > Hi Sughosh, > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > > The EFI capsules can now be generated as part of u-boot build, through > > Please check your patches for 'U-Boot' throughout. Okay > > > binman. Highlight thes

Re: [PATCH v7 07/11] btool: mkeficapsule: Add a bintool for EFI capsule generation

2023-08-05 Thread Sughosh Ganu
hi Simon, On Sat, 5 Aug 2023 at 20:34, Simon Glass wrote: > > Hi Sughosh, > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > > Add a bintool for generating EFI capsules. This calls the mkeficapsule > > tool which generates the capsules. > > > > Signed-off-by: Sughosh Ganu > > --- > > Ch

Re: [PATCH v7 09/11] sandbox: capsule: Generate capsule related files through binman

2023-08-05 Thread Sughosh Ganu
hi Simon, On Sat, 5 Aug 2023 at 20:34, Simon Glass wrote: > > Hi Sughosh, > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > > The EFI capsule files can now be generated as part of u-boot > > build through binman. Add capsule entry nodes in the u-boot.dtsi for > > the sandbox architectur

Re: [PATCH v7 11/11] sandbox: trace: Increase trace buffer size

2023-08-05 Thread Sughosh Ganu
hi Simon, On Sat, 5 Aug 2023 at 20:34, Simon Glass wrote: > > Hi Sughosh, > > On Sat, 5 Aug 2023 at 05:36, Sughosh Ganu wrote: > > > > When running the trace test on the sandbox platform, the current size > > of 16MiB is no longer large enough for capturing the entire trace > > history, and resu

Re: [PATCH v7 04/11] capsule: authenticate: Add capsule public key in platform's dtb

2023-08-05 Thread Sughosh Ganu
hi Simon, On Sat, 5 Aug 2023 at 20:34, Simon Glass wrote: > > Hi Sughosh, > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > > The EFI capsule authentication logic in u-boot expects the public key > > in the form of an EFI Signature List(ESL) to be provided as part of > > the platform's

Re: [PATCH v7 03/11] sandbox: capsule: Add keys and certificates needed for capsule update testing

2023-08-05 Thread Sughosh Ganu
hi Simon, On Sat, 5 Aug 2023 at 20:34, Simon Glass wrote: > > Hi Sughosh, > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > > Add the private keys and public key certificates which are to be used > > for capsule authentication while testing the EFI capsule update > > functionality. Ther

Re: [PATCH v7 08/11] binman: capsule: Add support for generating EFI capsules

2023-08-05 Thread Simon Glass
Hi Sughosh, On Sat, 5 Aug 2023 at 09:03, Simon Glass wrote: > > Hi Sughosh, > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > > Add support in binman for generating EFI capsules. The capsule > > parameters can be specified through the capsule binman entry. Also add > > test cases in bin

Re: [PATCH] net: phy: broadcom: add support for BCM54210E

2023-08-05 Thread Marek Vasut
On 8/5/23 11:34, Rafał Miłecki wrote: On 5.08.2023 05:38, Marek Vasut wrote: It's Broadcom PHY simply described as single-port RGMII 10/100/1000BASE-T PHY. It requires disabling delay skew and GTXCLK bits. Ported from Linux kernel commit 0fc9ae1076697 ("net: phy: broadcom: add support for BCM54

Re: [PATCH v5 4/4] arm: dts: k3-am64: Sync DT with Linux v6.5-rc1

2023-08-05 Thread Nishanth Menon
On 11:14-20230805, Roger Quadros wrote: > Sync all am642-evm/am642-sk related DT files > with Linux v6.5-rc1. > > - drop timer1 in favor of main_timer0 in am64-main.dtsi. > Need to delete clock & power domain properties of > main_timer1 in -r5.dts else won't boot. This

[PATCH] Azure: Squash a number of jobs and re-order slightly

2023-08-05 Thread Tom Rini
To reduce overall job time, move a number of smaller jobs together. These should still be safely under 1 hour total time, but reducing the overall number of jobs should help with the queue slightly. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 72 ++-

Re: [PATCH v7 10/11] doc: Add documentation to highlight capsule generation related updates

2023-08-05 Thread Simon Glass
Hi Sughosh, On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > The EFI capsules can now be generated as part of u-boot build, through Please check your patches for 'U-Boot' throughout. > binman. Highlight these changes in the documentation. > > Signed-off-by: Sughosh Ganu > --- > Changes sin

Re: [PATCH v7 07/11] btool: mkeficapsule: Add a bintool for EFI capsule generation

2023-08-05 Thread Simon Glass
Hi Sughosh, On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > Add a bintool for generating EFI capsules. This calls the mkeficapsule > tool which generates the capsules. > > Signed-off-by: Sughosh Ganu > --- > Changes since V6: > * Split the changes for mkeficapsule btool into a separate patc

Re: [PATCH v7 09/11] sandbox: capsule: Generate capsule related files through binman

2023-08-05 Thread Simon Glass
Hi Sughosh, On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > The EFI capsule files can now be generated as part of u-boot > build through binman. Add capsule entry nodes in the u-boot.dtsi for > the sandbox architecture for generating the capsules. These capsules > are then used for testing t

Re: [PATCH v7 08/11] binman: capsule: Add support for generating EFI capsules

2023-08-05 Thread Simon Glass
Hi Sughosh, On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > Add support in binman for generating EFI capsules. The capsule > parameters can be specified through the capsule binman entry. Also add > test cases in binman for testing capsule generation. > > Signed-off-by: Sughosh Ganu > --- >

Re: [PATCH v7 11/11] sandbox: trace: Increase trace buffer size

2023-08-05 Thread Simon Glass
Hi Sughosh, On Sat, 5 Aug 2023 at 05:36, Sughosh Ganu wrote: > > When running the trace test on the sandbox platform, the current size > of 16MiB is no longer large enough for capturing the entire trace > history, and results in truncation. Use a size of 32MiB for the trace > buffer on the sandbo

Re: [PATCH v7 04/11] capsule: authenticate: Add capsule public key in platform's dtb

2023-08-05 Thread Simon Glass
Hi Sughosh, On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > The EFI capsule authentication logic in u-boot expects the public key > in the form of an EFI Signature List(ESL) to be provided as part of > the platform's dtb. Currently, the embedding of the ESL file into the > dtb needs to be do

Re: [PATCH v7 06/11] sandbox: Build the mkeficapsule tool for the sandbox variants

2023-08-05 Thread Simon Glass
On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > Build the mkeficapsule tool for all the sandbox variants. This tool > will be used subsequently for testing capsule generation in binman. > > Signed-off-by: Sughosh Ganu > --- > Changes since V6: > * New patch which has been split up from the b

Re: [PATCH v7 03/11] sandbox: capsule: Add keys and certificates needed for capsule update testing

2023-08-05 Thread Simon Glass
Hi Sughosh, On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > Add the private keys and public key certificates which are to be used > for capsule authentication while testing the EFI capsule update > functionality. There are two pairs of private and public keys. The > SIGNER.{key,crt} pair wil

Re: [PATCH] pinctrl: Check pinconfig nodes pre-reloc status recursively

2023-08-05 Thread Jonas Karlman
Hi Massimo, On 2023-08-05 16:06, Massimo Pegorer wrote: > Hi Jonas, > > Il giorno sab 5 ago 2023 alle ore 13:11 Jonas Karlman ha > scritto: > >> Pinconfig nodes normally bind recursively with PINCTRL_FULL and >> PINCONF_RECURSIVE enabled. However, during U-Boot proper pre-relocation >> any node

[PATCH v2] net: phy: broadcom: add support for BCM54210E

2023-08-05 Thread Marek Vasut
It's Broadcom PHY simply described as single-port RGMII 10/100/1000BASE-T PHY. It requires disabling delay skew and GTXCLK bits. BCM54210E support ported from Linux kernel commit 0fc9ae1076697 ("net: phy: broadcom: add support for BCM54210E") AUX/SHD/bcm54xx_config_clock_delay update ported from L

Re: [PATCH] pinctrl: Check pinconfig nodes pre-reloc status recursively

2023-08-05 Thread Massimo Pegorer
Hi Jonas, Il giorno sab 5 ago 2023 alle ore 13:11 Jonas Karlman ha scritto: > Pinconfig nodes normally bind recursively with PINCTRL_FULL and > PINCONF_RECURSIVE enabled. However, during U-Boot proper pre-relocation > any node marked with e.g. bootph-all will not bind unless its parent is > also

[RFC] dm: core: Report bootph-pre-ram/sram node as pre-reloc after relocation

2023-08-05 Thread Jonas Karlman
Devices for nodes with e.g. bootph-pre-ram are initialized three times. 1. At SPL stage (always bind and probe only if used) 2. At U-Boot proper pre-reloc (always bind and probe) 3. At U-Boot proper normal (always bind and probe only if used) Change ofnode_pre_reloc to report a node with bootph-pr

[PULL] u-boot-usb/master

2023-08-05 Thread Marek Vasut
The following changes since commit 9787da0d32c2d58bae790a16ded0fe0c150c3280: Merge branch '2023-08-04-toradex-platform-updates' (2023-08-04 16:04:11 -0400) are available in the Git repository at: git://source.denx.de/u-boot-usb.git master for you to fetch changes up to 276c0c8e8a4543ce0b2c4

Re: [PATCH v2 3/7] power: regulator-uclass: perform regulator setup inside uclass

2023-08-05 Thread Jonas Karlman
Hi, On 2023-07-21 07:34, Svyatoslav Ryhel wrote: > чт, 20 лип. 2023 р. о 22:43 Simon Glass пише: >> >> Hi Svyatoslav, >> >> On Thu, 20 Jul 2023 at 06:38, Svyatoslav Ryhel wrote: >>> >>> Regulators initial setup was previously dependent on board call. >>> To move from this behaviour were introduc

[PATCH v4] rockchip: rk3568: Add EmbedFire Lubancat 2 support

2023-08-05 Thread Andy Yan
LubanCat2 is a rk3568 based SBC from EmbedFire. Specification: - Rockchip rk3568 - LPDDR4/4X 1/2/4/8 GB - TF scard slot - eMMC 8/32/64/128 GB - Gigabit ethernet x 2 - HDMI out - USB 2.0 Host x 1 - USB 2.0 Type-C OTG x 1 - USB 3.0 Host x 1 - Mini PCIE interface for WIFI/BT module - M.2 key for 2280

[PATCH v7 11/11] sandbox: trace: Increase trace buffer size

2023-08-05 Thread Sughosh Ganu
When running the trace test on the sandbox platform, the current size of 16MiB is no longer large enough for capturing the entire trace history, and results in truncation. Use a size of 32MiB for the trace buffer on the sandbox platform while running the trace test. Signed-off-by: Sughosh Ganu --

[PATCH v7 10/11] doc: Add documentation to highlight capsule generation related updates

2023-08-05 Thread Sughosh Ganu
The EFI capsules can now be generated as part of u-boot build, through binman. Highlight these changes in the documentation. Signed-off-by: Sughosh Ganu --- Changes since V6: None doc/develop/uefi/uefi.rst | 18 ++ 1 file changed, 18 insertions(+) diff --git a/doc/develop/uefi/

[PATCH v7 09/11] sandbox: capsule: Generate capsule related files through binman

2023-08-05 Thread Sughosh Ganu
The EFI capsule files can now be generated as part of u-boot build through binman. Add capsule entry nodes in the u-boot.dtsi for the sandbox architecture for generating the capsules. These capsules are then used for testing the EFI capsule update functionality on the sandbox platforms. Also add bi

[PATCH v7 08/11] binman: capsule: Add support for generating EFI capsules

2023-08-05 Thread Sughosh Ganu
Add support in binman for generating EFI capsules. The capsule parameters can be specified through the capsule binman entry. Also add test cases in binman for testing capsule generation. Signed-off-by: Sughosh Ganu --- Changes since V6: * Add macros for the GUID strings in sandbox_efi_capsule.h *

[PATCH v7 07/11] btool: mkeficapsule: Add a bintool for EFI capsule generation

2023-08-05 Thread Sughosh Ganu
Add a bintool for generating EFI capsules. This calls the mkeficapsule tool which generates the capsules. Signed-off-by: Sughosh Ganu --- Changes since V6: * Split the changes for mkeficapsule btool into a separate patch, as suggested by Simon Glass. * Use the word commandline consistently, as

[PATCH v7 06/11] sandbox: Build the mkeficapsule tool for the sandbox variants

2023-08-05 Thread Sughosh Ganu
Build the mkeficapsule tool for all the sandbox variants. This tool will be used subsequently for testing capsule generation in binman. Signed-off-by: Sughosh Ganu --- Changes since V6: * New patch which has been split up from the binman capsule entry support patch from earlier version, as sugg

[PATCH v7 05/11] doc: capsule: Document the new mechanism to embed ESL file into dtb

2023-08-05 Thread Sughosh Ganu
Update the document to specify how the EFI Signature List(ESL) file can be embedded into the platform's dtb as part of the u-boot build. Signed-off-by: Sughosh Ganu Reviewed-by: Simon Glass --- Changes since V6: None doc/develop/uefi/uefi.rst | 22 +- 1 file changed, 9 inse

[PATCH v7 04/11] capsule: authenticate: Add capsule public key in platform's dtb

2023-08-05 Thread Sughosh Ganu
The EFI capsule authentication logic in u-boot expects the public key in the form of an EFI Signature List(ESL) to be provided as part of the platform's dtb. Currently, the embedding of the ESL file into the dtb needs to be done manually. Add a signature node in the u-boot dtsi file and include th

[PATCH v7 03/11] sandbox: capsule: Add keys and certificates needed for capsule update testing

2023-08-05 Thread Sughosh Ganu
Add the private keys and public key certificates which are to be used for capsule authentication while testing the EFI capsule update functionality. There are two pairs of private and public keys. The SIGNER.{key,crt} pair will be used for signing capsules, whilst the SIGNER2.{key,crt} pair is to b

[PATCH v7 02/11] nuvoton: npcm845-evb: Add a newline at the end of file

2023-08-05 Thread Sughosh Ganu
Add a newline at the end of the dts, without which the build fails when including the u-boot.dtsi file. Signed-off-by: Sughosh Ganu Reviewed-by: Simon Glass Reviewed-by: Ilias Apalodimas --- Changes since V6: None arch/arm/dts/nuvoton-npcm845-evb.dts | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v7 01/11] binman: bintool: Build a tool from a list of commands

2023-08-05 Thread Sughosh Ganu
Add support to build a tool from source with a list of commands. This is useful when a tool can be built with multiple commands instead of a single command. Signed-off-by: Sughosh Ganu Reviewed-by: Simon Glass --- Changes since V6: None tools/binman/bintool.py | 19 +++ 1 file

[PATCH v7 00/11] Integrate EFI capsule tasks into u-boot's build flow

2023-08-05 Thread Sughosh Ganu
This patchset aims to bring two capsule related tasks under the u-boot build flow. One is the embedding of the public key into the platform's dtb. The public key is in the form of an EFI Signature List(ESL) file and is used for capsule authentication. This is being achieved by adding the signatu

Re: [PATCH 3/5] clk: rockchip: rk3568: Include UART clocks in SPL

2023-08-05 Thread Jonas Karlman
On 2023-08-04 12:05, Eugen Hristev wrote: > On 8/4/23 12:33, Jonas Karlman wrote: >> The clock driver for RK3568 does not include support for UART clocks in >> SPL. This result in the following message with high enough loglevel. >> >>ns16550_serial serial@fe66: pinctrl_select_state_full: >

[PATCH] pinctrl: Check pinconfig nodes pre-reloc status recursively

2023-08-05 Thread Jonas Karlman
Pinconfig nodes normally bind recursively with PINCTRL_FULL and PINCONF_RECURSIVE enabled. However, during U-Boot proper pre-relocation any node marked with e.g. bootph-all will not bind unless its parent is also marked for pre-reloc. group1 { pinconf1 { bootph-all; }; };

[PATCH] net: phy: motorcomm: Add support for YT8511 PHY

2023-08-05 Thread Nicolas Frattaroli
The YT8511 ethernet PHYs can be found on e.g. the SOQuartz or the Quartz64. Add rudimentary support for them. Signed-off-by: Nicolas Frattaroli --- drivers/net/phy/Kconfig | 2 +- drivers/net/phy/motorcomm.c | 88 + 2 files changed, 89 insertions(+), 1 de

Re: [PATCH] net: phy: broadcom: add support for BCM54210E

2023-08-05 Thread Rafał Miłecki
On 5.08.2023 05:38, Marek Vasut wrote: It's Broadcom PHY simply described as single-port RGMII 10/100/1000BASE-T PHY. It requires disabling delay skew and GTXCLK bits. Ported from Linux kernel commit 0fc9ae1076697 ("net: phy: broadcom: add support for BCM54210E") Signed-off-by: Marek Vasut ---

[PATCH v5 4/4] arm: dts: k3-am64: Sync DT with Linux v6.5-rc1

2023-08-05 Thread Roger Quadros
Sync all am642-evm/am642-sk related DT files with Linux v6.5-rc1. - drop timer1 in favor of main_timer0 in am64-main.dtsi. Need to delete clock & power domain properties of main_timer1 in -r5.dts else won't boot. This is because timer_init is done during rproc_start to start System Firmware, but w

[PATCH v5 3/4] doc: board: ti: am64: Add boot flow diagram

2023-08-05 Thread Roger Quadros
Add documenatation and boot flow diagram for AM64 EVM/SoC. Suggested-by: Nishanth Menon Signed-off-by: Roger Quadros Reviewed-by: Nishanth Menon Tested-by: Nishanth Menon #SK-AM64B --- doc/board/ti/am64x_evm.rst | 197 +++ doc/board/ti/img/boot_diagram_am64.svg | 1702 +++

[PATCH v5 2/4] Revert "ARM: dts: k3-am642-sk-u-boot: add PMIC node"

2023-08-05 Thread Roger Quadros
This reverts commit 28a4c3113445d4400639f357fae0def007a41093. This node should be in the board DT file and should come from upstream. Moreover, this PMIC is no present on all variants of am642-sk and will need a separate board DT file. Signed-off-by: Roger Quadros Reviewed-by: Nishanth Menon Te

[PATCH v5 1/4] board: ti: am64x: Recognize AM64-HSEVM

2023-08-05 Thread Roger Quadros
AM64-HSEVM is AM64-GPEVM with High Security Device. Gets rid of "Unidentified board claims AM64-HSEVM in eeprom header". Signed-off-by: Roger Quadros Acked-by: Andrew Davis Reviewed-by: Nishanth Menon Tested-by: Nishanth Menon #SK-AM64B --- board/ti/am64x/evm.c | 3 ++- 1 file changed, 2 ins

[PATCH v5 0/4] arm: dts: k3-am64: Sync DT with Linux

2023-08-05 Thread Roger Quadros
Hi, This series syncs AM64 DT files from Linux v6.5-rc1. Tested on AM642-EVM GP SR1.0 and AM642-SK-EVM HS-FS SR2.0. cheers, -roger Changelog: v5: -squash documenation change to correct patch. Update commit log. -add Nishanth's Reviewed/Tested by v4: -Add documentation for am642-evm and am642-