Re: [PATCH] usb: musb-new: sunxi: remove unused define

2023-06-07 Thread Marek Vasut
On 6/8/23 01:16, Sam Edwards wrote: Signed-off-by: Sam Edwards --- drivers/usb/musb-new/sunxi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/musb-new/sunxi.c b/drivers/usb/musb-new/sunxi.c index 2b954601a0..85d815ad75 100644 --- a/drivers/usb/musb-new/sunxi.c +++

Re: [PATCH v6 0/3] Add StarFive JH7110 PCIe drvier support

2023-06-07 Thread Rick Chen
Hi Minda > From: Minda Chen > Sent: Thursday, June 01, 2023 9:07 AM > To: Leo Yu-Chi Liang(梁育齊) ; Rick Jian-Zhi Chen(陳建志) > ; Simon Glass ; Stefan Roese > ; Andrew Scull ; Pali Rohár > ; Mark Kettenis > Cc: u-boot@lists.denx.de; Mason Huo ; Leyfoon Tan > ; Kevin Xie > Subject: Re: [PATCH

[PATCH] test: dm: restore /firmware nodes after testing

2023-06-07 Thread AKASHI Takahiro
dm_test_restore() is called after dm unit test is run. But this function does not scan any nodes under /firmware since it calls dm_scan_fdt(). This causes an issue. For instance, scmi_sandbox_agent device will disappear after running 'ut dm scmi_sandbox_agent'. So call dm_extended_scan()

Pull request: u-boot-sunxi/master for 2023.07

2023-06-07 Thread Andre Przywara
board and the new LCTech Pi. Thanks, Andre The following changes since commit 0a8a4b86422650d6955a2382796089735453902d: Merge tag 'u-boot-amlogic-20230607' of https://source.denx.de/u-boot/custodians/u-boot-amlogic (2023-06-07 12:17:06 -0400) are available in the Git

[PATCH v3 08/10] arm64: dts: broadcom: bcmbca: Add spi controller node

2023-06-07 Thread William Zhang
Add support for HSSPI controller in ARMv8 chip dts files. Port from linux patch: Link: https://lore.kernel.org/r/20230207065826.285013-5-william.zh...@broadcom.com Signed-off-by: William Zhang --- Changes in v3: None Changes in v2: None arch/arm/dts/bcm4908.dtsi | 17 +

[PATCH v3 07/10] ARM: dts: broadcom: bcmbca: Add spi controller node

2023-06-07 Thread William Zhang
Add support for HSSPI controller in ARMv7 chip dts files. Port from linux patch: Link: https://lore.kernel.org/r/20230207065826.285013-4-william.zh...@broadcom.com Signed-off-by: William Zhang --- Changes in v3: None Changes in v2: None arch/arm/dts/bcm47622.dtsi | 18 ++

[PATCH v3 09/10] broadcom: bcmbca: Enable SPI drivers by default

2023-06-07 Thread William Zhang
SPI controller is always presented in BCMBCA platform SoCs so enable the controller driver and SPI core by default. Signed-off-by: William Zhang --- Changes in v3: - Move BCMBCA_HSSPI config enabling and its dependent config from new BCMBCA driver patch to this more relevant patch - Combine

[PATCH v3 10/10] MAINTAINERS: Add Broadcom Broadband SoC HS SPI drivers

2023-06-07 Thread William Zhang
Add entry for Broadcom Broadband SoC HS SPI drivers Signed-off-by: William Zhang --- Changes in v3: None Changes in v2: - Add Álvaro Fernández Rojas as another maintainer MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH v3 05/10] spi: bcmbca-hsspi: Add driver for newer HSSPI controller

2023-06-07 Thread William Zhang
The newer BCMBCA SoCs such as BCM6756, BCM4912 and BCM6855 include an updated SPI controller that add the capability to allow the driver to control chip select explicitly. Driver can control and keep cs low between the transfers natively. Hence the dummy cs workaround or prepend mode found in the

