Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Miquel Raynal
Hi Marek, ma...@denx.de wrote on Wed, 2 Aug 2023 14:46:54 +0200: > Extend the driver core to perform lookup by both OF node and driver > bound to the node. Use this to look up specific device instances to > unbind from nodes in the unbind command. One example where this is > needed is USB periph

Re: [PATCH v6 9/9] sandbox: capsule: Generate capsule related files through binman

2023-08-04 Thread Sughosh Ganu
hi Simon, On Fri, 4 Aug 2023 at 08:32, Simon Glass wrote: > > Hi Sughosh, > > On Thu, 3 Aug 2023 at 05:18, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Wed, 2 Aug 2023 at 18:23, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Tue, 1 Aug 2023 at 11:41, Sughosh Ganu wrote: > > > >

Re: [PATCH] common: board_f: Move relocation address after framebuffer

2023-08-04 Thread Devarsh Thakkar
Hi Simon, Tom, Bin, Thanks for the quick feedback. On 04/08/23 04:58, Simon Glass wrote: > Hi Devarsh, > > On Thu, 3 Aug 2023 at 08:28, Devarsh Thakkar wrote: >> >> Hi Simon, >> >> On 03/08/23 19:32, Simon Glass wrote: >>> +Bin Meng >>> >>> Hi Devarsh, >>> >>> On Tue, 1 Aug 2023 at 08:04, Devar

Re: [PATCH v5 3/3] board: toradex: add verdin am62 support