[PATCH v3 06/10] dt-bindings: spi: Add bcm63xx-hsspi controller support

2023-06-07 Thread William Zhang
Bring the device tree binding document from Linux to u-boot Port from linux patches: Link: https://lore.kernel.org/r/20230207065826.285013-2-william.zh...@broadcom.com Link: https://lore.kernel.org/r/20230207065826.285013-3-william.zh...@broadcom.com Signed-off-by: William Zhang --- Changes

[PATCH v3 04/10] spi: bcm63xx-hsspi: Add prepend mode support

2023-06-07 Thread William Zhang
Due to the controller limitation to keep the chip select low during the bus idle time between the transfer, a dummy cs workaround was used when this driver was first upstreamed to the u-boot based on linux kernel driver. It basically picks the dummy cs as !actual_cs so typically dummy cs is 1 when

[PATCH v3 03/10] spi: bcm63xx-hsspi: Add new compatible string support

2023-06-07 Thread William Zhang
New compatible string brcm,bcmbca-hsspi-v1.0 is introduced based on dts document brcm,bcm63xx-hsspi.yaml. Add it to the driver to support this new binding. Port from linux patch: Link: https://lore.kernel.org/r/20230207065826.285013-6-william.zh...@broadcom.com Signed-off-by: William Zhang

[PATCH v3 02/10] spi: bcm63xx-hsspi: Fix multi-bit mode setting

2023-06-07 Thread William Zhang
Currently the driver always sets the controller to dual data bit mode for both tx and rx data in the profile mode control register even for single data bit transfer. Luckily the opcode is set correctly according to SPI transfer data bit width so it does not actually cause issues. This change

[PATCH v3 01/10] spi: bcm63xx-hsspi: Make driver depend on BCMBCA arch

2023-06-07 Thread William Zhang
ARCH_BCMBCA was introduced to cover individual Broadcom broadband SoC for common features and IP blocks. Use this config instead of each chip config as the Kconfig dependency for Broadcom HSSPI driver. Signed-off-by: William Zhang --- Changes in v3: None Changes in v2: None

[PATCH v3 00/10] spi: bcm63xx-hsspi: driver and doc updates

2023-06-07 Thread William Zhang
This patch series is the u-boot port from the recently accepted kernel Broadcom HSSPI driver patch series here [1]. It includes the accumulative updates and fixes for the driver from Broadcom. It also added a new driver for the updated SPI controller found in the new BCMBCA SoC. The device tree

Re: [PATCH 1/3] usb: musb-new: sunxi: do not attempt to access NULL SRAMC

2023-06-07 Thread Sam Edwards
Hey Andre, On 6/7/23 04:45, Andre Przywara wrote: "syscon" really just means "a bunch of gates where AW didn't know where else to put them". The good ol' "kitchen sink" register block, eh? Its lack of clear, definite purpose is even reflected in the name, because when you think about it,

[PATCH 2/2] usb: musb-new: sunxi: clarify the purpose of SRAM initialization

2023-06-07 Thread Sam Edwards
This is largely a cosmetic change, with one functional distinction: We are now only setting BIT(0), and no longer clearing BIT(1). The new comments and function name are not from any official source, but are updated to mirror how the Linux kernel sources treat this mystery magic bit. If we wanted

[PATCH 1/2] usb: musb-new: sunxi: only perform SRAM initialization when necessary

2023-06-07 Thread Sam Edwards
Only the older (ca. A10, A20) sunxis need this poke for the MUSB to function. Mimic the Linux kernel and add a `has_sram` flag to the config structure that is only set for the specific compatibles that require this initialization. Signed-off-by: Sam Edwards --- drivers/usb/musb-new/sunxi.c | 7

[PATCH 0/2] sunxi, usb: Clean up SRAM initialization code

2023-06-07 Thread Sam Edwards
Hi list, This pair of patches is a byproduct of discussion on my earlier patchset (Patchwork series #357953), which had simply disabled this initialization where SUNXI_SRAMC_BASE was set to null. It is true that this initialization is not needed on newer devices, but not because the SRAMC (now

[PATCH] usb: musb-new: sunxi: remove unused define

2023-06-07 Thread Sam Edwards
Signed-off-by: Sam Edwards --- drivers/usb/musb-new/sunxi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/musb-new/sunxi.c b/drivers/usb/musb-new/sunxi.c index 2b954601a0..85d815ad75 100644 --- a/drivers/usb/musb-new/sunxi.c +++ b/drivers/usb/musb-new/sunxi.c @@ -81,8 +81,6 @@

Re: [PATCH] sunxi: Fix typo in include guard

2023-06-07 Thread Andre Przywara
On Fri, 12 May 2023 15:22:14 -0600 Sam Edwards wrote: > Signed-off-by: Sam Edwards Applied to sunxi/master. Thanks, Andre > --- > arch/arm/include/asm/arch-sunxi/pmic_bus.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/include/asm/arch-sunxi/pmic_bus.h

Re: [PATCH] cmd: usb: Prevent reset in usb tree/info command

2023-06-07 Thread Marek Vasut
On 6/5/23 17:20, Xavier Drudis Ferran wrote: Add a check to avoid dommed (by null pointer dereference) recursive call, not only for UCLASS_BLK. When booting my Rock Pi 4B+ with a USB mass storage stick plugged into one of the USB 2 ports (EHCI), when it is plugged before power on, when issuing

Re: [PATCH v7 0/2] arm: dts: rockchip: rk3399: usb: ehci: Fix EHCI probe in rk3399 to access peripherals by USB 2

2023-06-07 Thread Marek Vasut
On 6/5/23 17:04, Xavier Drudis Ferran wrote: EHCI probing in Rock pi 4 currently fails. Add a clock driver for usb2phy so that probing EHCI does not fail when missing one of the clocks in the bundle for usb_host0_ehci, since usb2phy is UCLASS_PHY but not UCLASS_CLK. Xavier Drudis Ferran (2):

Re: [RESEND PATCH] usb: musb-new: sunxi: fix error check

2023-06-07 Thread Marek Vasut
On 6/5/23 19:19, Sam Edwards wrote: The `musb_register` function returns some ERR_PTR(...) on failure, not NULL, so update the check here appropriately. Applied to usb/master, thanks .

Re: [PATCH v2 0/9] spi: bcm63xx-hsspi: driver and doc updates

2023-06-07 Thread William Zhang
Hi Tom, On 06/07/2023 01:05 PM, Tom Rini wrote: On Tue, Jun 06, 2023 at 01:19:47PM -0700, William Zhang wrote: Hi Jagan, On 06/02/2023 11:56 AM, William Zhang wrote: Hi Jagan, On 06/01/2023 11:01 PM, Jagan Teki wrote: On Wed, May 3, 2023 at 12:29 AM William Zhang wrote: This patch

Re: [lwip-devel] [RFC PATCH 0/5] LWIP stack integration

2023-06-07 Thread Tom Rini
On Wed, May 24, 2023 at 10:18:13PM +0200, Simon Goldschmidt wrote: > Hi Maxim, Tom, > > On 24.05.2023 16:05, Maxim Uvarov wrote: > > On Tue, 23 May 2023 at 03:23, Tom Rini wrote: > > > > > On Mon, May 22, 2023 at 12:40:49PM -0400, Maxim Uvarov wrote: > > > > On Mon, 22 May 2023 at 10:20, Tom

Re: [PATCH v2 0/9] spi: bcm63xx-hsspi: driver and doc updates

2023-06-07 Thread Tom Rini
On Tue, Jun 06, 2023 at 01:19:47PM -0700, William Zhang wrote: > Hi Jagan, > > On 06/02/2023 11:56 AM, William Zhang wrote: > > Hi Jagan, > > > > On 06/01/2023 11:01 PM, Jagan Teki wrote: > > > On Wed, May 3, 2023 at 12:29 AM William Zhang > > > wrote: > > > > > > > > This patch series is the

Re: [PATCH v5 2/2] serial: zynqmp: Fetch baudrate from dtb and update

2023-06-07 Thread Tom Rini
On Thu, May 25, 2023 at 09:32:59AM +0530, Venkatesh Yadav Abbarapu wrote: > From: Algapally Santosh Sagar > > The baudrate configured in .config is taken by default by serial. If > change of baudrate is required then the .config needs to changed and > u-boot recompilation is required or the

Re: [gitdm][PATCH 1/1] Convert to Python 3

2023-06-07 Thread Tom Rini
On Wed, Jun 07, 2023 at 07:57:54AM +0200, Heinrich Schuchardt wrote: > This is the result of running 2to3 and manually converting the comparison > functions to lambda expressions. > > Signed-off-by: Heinrich Schuchardt > --- > ConfigFile.py | 4 +- > csvdump.py| 4 +- > database.py |

Re: [PATCH] common: spl: Warn about overflow of SRAM stack

2023-06-07 Thread Tom Rini
On Wed, Jun 07, 2023 at 09:58:41AM +0530, Vignesh Raghavendra wrote: > If early stack usage is exactly same as SIZE_LIMIT_PROVIDE_STACK, then > its most likely to have overflowed beyond this limit and corrupted any > regions beyond stack. Warn about this to the user. > > Signed-off-by: Vignesh

Re: [GIT PULL] Please pull u-boot-amlogic-20230607

2023-06-07 Thread Tom Rini
ource.denx.de/u-boot/custodians/u-boot-amlogic.git > tags/u-boot-amlogic-20230607 > > for you to fetch changes up to afa85a2247297d660a63295bfbdd6e24e8e56902: > > serial: meson: fix meson_serial_pending() tx logic (2023-06-07 10:09:20 > +0200) > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[PATCH v9 4/4] Load option with short device path for boot vars

2023-06-07 Thread Raymond Mao
The boot variables automatically generated for removable medias should be with short form of device path without device nodes. This is a requirement for the case that a removable media is plugged into a different port but is still able to work with the existing boot variables. Signed-off-by:

[PATCH v9 3/4] Boot var automatic management for removable medias

2023-06-07 Thread Raymond Mao
Changes for complying to EFI spec §3.5.1.1 'Removable Media Boot Behavior'. Boot variables can be automatically generated during a removable media is probed. At the same time, unused boot variables will be detected and removed. Please note that currently the function 'efi_disk_remove' has no

[PATCH v9 2/4] Fix incorrect return code of boot option update

2023-06-07 Thread Raymond Mao
Correct the return code for out-of-memory and no boot option found Signed-off-by: Raymond Mao Reviewed-by: Ilias Apalodimas --- Changes in v7 - new patch file created cmd/bootmenu.c | 2 +- cmd/eficonfig.c | 2 +- lib/efi_loader/efi_bootmgr.c | 8 ++-- 3 files

[PATCH v9 1/4] Move bootorder and bootoption apis to lib

2023-06-07 Thread Raymond Mao
Rename and move bootorder and bootoption apis from cmd to lib for re-use between eficonfig and bootmgr Fix 'unexpected indentation' when 'make htmldocs' after functions are moved Signed-off-by: Raymond Mao Reviewed-by: Ilias Apalodimas --- Changes in v3 - Split the patch into moving and

[PATCH v9 0/4] Boot variables management for removable media

2023-06-07 Thread Raymond Mao
Major changes: 1.Rename and move bootorder and bootoption apis from cmd to lib for re-use between eficonfig and bootmgr 2.Fix incorrect return code of boot option update Correct the return code for out-of-memory and no boot option found 3.Changes for complying to EFI spec §3.5.1.1 'Removable

Re: [PATCH v8 3/4] Boot var automatic management for removable medias

2023-06-07 Thread Raymond Mao
Hi Ilias, I will amend the note in the commit message and add a TODO into the function efi_disk_remove() according to our discussion in this email thread. Raymond On Wed, 7 Jun 2023 at 03:45, Ilias Apalodimas wrote: > > On Wed, 7 Jun 2023 at 10:27, AKASHI Takahiro > wrote: > > > > On Wed,

[PATCH 3/3] configs: ls1046afrwy: enable DM_MDIO and DM_CMD

2023-06-07 Thread Camelia Groza
With DM_ETH configured by default, complete the Ethernet enablement for LS1046AFRWY by activating DM_MDIO. Signed-off-by: Camelia Groza --- configs/ls1046afrwy_tfa_SECURE_BOOT_defconfig | 2 ++ configs/ls1046afrwy_tfa_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git

[PATCH 2/3] board: freescale: ls1046afrwy: enumerate PCI devices

2023-06-07 Thread Camelia Groza
Call pci_init() from board_init() to force PCI enumeration at probe time. Signed-off-by: Camelia Groza --- board/freescale/ls1046afrwy/ls1046afrwy.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/freescale/ls1046afrwy/ls1046afrwy.c b/board/freescale/ls1046afrwy/ls1046afrwy.c

[PATCH 1/3] arm: dts: ls1046afrwy: add the FMan Ethernet nodes

2023-06-07 Thread Camelia Groza
Describe the FMan Ethernet interfaces present on the board. Signed-off-by: Camelia Groza --- arch/arm/dts/fsl-ls1046a-frwy.dts | 48 ++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/fsl-ls1046a-frwy.dts

[PATCH 0/3] board: fsl: ls1046afrwy: complete DM_ETH enablement

2023-06-07 Thread Camelia Groza
With DM_ETH enabled by default, the FMan Ethernet isn't configured at present. This patch set adds the missing dts nodes, enables remaining build configs and initializes PCI devices. Camelia Groza (3): arm: dts: ls1046afrwy: add the FMan Ethernet nodes board: freescale: ls1046afrwy: enumerate

[PATCH] mtd: spi-nor-ids: add xtxtech part#

2023-06-07 Thread Bruce Suen
adding xtxtech part numbers Signed-off-by: Bruce Suen --- drivers/mtd/spi/spi-nor-ids.c | 38 +-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 3f8b796789..9a079c851d 100644 ---

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

2023-06-07 Thread Bryan Brattlof
Hi Marcel! On June 7, 2023 thus sayeth 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] >