2023-08-04 Thread Francesco Dolcini
On Fri, Aug 04, 2023 at 12:04:59PM +0530, Neha Malcom Francis wrote: > On 03/08/23 19:30, Marcel Ziswiler wrote: > > + combined-sysfw-cfg { > > + filename = "combined-sysfw-cfg.bin"; > > + ti-board-config { > > + board-cfg { > > + co

Re: [PATCH v5 3/3] board: toradex: add verdin am62 support

2023-08-04 Thread Neha Malcom Francis
Hi Francesco On 04/08/23 13:24, Francesco Dolcini wrote: On Fri, Aug 04, 2023 at 12:04:59PM +0530, Neha Malcom Francis wrote: On 03/08/23 19:30, Marcel Ziswiler wrote: + combined-sysfw-cfg { + filename = "combined-sysfw-cfg.bin"; + ti-board-config { +

Re: [PATCH v5 3/3] board: toradex: add verdin am62 support

2023-08-04 Thread Marcel Ziswiler
Hi Neha On Fri, 2023-08-04 at 13:35 +0530, Neha Malcom Francis wrote: > Hi Francesco > > On 04/08/23 13:24, Francesco Dolcini wrote: > > On Fri, Aug 04, 2023 at 12:04:59PM +0530, Neha Malcom Francis wrote: > > > On 03/08/23 19:30, Marcel Ziswiler wrote: > > > > +   combined-sysfw-cfg { > > >

Re: [PATCH v5 3/3] board: toradex: add verdin am62 support

2023-08-04 Thread Francesco Dolcini
On Fri, Aug 04, 2023 at 08:12:36AM +, Marcel Ziswiler wrote: > Hi Neha > > On Fri, 2023-08-04 at 13:35 +0530, Neha Malcom Francis wrote: > > Hi Francesco > > > > On 04/08/23 13:24, Francesco Dolcini wrote: > > > On Fri, Aug 04, 2023 at 12:04:59PM +0530, Neha Malcom Francis wrote: > > > > On 0

Re: [PATCH v5 3/3] board: toradex: add verdin am62 support

2023-08-04 Thread Marcel Ziswiler
On Fri, 2023-08-04 at 10:15 +0200, Francesco Dolcini wrote: > On Fri, Aug 04, 2023 at 08:12:36AM +, Marcel Ziswiler wrote: > > Hi Neha > > > > On Fri, 2023-08-04 at 13:35 +0530, Neha Malcom Francis wrote: > > > Hi Francesco > > > > > > On 04/08/23 13:24, Francesco Dolcini wrote: > > > > On Fr

Re: [PATCH v18 9/9] arm_ffa: efi: corstone1000: enable MM communication

2023-08-04 Thread Abdellatif El Khlifi
Hi Tom, > > Changelog: > > === > > > > v18: > > > > Ilias, Tom: > > > > * drop use of CONFIG_FFA_SHARED_MM_BUF_* > > Why? What was wrong before was what I commented on still being wrong in > 8/9, this part was fine. > I thought when we decided to bring back the #ifdefs the buffe

[PATCH 0/5] rockchip: Clock fixes for RK3568

2023-08-04 Thread Jonas Karlman
This series include fixes for minor clock related issues observed while working on other series. Patch 1-2 fixes real issues in the clock driver. Patch 3 change to include support for UART clock in SPL. Patcj 4 adds dummy support for GMAC speed clocks. Patch 5 set a common max-frequency value for

[PATCH 1/5] clk: rockchip: rk3568: Fix clk selection in rk3568_pwm_get_clk

2023-08-04 Thread Jonas Karlman
From: Damon Ding Fix use of wrong clk selection for CLK_PWM1 on RK3568. Fixes: 4a262feba3a5 ("rockchip: rk3568: add clock driver") Signed-off-by: Damon Ding Signed-off-by: Jonas Karlman --- drivers/clk/rockchip/clk_rk3568.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d

[PATCH 2/5] clk: rockchip: rk3568: Fix mask for clk_cpll_div_25m_div

2023-08-04 Thread Jonas Karlman
The field for clk_cpll_div_25m_div in CRU_CLKSEL_CON81 is 6 bits wide, not 5 bits wide as currently defined in CPLL_25M_DIV_MASK. Fix this and the assert so that CPLL_25M can be assigned a 25 MHz rate. Fixes: 4a262feba3a5 ("rockchip: rk3568: add clock driver") Signed-off-by: Jonas Karlman --- a

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

2023-08-04 Thread Jonas Karlman
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: uclass_get_device_by_phandle_id: err=-19 Fix this by including support for UART clocks in SPL.

[PATCH 4/5] clk: rockchip: rk3568: Add dummy support for GMAC speed clocks

2023-08-04 Thread Jonas Karlman
Pine64 Quartz64 boards DT reference SCLK_GMAC1_RGMII_SPEED in the assigned-clocks property of the gmac1 node. This result in a ENOENT error when driver core tries to set a parent for this clock. The clock speed in rgmii/rmii mode is changed using clk_set_rate of the tx_rx clock and not using clk_s

[PATCH 5/5] rockchip: rk356x-u-boot: Set max-frequency prop in sdhci node

2023-08-04 Thread Jonas Karlman
Most board device trees for RK356x set max-frequency = <2> in the sdhci node, some boards like Quartz64 do not. This result in an error message due to sdhci driver trying to set a clock rate of 0 instead of the max-frequency value. rockchip_sdhci_probe clk set rate fail! Fix this by set

Re: [PATCH v5 3/3] board: toradex: add verdin am62 support

2023-08-04 Thread Marcel Ziswiler
Hi Neha On Fri, 2023-08-04 at 12:04 +0530, Neha Malcom Francis wrote: > Hi Marcel > > Repeating my comments from v4, as I missed seeing this version. > > On 03/08/23 19:30, Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > > > This adds initial support for the Toradex Verdin AM62 Quad 1GB W

Re: [PATCH] arm: dts: mediatek: convert gmac link mode to 2500base-x for r3

2023-08-04 Thread 高惟杰
On Thu, 2023-08-03 at 18:52 +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > Ethernet on Bananapi-r3 is broken after > > commit bd70f3cea353 ("net: mediatek: add support for SGMII 1Gbps > auto-negotiation mode") > > because changes from this commit were not applied to bpi-r3 > device

Re: [PATCH 00/16] bootstd: Improve ChromiumOS support

2023-08-04 Thread Alper Nebi Yasak
(Note that I'm not objecting to merging the patchset as is, just detailing future work you/I might want to do for non-CrOS userspace support for this bootmeth.) On 2023-08-04 06:02 +03:00, Simon Glass wrote: > On Thu, 3 Aug 2023 at 15:31, Alper Nebi Yasak > wrote: >> I guess it boils down to: >>

Re: [PATCH v5 3/3] board: toradex: add verdin am62 support

2023-08-04 Thread Neha Malcom Francis
Hi Marcel On 04/08/23 15:13, Marcel Ziswiler wrote: Hi Neha On Fri, 2023-08-04 at 12:04 +0530, Neha Malcom Francis wrote: Hi Marcel Repeating my comments from v4, as I missed seeing this version. On 03/08/23 19:30, Marcel Ziswiler wrote: From: Marcel Ziswiler This adds initial support for

Re: [PATCH 1/5] clk: rockchip: rk3568: Fix clk selection in rk3568_pwm_get_clk

2023-08-04 Thread Kever Yang
On 2023/8/4 17:33, Jonas Karlman wrote: From: Damon Ding Fix use of wrong clk selection for CLK_PWM1 on RK3568. Fixes: 4a262feba3a5 ("rockchip: rk3568: add clock driver") Signed-off-by: Damon Ding Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang Thanks, - Kever --- drivers/clk/ro

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

2023-08-04 Thread Eugen Hristev
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: uclass_get_device_by_phandle_id: err=-19 Fix this by

[PATCH v6 1/4] toradex: tdx-cfg-block: add verdin am62 skus

2023-08-04 Thread Marcel Ziswiler
From: Marcel Ziswiler Add initial Verdin AM62 Quad 1GB WB IT prototype and launch configuration SKUs to ConfigBlock handling. 0069: Verdin AM62 Quad 1GB WB IT 0071: Verdin AM62 Solo 512MB 0072: Verdin AM62 Solo 512MB WB IT 0073: Verdin AM62 Dual 1GB ET 0074: Verdin AM62 Dual 1GB IT 0075: Verdin

[PATCH v6 2/4] arm: mach-k3: am62: fix 2nd mux option of clkout0

2023-08-04 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix second mux option of clkout0 which should really be DEV_BOARD0_CLKOUT0_IN_PARENT_HSDIV4_16FFT_MAIN_2_HSDIVOUT1_CLK10 rather than twice the same according to [1]. [1] https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/am62x/clocks.html#clocks-for-board0-device Signe

[PATCH v6 3/4] arm: dts: k3-binman: fix rcfg_yaml and pcfg_yaml labels

2023-08-04 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix rcfg_yaml to really point to rm-cfg.yaml and pcfg_yaml to really point to pm-cfg.yaml which likely is the intention. While at it also add labels for the remaining items like custmpk_pem, dkey_pem, bcfg_yaml_sysfw, scfg_yaml_sysfw, pcfg_yaml_sysfw and rcfg_yaml_sysfw. S

[PATCH v6 0/4] board: toradex: add verdin am62 support

2023-08-04 Thread Marcel Ziswiler
From: Marcel Ziswiler This series adds initial support for the Toradex Verdin AM62 SoM [1]. The first commit adds resp. PID4s to the ConfigBlock, the second one fixes an early clocking issue confirmed to be a weird bug in TI's scripting, the third one fixes some binman labeling issue. And last b

Re: [PATCH v6 3/4] arm: dts: k3-binman: fix rcfg_yaml and pcfg_yaml labels

2023-08-04 Thread Neha Malcom Francis
Hi Marcel On 04/08/23 15:38, Marcel Ziswiler wrote: From: Marcel Ziswiler Fix rcfg_yaml to really point to rm-cfg.yaml and pcfg_yaml to really point to pm-cfg.yaml which likely is the intention. While at it also add labels for the remaining items like custmpk_pem, dkey_pem, bcfg_yaml_sysfw, s

Re: [PATCH v6 4/4] board: toradex: add verdin am62 support

2023-08-04 Thread Neha Malcom Francis
Hi Marcel On 04/08/23 15:38, Marcel Ziswiler wrote: From: Marcel Ziswiler This adds initial support for the Toradex Verdin AM62 Quad 1GB WB IT V1.0A module and subsequent V1.1 launch configuration SKUs. They are strapped to boot from their on-module eMMC. U-Boot supports booting from the on-mo

Re: [PATCH v6 4/4] board: toradex: add verdin am62 support

2023-08-04 Thread Nishanth Menon
On 12:08-20230804, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > This adds initial support for the Toradex Verdin AM62 Quad 1GB WB IT > V1.0A module and subsequent V1.1 launch configuration SKUs. They are > strapped to boot from their on-module eMMC. U-Boot supports bootin

[PATCH v5 1/2] arm: mediatek: add mt8195 SOC support

2023-08-04 Thread Macpaul Lin
From: Fabien Parent The MediaTek MT8195 is a ARM64-based SoC with a quad-core Cortex-A73 and a quad-core Cortex-A53. It is including UART, SPI, USB3.0 device and hosts, SD and MMC cards, UFS, PWM, I2C, I2S, S/PDIF, and several LPDDR3 and LPDDR4 options. Signed-off-by: Fabien Parent Signed-off-b

[PATCH v5 2/2] board: mediatek: add mt8195 demo board

2023-08-04 Thread Macpaul Lin
From: Fabien Parent Add mt8195-demo board support. This demo purpose board uses MediaTek's MT8195 SoC. Signed-off-by: Fabien Parent Signed-off-by: Amjad Ouled-Ameur Signed-off-by: Macpaul Lin --- MAINTAINERS | 1 + arch/arm/dts/Makefile | 1 + arch/a

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

2023-08-04 Thread Nishanth Menon
On 19:06-20230803, Roger Quadros wrote: > 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 > --- > board/ti/am64x/evm.c | 3 ++- > 1 file changed, 2 insertions(

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

2023-08-04 Thread Nishanth Menon
On 19:06-20230803, Roger Quadros wrote: > 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-

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

2023-08-04 Thread Nishanth Menon
$subject: Add documentation for am64-evm On 19:06-20230803, Roger Quadros wrote: > Add boot flow diagram for AM64 SoC. and documentation for AM64-evm > > Suggested-by: Nishanth Menon > Signed-off-by: Roger Quadros Other than that: Reviewed-by: Nishanth Menon -- Regards, Nishanth Menon Key

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

2023-08-04 Thread Nishanth Menon
On 19:06-20230803, 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 is because > timer_init is d

Re: [PATCH] common: board_f: Move relocation address after framebuffer

2023-08-04 Thread Devarsh Thakkar
Hi, On 04/08/23 13:10, Devarsh Thakkar wrote: > Hi Simon, Tom, Bin, > > Thanks for the quick feedback. > > On 04/08/23 04:58, Simon Glass wrote: >> Hi Devarsh, >> >> On Thu, 3 Aug 2023 at 08:28, Devarsh Thakkar wrote: >>> >>> Hi Simon, >>> >>> On 03/08/23 19:32, Simon Glass wrote: +Bin Men

Re: [PATCH] efi_loader: Increase default variable store size to 32K

2023-08-04 Thread Alper Nebi Yasak
Hi Ilias, On 2023-07-28 14:15 +03:00, Ilias Apalodimas wrote: > On Sat, 8 Jul 2023 at 18:21, Alper Nebi Yasak > wrote: >> >> Debian's arm64 UEFI Secure Boot shim makes the EFI variable store run >> out of space while mirroring its MOK database to variables. This can be >> observed in QEMU like

Re: [PATCH v6 4/4] board: toradex: add verdin am62 support

2023-08-04 Thread Marcel Ziswiler
Hi Nishanth On Fri, 2023-08-04 at 05:50 -0500, Nishanth Menon wrote: > On 12:08-20230804, Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > > > This adds initial support for the Toradex Verdin AM62 Quad 1GB WB IT > > V1.0A module and subsequent V1.1 launch c

[PATCH v19 0/9] introduce Arm FF-A support

2023-08-04 Thread Abdellatif El Khlifi
Adding support for Arm FF-A v1.0 (Arm Firmware Framework for Armv8-A) [A]. FF-A specifies interfaces that enable a pair of software execution environments aka partitions to communicate with each other. A partition could be a VM in the Normal or Secure world, an application in S-EL0, or a Trusted

[PATCH v19 1/9] arm64: smccc: add support for SMCCCv1.2 x0-x17 registers

2023-08-04 Thread Abdellatif El Khlifi
add support for x0-x17 registers used by the SMC calls In SMCCC v1.2 [1] arguments are passed in registers x1-x17. Results are returned in x0-x17. This work is inspired from the following kernel commit: arm64: smccc: Add support for SMCCCv1.2 extended input/output registers [1]: https://docume

[PATCH v19 2/9] lib: uuid: introduce uuid_str_to_le_bin function

2023-08-04 Thread Abdellatif El Khlifi
convert UUID string to little endian binary data Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander --- Changelog: === v9: * add a full function prototype description in uuid.h v8: * use simple_strtoull() in uuid

[PATCH v19 3/9] lib: uuid: introduce testcase for uuid_str_to_le_bin

2023-08-04 Thread Abdellatif El Khlifi
provide a test case Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini --- Changelog: === v16: * MAINTAINERS: place the UUID part in an alphabetical order v11: * use ut_asserteq_mem() MAINTAINERS | 5 + test/lib/Makefile | 1 + test/lib/uuid

[PATCH v19 4/9] arm_ffa: introduce Arm FF-A support

2023-08-04 Thread Abdellatif El Khlifi
Add Arm FF-A support implementing Arm Firmware Framework for Armv8-A v1.0 The Firmware Framework for Arm A-profile processors (FF-A v1.0) [1] describes interfaces (ABIs) that standardize communication between the Secure World and Normal World leveraging TrustZone technology. This driver uses 64-b

[PATCH v19 5/9] arm_ffa: introduce sandbox FF-A support

2023-08-04 Thread Abdellatif El Khlifi
Emulate Secure World's FF-A ABIs and allow testing U-Boot FF-A support Features of the sandbox FF-A support: - Introduce an FF-A emulator - Introduce an FF-A device driver for FF-A comms with emulated Secure World - Provides test methods allowing to read the status of the inspected ABIs The sand

[PATCH v19 6/9] arm_ffa: introduce sandbox test cases for UCLASS_FFA

2023-08-04 Thread Abdellatif El Khlifi
Add functional test cases for the FF-A support These tests rely on the FF-A sandbox emulator and FF-A sandbox driver which help in inspecting the FF-A communication. Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander Cc: Heinrich

[PATCH v19 7/9] arm_ffa: introduce armffa command

2023-08-04 Thread Abdellatif El Khlifi
Provide armffa command showcasing the use of the U-Boot FF-A support armffa is a command showcasing how to invoke FF-A operations. This provides a guidance to the client developers on how to call the FF-A bus interfaces. The command also allows to gather secure partitions information and ping thes

[PATCH v19 8/9] arm_ffa: efi: introduce FF-A MM communication

2023-08-04 Thread Abdellatif El Khlifi
Add MM communication support using FF-A transport This feature allows accessing MM partitions services through EFI MM communication protocol. MM partitions such as StandAlonneMM or smm-gateway secure partitions which reside in secure world. An MM shared buffer and a door bell event are used to ex

[PATCH v19 9/9] arm_ffa: efi: corstone1000: enable MM communication

2023-08-04 Thread Abdellatif El Khlifi
turn on EFI MM communication On Corstone-1000 platform MM communication between u-boot and the secure world (Optee) is done using the FF-A bus. Changes made are generated using savedefconfig. Signed-off-by: Abdellatif El Khlifi Cc: Tom Rini Cc: Simon Glass Cc: Ilias Apalodimas Cc: Jens Wikla

Re: [RFC PATCH] env: Export environment config to OS devicetree

2023-08-04 Thread Stefano Babic
Hi Simon, On 04.08.23 05:42, Simon Glass wrote: Hi, On Thu, 3 Aug 2023 at 07:21, Stefano Babic wrote: Hi Frieder, On 03.08.23 14:51, Frieder Schrempf wrote: Hi Stefano, On 03.08.23 10:14, Stefano Babic wrote: Hi Frieder, On 01.08.23 16:46, Frieder Schrempf wrote: From: Frieder Schrempf

Re: [PATCH v5 2/2] board: mediatek: add mt8195 demo board

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 07:04:48PM +0800, Macpaul Lin wrote: > From: Fabien Parent > > Add mt8195-demo board support. > This demo purpose board uses MediaTek's MT8195 SoC. > > Signed-off-by: Fabien Parent > Signed-off-by: Amjad Ouled-Ameur > Signed-off-by: Macpaul Lin [snip] > diff --git a/b

Re: [PATCH] arm: dts: medaitek: convert gmac link mode to 2500base-x for mt7986a-bpi-r3-sd

2023-08-04 Thread Daniel Golle
On Fri, Aug 04, 2023 at 09:01:55AM +0800, Weijie Gao wrote: > The mt7531 of bpi-r3 is connected to mt7986 with 2.5Gbps HSGMII, not the > regular 1Gbps SGMII. > > Signed-off-by: Weijie Gao Reviewed-by: Daniel Golle > --- > This is a supplement to commit: > aef54ea1 (arm: dts: medaitek: convert

Re: [PATCH 1/1] video: avoid build failure on veyron board

2023-08-04 Thread Alvaro Fernando García
Hello Simon, El vie, 4 ago 2023 a la(s) 00:02, Simon Glass (s...@google.com) escribió: > Hi, > > On Thu, 3 Aug 2023 at 18:37, Alvaro Fernando García > wrote: > > > > 533ad9dc avoided an overflow but causes compilation > > failure on 32bit boards (eg. veyron speedy) > > > > this commit uses div_u

[PATCH] serial: stm32: extend TC timeout

2023-08-04 Thread Patrice Chotard
From: Valentin Caron Waiting 150us TC bit couldn't be enough. If TFA lets 16 bits in USART fifo, we has to wait 16 times 87 us (time of 10 bits (1 byte in most use cases) at a baud rate of 115200). Fixes: b4dbc5d65a67 ("serial: stm32: Wait TC bit before performing initialization") Signed-off-

Re: [PATCH v6 9/9] sandbox: capsule: Generate capsule related files through binman

2023-08-04 Thread Simon Glass
Hi Sughosh, On Fri, 4 Aug 2023 at 01:03, Sughosh Ganu wrote: > > hi Simon, > > On Fri, 4 Aug 2023 at 08:32, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Thu, 3 Aug 2023 at 05:18, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Wed, 2 Aug 2023 at 18:23, Simon Glass wrote: > > > >

Re: [PATCH v6 6/9] binman: capsule: Add support for generating EFI capsules

2023-08-04 Thread Simon Glass
Hi Sughosh, On Fri, 4 Aug 2023 at 00:44, Sughosh Ganu wrote: > > hi Simon, > > On Fri, 4 Aug 2023 at 08:32, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Thu, 3 Aug 2023 at 05:08, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Wed, 2 Aug 2023 at 18:23, Simon Glass wrote: > > > >

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Marek Vasut
On 8/4/23 09:00, Miquel Raynal wrote: Hi Marek, ma...@denx.de wrote on Wed, 2 Aug 2023 14:46:54 +0200: Extend the driver core to perform lookup by both OF node and driver bound to the node. Use this to look up specific device instances to unbind from nodes in the unbind command. One example w

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 04:42:13PM +0200, Marek Vasut wrote: > On 8/4/23 09:00, Miquel Raynal wrote: > > Hi Marek, > > > > ma...@denx.de wrote on Wed, 2 Aug 2023 14:46:54 +0200: > > > > > Extend the driver core to perform lookup by both OF node and driver > > > bound to the node. Use this to loo

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Marek Vasut
On 8/4/23 17:01, Tom Rini wrote: On Fri, Aug 04, 2023 at 04:42:13PM +0200, Marek Vasut wrote: On 8/4/23 09:00, Miquel Raynal wrote: Hi Marek, ma...@denx.de wrote on Wed, 2 Aug 2023 14:46:54 +0200: Extend the driver core to perform lookup by both OF node and driver bound to the node. Use thi

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Miquel Raynal
Hi, ma...@denx.de wrote on Fri, 4 Aug 2023 17:05:01 +0200: > On 8/4/23 17:01, Tom Rini wrote: > > On Fri, Aug 04, 2023 at 04:42:13PM +0200, Marek Vasut wrote: > >> On 8/4/23 09:00, Miquel Raynal wrote: > >>> Hi Marek, > >>> > >>> ma...@denx.de wrote on Wed, 2 Aug 2023 14:46:54 +0200: > >>>

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Marek Vasut
On 8/4/23 17:12, Miquel Raynal wrote: Hi, ma...@denx.de wrote on Fri, 4 Aug 2023 17:05:01 +0200: On 8/4/23 17:01, Tom Rini wrote: On Fri, Aug 04, 2023 at 04:42:13PM +0200, Marek Vasut wrote: On 8/4/23 09:00, Miquel Raynal wrote: Hi Marek, ma...@denx.de wrote on Wed, 2 Aug 2023 14:46:54 +0

[PATCH v5 1/3] usb: gadget: ether: Inline functions used once

2023-08-04 Thread Marek Vasut
These functions here are only ever called once since drop of non-DM networking code. Inline them. No functional change. Signed-off-by: Marek Vasut --- Cc: Kevin Hilman Cc: Lukasz Majewski Cc: Miquel Raynal Cc: Simon Glass --- V2: No change V3: No change V4: No change V5: No change --- driver

[PATCH v5 2/3] usb: gadget: ether: Move probe function above driver structure

2023-08-04 Thread Marek Vasut
Move the driver probe function above the driver structure, so it can be placed alongside other related functions, like upcoming remove function. No functional change. Signed-off-by: Marek Vasut --- Cc: Kevin Hilman Cc: Lukasz Majewski Cc: Miquel Raynal Cc: Simon Glass --- V2: No change V3: No

[PATCH v5 3/3] usb: gadget: ether: Handle gadget driver registration in probe and remove

2023-08-04 Thread Marek Vasut
Move the ethernet gadget driver registration and removal from ethernet bind and unbind callbacks into driver DM probe and remove callbacks. This way, when the driver is bound, which is triggered deliberately using 'bind' command, the USB ethernet gadget driver is instantiated and bound to the match

Re: [PATCH] clk: stm32mp1: remove error for disabled clock in stm32mp1_clk_get_parent

2023-08-04 Thread Patrice CHOTARD
On 6/23/23 15:05, Patrick Delaunay wrote: > To disabled a clock in clock tree initialization for a mux of STM32MP15, > the selected clock source index is set with the latest possible index for > the number of bit used. Today this valid configuration cause a error > in U-Boot messages, for exampl

[PATCH] cmd: cyclic: Remove duplicate command name in help text

2023-08-04 Thread Alexander Dahl
Function 'cmd_usage()' already prints one command in usage before printing out the help text given to the U_BOOT_CMD_WITH_SUBCMDS macro. Wrong previous output: Usage: cyclic cyclic demo - register cyclic demo function cyclic list - list cyclic functions Signed-off-by: Alexander Dah

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Miquel Raynal
Hi Marek, ma...@denx.de wrote on Fri, 4 Aug 2023 17:40:07 +0200: > On 8/4/23 17:12, Miquel Raynal wrote: > > Hi, > > > > ma...@denx.de wrote on Fri, 4 Aug 2023 17:05:01 +0200: > > > >> On 8/4/23 17:01, Tom Rini wrote: > >>> On Fri, Aug 04, 2023 at 04:42:13PM +0200, Marek Vasut wrote: > >>

Re: [PATCH] ARM: dts: stm32mp: alignment with v6.4

2023-08-04 Thread Patrice CHOTARD
On 7/10/23 10:38, Patrick Delaunay wrote: > Device tree alignment with Linux kernel v6.4. > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/dts/stm32mp13-pinctrl.dtsi | 129 > arch/arm/dts/stm32mp131.dtsi| 99 - > arch/arm/dts/st

Re: [PATCH 1/2] ARM: dts: sm32mp15: remove shmem for scmi-optee

2023-08-04 Thread Patrice CHOTARD
On 7/10/23 10:44, Patrick Delaunay wrote: > Since OP-TEE commit 89ba3422ee80 ("plat-stm32mp1: scmi_server: default > use OP-TEE shared memory"), integrated in OP-TEE 3.22.0-rc1 > the default configuration for STM32MP15x SoCs changes, > CFG_STM32MP1_SCMI_SHM_SYSRAM is disabled by default and the

Re: [PATCH 2/2] ARM: dts: sm32mp13: remove shmem for scmi-optee

2023-08-04 Thread Patrice CHOTARD
On 7/10/23 10:44, Patrick Delaunay wrote: > CFG_STM32MP1_SCMI_SHM_SYSRAM will be disabled by default for STM32MP13x > SoCs in next OP-TEE version and the OP-TEE SMCI server uses the OP-TEE > native shared memory registered by clients. > > To be compatible by default with this configuration this

Re: [PATCH v2] ARM: dts: stm32: Switch DWMAC RMII clock to MCO2 on DHCOM

2023-08-04 Thread Patrice CHOTARD
On 7/27/23 01:58, Marek Vasut wrote: > The DHCOM SoM has two options for supplying ETHRX clock to the DWMAC > block and PHY. Either (1) ETHCK_K generates 50 MHz clock on ETH_CLK > pad for the PHY and the same 50 MHz clock are fed back to ETHRX via > internal eth_clk_fb clock connection OR (2) ET

[PATCH] cmd: Enable BIND by default if we have USB_ETHER

2023-08-04 Thread Tom Rini
The nature of the network stack means that if we are going to use the gadget mode USB network driver there's no easy path to implicitly bind/unbind the driver. Enable the "bind" command by default here so that we can bind/unbind this as needed. Signed-off-by: Tom Rini --- Cc: Marek Vasut Cc: Miq

Re: [PATCH v5 1/3] usb: gadget: ether: Inline functions used once

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 05:41:09PM +0200, Marek Vasut wrote: > These functions here are only ever called once since drop of non-DM > networking code. Inline them. No functional change. > > Signed-off-by: Marek Vasut Tested-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH v5 2/3] usb: gadget: ether: Move probe function above driver structure

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 05:41:10PM +0200, Marek Vasut wrote: > Move the driver probe function above the driver structure, so it > can be placed alongside other related functions, like upcoming > remove function. No functional change. > > Signed-off-by: Marek Vasut Tested-by: Tom Rini -- Tom

Re: [PATCH v5 3/3] usb: gadget: ether: Handle gadget driver registration in probe and remove

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 05:41:11PM +0200, Marek Vasut wrote: > Move the ethernet gadget driver registration and removal from ethernet > bind and unbind callbacks into driver DM probe and remove callbacks. > This way, when the driver is bound, which is triggered deliberately > using 'bind' command,

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 06:00:12PM +0200, Miquel Raynal wrote: > Hi Marek, > > ma...@denx.de wrote on Fri, 4 Aug 2023 17:40:07 +0200: > > > On 8/4/23 17:12, Miquel Raynal wrote: > > > Hi, > > > > > > ma...@denx.de wrote on Fri, 4 Aug 2023 17:05:01 +0200: > > > > > >> On 8/4/23 17:01, Tom Rini

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 06:00:12PM +0200, Miquel Raynal wrote: > Hi Marek, > > ma...@denx.de wrote on Fri, 4 Aug 2023 17:40:07 +0200: > > > On 8/4/23 17:12, Miquel Raynal wrote: > > > Hi, > > > > > > ma...@denx.de wrote on Fri, 4 Aug 2023 17:05:01 +0200: > > > > > >> On 8/4/23 17:01, Tom Rini

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Miquel Raynal
Hi Tom, > > > >>> Well, what's needed / is it possible to get to the point where we > > > >>> don't > > > >>> _need_ to call bind/unbind for each of these cases? Is there something > > > >>> we're supposed to be setting in the DT that we aren't? > > > >> > > > >> You do need to unbind the eth

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Miquel Raynal
Hi Tom, > > > > Cannot find a device with path /ocp/usb@4740/usb@47401000 > > > > => unbind /ocp/usb@4740/usb@47401000 > > > > => dm tree > > > > misc 0 [ + ] ti-musb-wrapper | |-- > > > > usb@4740 > > > > usb 0 [

Re: [PATCH] cmd: Enable BIND by default if we have USB_ETHER

2023-08-04 Thread Miquel Raynal
Hi Tom, tr...@konsulko.com wrote on Fri, 4 Aug 2023 12:06:21 -0400: > The nature of the network stack means that if we are going to use the > gadget mode USB network driver there's no easy path to implicitly > bind/unbind the driver. Enable the "bind" command by default here so > that we can bin

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Marek Vasut
On 8/4/23 19:01, Miquel Raynal wrote: Hi Tom, Well, what's needed / is it possible to get to the point where we don't _need_ to call bind/unbind for each of these cases? Is there something we're supposed to be setting in the DT that we aren't? You do need to unbind the ethernet before using f

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Marek Vasut
On 8/4/23 19:04, Miquel Raynal wrote: Hi Tom, Cannot find a device with path /ocp/usb@4740/usb@47401000 => unbind /ocp/usb@4740/usb@47401000 => dm tree misc 0 [ + ] ti-musb-wrapper | |-- usb@4740 usb 0 [ ] ti-musb-host | | `-

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 07:01:46PM +0200, Miquel Raynal wrote: > Hi Tom, > > > > > >>> Well, what's needed / is it possible to get to the point where we > > > > >>> don't > > > > >>> _need_ to call bind/unbind for each of these cases? Is there > > > > >>> something > > > > >>> we're supposed to

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 07:04:31PM +0200, Miquel Raynal wrote: > Hi Tom, > > > > > > Cannot find a device with path /ocp/usb@4740/usb@47401000 > > > > > => unbind /ocp/usb@4740/usb@47401000 > > > > > => dm tree > > > > > misc 0 [ + ] ti-musb-wrapper

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Miquel Raynal
Hi Marek, ma...@denx.de wrote on Fri, 4 Aug 2023 17:40:07 +0200: > On 8/4/23 17:12, Miquel Raynal wrote: > > Hi, > > > > ma...@denx.de wrote on Fri, 4 Aug 2023 17:05:01 +0200: > > > >> On 8/4/23 17:01, Tom Rini wrote: > >>> On Fri, Aug 04, 2023 at 04:42:13PM +0200, Marek Vasut wrote: > >>

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Marek Vasut
On 8/4/23 19:24, Miquel Raynal wrote: Hi, exit not allowed from main input shell. => unbind /ocp/usb@4740/usb@47401000 usb_ether Does => unbind ethernet 0 work ? If so, 1/4 in this series can be skipped altogether. You likely won't even need the rebinding of ti-musb-peripheral

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Miquel Raynal
Hi Marek, ma...@denx.de wrote on Fri, 4 Aug 2023 19:31:50 +0200: > On 8/4/23 19:24, Miquel Raynal wrote: > > Hi, > > >>> exit not allowed from main input shell. > >>> => unbind /ocp/usb@4740/usb@47401000 usb_ether > >> > >> Does > >> => unbind ethernet 0

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Marek Vasut
On 8/4/23 19:46, Miquel Raynal wrote: Hi Marek, ma...@denx.de wrote on Fri, 4 Aug 2023 19:31:50 +0200: On 8/4/23 19:24, Miquel Raynal wrote: Hi, exit not allowed from main input shell. => unbind /ocp/usb@4740/usb@47401000 usb_ether Does => unbind ethernet 0 work ? If so, 1/

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Miquel Raynal
Hi Tom, tr...@konsulko.com wrote on Fri, 4 Aug 2023 13:20:29 -0400: > On Fri, Aug 04, 2023 at 07:01:46PM +0200, Miquel Raynal wrote: > > Hi Tom, > > > > > > > >>> Well, what's needed / is it possible to get to the point where we > > > > > >>> don't > > > > > >>> _need_ to call bind/unbind for

Re: [PATCH v9 4/6] bootm: Support boot measurement

2023-08-04 Thread Sean Edmond
On 2023-03-08 1:25 p.m., Eddie James wrote: Add a configuration option to measure the boot through the bootm function. Add the measurement state to the booti and bootz paths as well. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- Changes since v8: - Added a configuration option to s

Re: [PATCH v6 1/4] toradex: tdx-cfg-block: add verdin am62 skus

2023-08-04 Thread Nishanth Menon
On 12:08-20230804, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Add initial Verdin AM62 Quad 1GB WB IT prototype and launch > configuration SKUs to ConfigBlock handling. > > 0069: Verdin AM62 Quad 1GB WB IT > 0071: Verdin AM62 Solo 512MB > 0072: Verdin AM62 Solo 51

Re: [PATCH v6 2/4] arm: mach-k3: am62: fix 2nd mux option of clkout0

2023-08-04 Thread Nishanth Menon
On 12:08-20230804, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Fix second mux option of clkout0 which should really be > DEV_BOARD0_CLKOUT0_IN_PARENT_HSDIV4_16FFT_MAIN_2_HSDIVOUT1_CLK10 > rather than twice the same according to [1]. > > [1] > https://software-dl

Re: [PATCH v6 3/4] arm: dts: k3-binman: fix rcfg_yaml and pcfg_yaml labels

2023-08-04 Thread Nishanth Menon
On 12:08-20230804, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Fix rcfg_yaml to really point to rm-cfg.yaml and pcfg_yaml to really > point to pm-cfg.yaml which likely is the intention. > > While at it also add labels for the remaining items like custmpk_pem, > dkey

Re: [PATCH] common: board_f: Move relocation address after framebuffer

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 01:10:10PM +0530, Devarsh Thakkar wrote: > Hi Simon, Tom, Bin, > > Thanks for the quick feedback. > > On 04/08/23 04:58, Simon Glass wrote: > > Hi Devarsh, > > > > On Thu, 3 Aug 2023 at 08:28, Devarsh Thakkar wrote: > >> > >> Hi Simon, > >> > >> On 03/08/23 19:32, Simon

Re: [PATCH v6 4/4] board: toradex: add verdin am62 support

2023-08-04 Thread Nishanth Menon
On 12:08-20230804, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > This adds initial support for the Toradex Verdin AM62 Quad 1GB WB IT > V1.0A module and subsequent V1.1 launch configuration SKUs. They are > strapped to boot from their on-module eMMC. U-Boot supports bootin

Re: [PATCH v6 4/4] board: toradex: add verdin am62 support

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 01:20:03PM -0500, Nishanth Menon wrote: > On 12:08-20230804, Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > > > This adds initial support for the Toradex Verdin AM62 Quad 1GB WB IT > > V1.0A module and subsequent V1.1 launch configuration

Re: [PATCH v19 8/9] arm_ffa: efi: introduce FF-A MM communication

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 02:33:44PM +0100, Abdellatif El Khlifi wrote: > Add MM communication support using FF-A transport > > This feature allows accessing MM partitions services through > EFI MM communication protocol. MM partitions such as StandAlonneMM > or smm-gateway secure partitions which

Re: [PATCH v19 0/9] introduce Arm FF-A support

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 02:33:36PM +0100, Abdellatif El Khlifi wrote: > Adding support for Arm FF-A v1.0 (Arm Firmware Framework for Armv8-A) [A]. > > FF-A specifies interfaces that enable a pair of software execution > environments aka partitions to > communicate with each other. A partition co

Re: [PATCH v6 4/4] board: toradex: add verdin am62 support

2023-08-04 Thread Nishanth Menon
On 14:35-20230804, Tom Rini wrote: [..] > > > +Output: > > > + > > > +.. code-block:: bash > [snip] > > I think you missed adding white space here. > > > > It renders as this: > > https://usercontent.irccloud-cdn.com/file/625Dsdcq/image.p

Re: [PATCH v6 4/4] board: toradex: add verdin am62 support

2023-08-04 Thread Marcel Ziswiler
On August 4, 2023 8:43:13 PM GMT+02:00, Nishanth Menon wrote: >On 14:35-20230804, Tom Rini wrote: >[..] >> > > +Output: >> > > + >> > > +.. code-block:: bash >> [snip] >> > I think you missed adding white space here. >> > &

Re: [PATCH v4 1/4] cmd: bind: Add unbind command with driver filter

2023-08-04 Thread Tom Rini
On Fri, Aug 04, 2023 at 08:01:56PM +0200, Miquel Raynal wrote: > Hi Tom, > > tr...@konsulko.com wrote on Fri, 4 Aug 2023 13:20:29 -0400: > > > On Fri, Aug 04, 2023 at 07:01:46PM +0200, Miquel Raynal wrote: > > > Hi Tom, > > > > > > > > > >>> Well, what's needed / is it possible to get to the p

[PATCH] usb: xhci: pet watchdog during transfers

2023-08-04 Thread seanedmond
From: Godfrey Mwangi On some platforms with low USB throughput, tranfers of huge files take a long time and watchdog timer can expire resulting in hardware reset. Avoid this by petting the watchdog as long as we have pending transfers. Signed-off-by: Godfrey Mwangi --- drivers/usb/host/xhci-ri

  1   2   >