Re: [PATCH v4 11/11] configs: starfive: Enable ID EEPROM configuration

2023-06-07 Thread Jan Kiszka
On 07.06.23 04:19, yanhong wang wrote: > > > On 2023/6/5 3:23, Jan Kiszka wrote: >> On 25.05.23 11:36, Yanhong Wang wrote: >>> Enabled ID_EEPROM and I2C configuration for StarFive VisionFive2 board. >>> >>> Signed-off-by: Yanhong Wang >>> --- >>> configs/starfive_visionfive2_defconfig | 19

[PATCH v1 0/3] board: toradex: add verdin am62 support

2023-06-07 Thread Marcel Ziswiler
From: Marcel Ziswiler This series adds initial support for the Toradex Verdin AM62 SoM [1]. The first commit adds resp. PID4 to the ConfigBlock, the second one fixes an early clocking issue confirmed to be a weird bug in TI's scripting. And last but not least support for the Toradex Verdin AM62

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

2023-06-07 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

[PATCH v1 1/3] toradex: tdx-cfg-block: add 0069 verdin am62 quad 1gb wb it

2023-06-07 Thread Marcel Ziswiler
From: Marcel Ziswiler Add initial Verdin AM62 Quad 1GB WB IT prototype SKU to ConfigBlock handling. 0069: Verdin AM62 Quad 1GB WB IT Signed-off-by: Marcel Ziswiler --- board/toradex/common/tdx-cfg-block.c | 1 + board/toradex/common/tdx-cfg-block.h | 1 + 2 files changed, 2 insertions(+)

Re: [lwip-devel] [RFC PATCH 0/5] LWIP stack integration

2023-06-07 Thread Maxim Uvarov
On Wed, 7 Jun 2023 at 15:47, Ilias Apalodimas wrote: > Hi Maxim, > > On Tue, 6 Jun 2023 at 17:33, Maxim Uvarov wrote: > > > > Greetings, > > > > I implemented the tftp client (that was quick due to lwip has example > app for tftp), and did some more measurements. > > I uploaded patches here if

[GIT PULL] Please pull u-boot-amlogic-20230607

2023-06-07 Thread Neil Armstrong
' of https://source.denx.de/u-boot/custodians/u-boot-ubi (2023-06-06 09:47:17 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-amlogic.git tags/u-boot-amlogic-20230607 for you to fetch changes up to afa85a2247297d660a63295bfbdd6e24e8e56902: serial

Re: [PATCH 1/3] usb: musb-new: sunxi: do not attempt to access NULL SRAMC

2023-06-07 Thread Andre Przywara
On Tue, 6 Jun 2023 23:39:24 -0600 Sam Edwards wrote: Hi Sam, > On 6/5/23 05:04, Andre Przywara wrote: > > Ah, that's a good find, but I think it goes a bit deeper: > > Just to be clear, "SRAMC" stands for "SRAM controller", not "SRAM memory > > block C" (which other SoCs have, but indeed not

Re: [PATCH v9 08/10] doc: uefi: add anti-rollback documentation

2023-06-07 Thread Takahiro Akashi
On Wed, Jun 07, 2023 at 02:41:58PM +0900, Masahisa Kojima wrote: > This commit describe the procedure to configure lowest supported > version in the device tree for anti-rollback protection. > > Signed-off-by: Masahisa Kojima > --- > No update since v7 > > Changes in v7: > - describe the usage

[PATCH v1 3/3] board: microchip: set mac address for ethernet1 on icicle

2023-06-07 Thread Conor Dooley
The dts sync from Linux leaves mac0/ethernet1 enabled on icicle, but U-Boot does not currently set a mac address for it. Expand on the code which currently sets the mac for mac1/ethernet0 to optionally set the mac address for the second ethernet. Signed-off-by: Conor Dooley ---

[PATCH v1 2/3] riscv: dts: sync mpfs-icicle devicetree with linux

2023-06-07 Thread Conor Dooley
The "notable" disappearances are: - the pac193x stanza - there's nothing in mainline linux w.r.t. bindings for this & what is going to appear in mainline linux is going to be incompatible with what is currently in U-Boot. - operating points - these operating points should not be set at the

[PATCH v1 1/3] riscv: dts: drop microchip from dts filenames

2023-06-07 Thread Conor Dooley
The original names picked for the DT doesn't match Linux's naming scheme and it was renamed there a while ago. Rename it in U-Boot to allow easily syncing dts between the two projects. Signed-off-by: Conor Dooley --- arch/riscv/dts/Makefile | 2 +-

[PATCH v1 0/3] Sync PolarFire SoC dts with Linux

2023-06-07 Thread Conor Dooley
Hey, Couple of patches here that do a long-overdue sync of the Linux devicetree for PolarFire SoC & the Icicle kit with Linux. This wasn't possible for a while due to an incorrect dts & clock driver that were based on a pre-upstream version of the dt-binding. That's fixed now, so a complete

[PATCH 2/2] imx93_evk: defconfig: add adc support

2023-06-07 Thread Luca Ellero
iMX93 ADC features: - 4 channels - 12 bit resolution Signed-off-by: Luca Ellero --- configs/imx93_11x11_evk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/imx93_11x11_evk_defconfig b/configs/imx93_11x11_evk_defconfig index 89edebc4c6..30ef460c80 100644 ---

[PATCH 1/2] dm: adc: add iMX93 ADC support

2023-06-07 Thread Luca Ellero
This commit adds driver for iMX93 ADC. The driver is implemented using driver model and provides ADC uclass's methods for ADC single channel operations: - adc_start_channel() - adc_channel_data() - adc_stop() ADC features: - channels: 4 - resolution: 12-bit Signed-off-by:

[PATCH v5 0/2 RESEND] imx93: add ADC support

2023-06-07 Thread Luca Ellero
Add ADC support for NXP iMX93 Changes for v2: - add "static" to functions - enable ADC in iMX93 EVK Changes for v3: - split in 3 commits - keep dts file in sync with Linux devicetree - add comments to commits Changes for v4: - add imx93_adc_power_down() in imx93_adc_stop() Changes for v5: -

Re: [PATCH v9 10/10] test/py: efi_capsule: test for FMP versioning

2023-06-07 Thread Ilias Apalodimas
On Wed, 7 Jun 2023 at 08:43, Masahisa Kojima wrote: > > This test covers the FMP versioning for both raw and FIT image, > and both signed and non-signed capsule update. > > Signed-off-by: Masahisa Kojima > --- > Changes in v9: > - fix pyling warnings > > Changes in v8: > - remove excess

Re: [PATCH v9 09/10] test: efi_capsule: refactor efi_capsule test

2023-06-07 Thread Ilias Apalodimas
On Wed, 7 Jun 2023 at 08:43, Masahisa Kojima wrote: > > Current efi capsule python tests have much code duplication. > This commit creates the common function > in test/py/tests/test_efi_capsule/capsule_common.py, > aim to reduce the code size and improve maintainability. > > Reviewed-by: Simon

Re: [lwip-devel] [RFC PATCH 0/5] LWIP stack integration

2023-06-07 Thread Ilias Apalodimas
Hi Maxim, On Tue, 6 Jun 2023 at 17:33, Maxim Uvarov wrote: > > Greetings, > > I implemented the tftp client (that was quick due to lwip has example app for > tftp), and did some more measurements. > I uploaded patches here if somebody want to do his own measurements: >

[PATCH 3/3 v2] test/py: Account PCR updates properly during testing

2023-06-07 Thread Ilias Apalodimas
Currently we only read the pcr updates once on test_tpm2_pcr_read(). It turns out that the tpm init sequence of force_init() which consists of: - tpm2 init - tpm2 startup TPM2_SU_CLEAR - tpm2 self_test full - tpm2 clear TPM2_RH_LOCKOUT also counts as an update. Running this in the console

[PATCH 2/3 v2] test/py: replace 'tpm2 init, startup, selftest' sequences

2023-06-07 Thread Ilias Apalodimas
Instead of copy pasting the commands needed to start a TPM consisting of: - tpm init - tpm startup TPM2_SU_CLEAR - tpm2 self_test full use the newly added 'autostart' which does the same thing and simplify our python scripts Signed-off-by: Ilias Apalodimas Reviewed-by: Simon Glass --- Changes

[PATCH 1/3 v2] tpm: Add 'tpm autostart' shell command

2023-06-07 Thread Ilias Apalodimas
For a TPM device to be operational we need to initialize it and perform its startup sequence. The 'tpm init' command currently calls tpm_init() which ends up calling the ->open() per-device callback and performs the initial hardware configuration as well as requesting locality 0 for the caller.

[PATCH 0/3 v2] tpm: add 'tpm autostart command'

2023-06-07 Thread Ilias Apalodimas
Hi! This is a resend of [0]. There are no functional or code changes in patches #1 and #2. Running this through the CI though exposed a problem on our python test scripts, whcih the newly added patch #3 is trying to address [0]

Re: [PATCH v2 5/7] phy: rockchip-inno-usb2: Add USB2 PHY for RK3328

2023-06-07 Thread Xavier Drudis Ferran
El Tue, Jun 06, 2023 at 10:39:16PM +0530, Jagan Teki deia: > USB2.0 Host and OTG controllers in RK3328 are using USB2PHY. > > Add support for it. > > Signed-off-by: Jagan Teki Reviewed-by: Xavier Drudis Ferran (fwiw, I just compared it with linux) I just wanted to note this patch as written

Re: [PATCH] serial: meson: fix meson_serial_pending() tx logic

2023-06-07 Thread Neil Armstrong
On 06/06/2023 18:07, Mattijs Korpershoek wrote: According to the dm_serial_ops documentation, pending() should: @return number of waiting characters, 0 for none, -ve on error And: It is acceptable to return 1 if an indeterminant number of characters is waiting. With the current

Re: [PATCH v8 3/4] Boot var automatic management for removable medias

2023-06-07 Thread Ilias Apalodimas
On Wed, 7 Jun 2023 at 10:27, AKASHI Takahiro wrote: > > On Wed, Jun 07, 2023 at 10:00:37AM +0300, Ilias Apalodimas wrote: > > On Wed, 7 Jun 2023 at 09:52, AKASHI Takahiro > > wrote: > > > > > > On Wed, Jun 07, 2023 at 09:38:30AM +0300, Ilias Apalodimas wrote: > > > > On Wed, 7 Jun 2023 at

Re: [PATCH v8 3/4] Boot var automatic management for removable medias

2023-06-07 Thread AKASHI Takahiro
On Wed, Jun 07, 2023 at 10:00:37AM +0300, Ilias Apalodimas wrote: > On Wed, 7 Jun 2023 at 09:52, AKASHI Takahiro > wrote: > > > > On Wed, Jun 07, 2023 at 09:38:30AM +0300, Ilias Apalodimas wrote: > > > On Wed, 7 Jun 2023 at 03:41, AKASHI Takahiro > > > wrote: > > > > > > > > On Tue, Jun 06,

Re: [PATCH v8 3/4] Boot var automatic management for removable medias

2023-06-07 Thread Ilias Apalodimas
On Wed, 7 Jun 2023 at 09:52, AKASHI Takahiro wrote: > > On Wed, Jun 07, 2023 at 09:38:30AM +0300, Ilias Apalodimas wrote: > > On Wed, 7 Jun 2023 at 03:41, AKASHI Takahiro > > wrote: > > > > > > On Tue, Jun 06, 2023 at 09:37:20AM -0700, Raymond Mao wrote: > > > > Changes for complying to EFI

Re: [PATCH v8 3/4] Boot var automatic management for removable medias

2023-06-07 Thread AKASHI Takahiro
On Wed, Jun 07, 2023 at 09:38:30AM +0300, Ilias Apalodimas wrote: > On Wed, 7 Jun 2023 at 03:41, AKASHI Takahiro > wrote: > > > > On Tue, Jun 06, 2023 at 09:37:20AM -0700, Raymond Mao wrote: > > > Changes for complying to EFI spec §3.5.1.1 > > > 'Removable Media Boot Behavior'. > > > Boot

Re: [PATCH v8 3/4] Boot var automatic management for removable medias

2023-06-07 Thread Ilias Apalodimas
On Wed, 7 Jun 2023 at 03:41, AKASHI Takahiro wrote: > > On Tue, Jun 06, 2023 at 09:37:20AM -0700, Raymond Mao wrote: > > Changes for complying to EFI spec §3.5.1.1 > > 'Removable Media Boot Behavior'. > > Boot variables can be automatically generated during a removable > > media is probed. At the

Re: [gitdm][PATCH 1/1] Convert to Python 3

2023-06-07 Thread Heinrich Schuchardt
This is the result of running 2to3 and manually converting the comparison functions to lambda expressions. Signed-off-by: Heinrich Schuchardt Hello Tom, which is the branch that you use for the gitdm U-Boot stats? Is it master or u-boot? If it is u-boot, please, update gitlab to make u-boot