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

2022-05-20 Thread Tom Rini
On Fri, May 20, 2022 at 09:25:16AM +0200, Patrick DELAUNAY wrote: > Hi Tom, > > Please pull the STM32 related fixes for u-boot/master, v2022.07: > u-boot-stm32-20220520 > > - spi: fix busy bit check in stm32_qspi driver > - stm32mp15: configure Buck3 voltage per PMIC N

Re: [RFC PATCH 2/2] ARM: stm32: activate OF_LIVE for DHSOM

2022-05-20 Thread Marek Vasut
On 5/19/22 18:46, Patrick Delaunay wrote: Activate the live DT with CONFIG_OF_LIVE to reduce the DT parsing time. Signed-off-by: Patrick Delaunay Tested-by: Marek Vasut

Re: [RFC PATCH 1/2] board: dhelectronics: stm32mp1: convert to livetree

2022-05-20 Thread Marek Vasut
On 5/19/22 18:46, Patrick Delaunay wrote: Replace call to fdt_*() functions and access to gd->fdt_blob with call to ofnode_*() functions to support a live tree. Signed-off-by: Patrick Delaunay I see your point regarding the speed up, wow. Tested-by: Marek Vasut

[PULL] u-boot-usb/master

2022-05-20 Thread Marek Vasut
The following changes since commit f83bd23e2a0e9861969c9d43395299a14f25ddda: Merge https://source.denx.de/u-boot/custodians/u-boot-marvell (2022-05-18 08:41:13 -0400) are available in the Git repository at: git://source.denx.de/u-boot-usb.git master for you to fetch changes up to

Re: [RESEND PATCH] gpio: rgpio2p: Enhance reading of GPIO pin value

2022-05-20 Thread Christoph Fritz
*ping* On Sat, 2022-04-23 at 22:37 +0200, Christoph Fritz wrote: > Hello Stefano, > >  could you please pick up this patch? > > bye >  -- Christoph > > On Tue, 2022-04-05 at 12:29 +0200, Christoph Fritz wrote: > > Add support for reading GPIO pin value when function is output. > > With this

Re: i.MX8MP usb status

2022-05-20 Thread Tim Harvey
On Fri, May 20, 2022 at 2:31 PM Marek Vasut wrote: > > On 5/20/22 20:21, Tim Harvey wrote: > > On Fri, May 20, 2022 at 10:08 AM Tim Harvey wrote: > >> > >> On Wed, May 4, 2022 at 5:53 AM Marek Vasut wrote: > >>> > >>> On 5/4/22 14:26, Peng Fan wrote: > Hi Marek, > >>> > >>> Hi, > >>> >

Re: i.MX8MP usb status

2022-05-20 Thread Marek Vasut
On 5/20/22 20:21, Tim Harvey wrote: On Fri, May 20, 2022 at 10:08 AM Tim Harvey wrote: On Wed, May 4, 2022 at 5:53 AM Marek Vasut wrote: On 5/4/22 14:26, Peng Fan wrote: Hi Marek, Hi, Since you did some work on i.MX8MP USB, may I know the status? Does host/device mode both supported

[PATCH] configs: get rid of build warnings due to SPL_USB_DWC3_GENERIC

2022-05-20 Thread Angus Ainslie
Adding the SPL_USB_DWC3_GENERIC symbol broke some ti builds. This should fix the builds but untested on HW. Signed-off-by: Angus Ainslie --- configs/am43xx_evm_defconfig | 2 ++ configs/am43xx_evm_usbhost_boot_defconfig | 2 ++ configs/am43xx_hs_evm_defconfig | 2 ++

Re: i.MX8MP usb status

2022-05-20 Thread Tim Harvey
On Fri, May 20, 2022 at 10:08 AM Tim Harvey wrote: > > On Wed, May 4, 2022 at 5:53 AM Marek Vasut wrote: > > > > On 5/4/22 14:26, Peng Fan wrote: > > > Hi Marek, > > > > Hi, > > > > > Since you did some work on i.MX8MP USB, may I know the status? > > > Does host/device mode both supported in

Re: [PATCH] board: gateowrks: venice: add GW7903 PMIC

2022-05-20 Thread Fabio Estevam
Hi Tim, On Fri, May 20, 2022 at 12:55 PM Tim Harvey wrote: > > The GW7903 has a BD71847 PMIC on I2C1. Adjust the model compare strings > to add it. > > Signed-off-by: Tim Harvey There is a typo in the Subject: s/gateowrks/gateworks Reviewed-by: Fabio Estevam

Re: i.MX8MP usb status

2022-05-20 Thread Tim Harvey
On Wed, May 4, 2022 at 5:53 AM Marek Vasut wrote: > > On 5/4/22 14:26, Peng Fan wrote: > > Hi Marek, > > Hi, > > > Since you did some work on i.MX8MP USB, may I know the status? > > Does host/device mode both supported in upstream? > > I only have HOST option available, so for me this is only

[PATCH] stm32mp1: fix reference for STMicroelectronics

2022-05-20 Thread Patrick Delaunay
Replace reference to the correct name STMicroelectronics Signed-off-by: Patrick Delaunay --- arch/arm/Kconfig | 2 +- arch/arm/cpu/armv7/stv0991/lowlevel.S | 2 +- arch/arm/mach-sti/Kconfig | 2 +- drivers/i2c/designware_i2c.c | 2 +-

[PATCH v2 15/16] configs: add stm32mp13 defconfig

2022-05-20 Thread Patrick Delaunay
Add a initial config for STM32M13x SOC family, using the stm32mp135f-dk device tree. Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- (no changes since v1) board/st/stm32mp1/MAINTAINERS | 1 + configs/stm32mp13_defconfig | 54 +++ 2 files

[PATCH v2 16/16] doc: st: stm32mp1: add STM32MP13x support

2022-05-20 Thread Patrick Delaunay
Add in U-Boot documentation the quick instruction to setup the STMicroelectronics STM32MP13x boards. Signed-off-by: Patrick Delaunay --- Changes in v2: - fix typo error in commit message and in rst file doc/board/st/stm32mp1.rst | 183 ++ 1 file changed,

[PATCH v2 14/16] arm: dts: stm32mp: add stm32mp13 device tree for U-Boot

2022-05-20 Thread Patrick Delaunay
Compile the device tree of STM32MP13x boards and add the needed U-Boot add-on. Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- (no changes since v1) arch/arm/dts/Makefile | 3 + arch/arm/dts/stm32mp13-u-boot.dtsi | 91 +

[PATCH v2 12/16] ram: stm32mp1: add support of STM32MP13x

2022-05-20 Thread Patrick Delaunay
Add support for new compatible "st,stm32mp13-ddr" to manage the DDR sub system (Controller and PHY) in STM32MP13x SOC: - only one AXI port - support of 16 port output (MEMC_DRAM_DATA_WIDTH = 2) The STM32MP15x SOC have 2 AXI ports and 32 bits support. Signed-off-by: Patrick Delaunay Reviewed-by:

[PATCH v2 08/16] arm: stm32mp: add support of STM32MP13x

2022-05-20 Thread Patrick Delaunay
Introduce the code in mach-stm32mp and the configuration file stm32mp13_defconfig for the new STM32MP family. Signed-off-by: Patrick Delaunay --- Changes in v2: - fix several typo issue in comments reported by Patrice and Marek arch/arm/mach-stm32mp/Kconfig | 21 +++-

[PATCH v2 11/16] board: stm32pm1: add stm32mp13 board support

2022-05-20 Thread Patrick Delaunay
Add stm32mp15x prefix to all STM32MP15x board specific functions, this patch is a preliminary step for STM32MP13x support. This patch also adds the RCC probe to avoid circular access with usbphyc probe as clk provider. Signed-off-by: Patrick Delaunay --- Changes in v2: - fix typo in commit

[PATCH v2 13/16] mmc: stm32_sdmmc2: make reset property optional

2022-05-20 Thread Patrick Delaunay
Although not recommended, the reset property could be made optional. This way the driver will probe even if no reset property is provided in an sdmmc node in DT. This reset is already optional in Linux. Signed-off-by: Yann Gautier Reviewed-by: Jaehoon Chung Reviewed-by: Patrice Chotard

[PATCH v2 05/16] arm: stm32mp: add choice for STM32MP SOC family

2022-05-20 Thread Patrick Delaunay
Add mandatory choice for SOC support in ARCH_STM32MP. This patch is a preliminary step for new SOC introduction in STM32MP family. Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- (no changes since v1) arch/arm/mach-stm32mp/Kconfig | 23 +--

[PATCH v2 07/16] arm: stm32mp: add CONFIG_STM32MP15_PWR

2022-05-20 Thread Patrick Delaunay
Add config CONFIG_STM32MP15_PWR to handle the access to regulators managed by the PWR driver defined in pwr_regulator.c This driver is only used in U-Boot by STM32MP15x family. Signed-off-by: Patrick Delaunay --- Changes in v2: - fix commit message arch/arm/mach-stm32mp/Kconfig.15x | 16

[PATCH v2 09/16] arm: stm32mp: support 2 MAC address for STM32MP13

2022-05-20 Thread Patrick Delaunay
Add support of several MAC address in OTP (3 32bits OTP word for 2 MAC address) for SOCs in STM32MP13x family: STM32MP133 and STM32MP135. Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- (no changes since v1) arch/arm/mach-stm32mp/cpu.c | 41

[PATCH v2 06/16] arm: stm32mp: add sub config Kconfig.15x

2022-05-20 Thread Patrick Delaunay
Add sub Kconfig for each SOC in the STM32 CPU family. It is a preliminary step to introduce a new SOC in the STM32MP family. Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- (no changes since v1) arch/arm/mach-stm32mp/Kconfig | 119 +---

[PATCH v2 10/16] pinctrl: stm32: add support of STM32MP135

2022-05-20 Thread Patrick Delaunay
Add support for "st,stm32mp135-pinctrl" for STM32MP13x Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- (no changes since v1) drivers/pinctrl/pinctrl_stm32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/pinctrl_stm32.c b/drivers/pinctrl/pinctrl_stm32.c

[PATCH v2 04/16] arm: stm32mp: move code for STM32MP15x

2022-05-20 Thread Patrick Delaunay
Move code and defines only needed for CONFIG_STM32MP15x in stm32mp15x.c when low level init without TFABOOT is supported. Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- (no changes since v1) arch/arm/mach-stm32mp/Makefile| 2 + arch/arm/mach-stm32mp/cpu.c

[PATCH v2 03/16] arm: stm32mp: move the get_otp helper function in bsec

2022-05-20 Thread Patrick Delaunay
As the get_otp() helper function in bsec are common for all STM32MP family, move this function in bsec driver Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- (no changes since v1) arch/arm/mach-stm32mp/bsec.c | 17 +

[PATCH v2 02/16] configs: stm32mp1: move SUPPORT_SPL in STM32MP15x

2022-05-20 Thread Patrick Delaunay
The SPL is only supported by STM32MP15x not by all the SOC with STM32MP arch. Only TFABOOT is supported in next products. Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard Signed-off-by: Patrick Delaunay --- (no changes since v1) arch/arm/Kconfig | 1 -

[PATCH v2 01/16] ARM: dts: stm32: add STM32MP13 SoCs support

2022-05-20 Thread Patrick Delaunay
Add initial support of STM32MP13 family based on v5.18-rc2 Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- (no changes since v1) arch/arm/dts/stm32mp13-pinctrl.dtsi | 123 ++ arch/arm/dts/stm32mp131.dtsi| 358

[PATCH v2 00/16] stm32mp: add STM32MP13x support

2022-05-20 Thread Patrick Delaunay
Add the minimal support of the new STM32MP13x in mach-stm32mp to allow boot from SD Card. STM32MP13x is a single Cortex-A7 MPU aimed at various applications. The discovery board is supported with stm32mp13_defconfig and the device tree stm32mp135f-dk.dts. The supported boot sequence is: - TF-A

Re: [PATCH 16/16] doc: st: stm32mp1: add STM32MP13x support

2022-05-20 Thread Patrick DELAUNAY
Hi, On 5/20/22 09:21, Patrice CHOTARD wrote: Hi PAtrick typos below On 5/6/22 16:06, Patrick Delaunay wrote: Add in U-Boot documentation the quick instruction for s/for/to ok setup the STMicroelectronics STM32MP13x boards. Signed-off-by: Patrick Delaunay ---

Re: [PATCH] crypto/fsl: fsl_hash: Fix dcache issue in caam_hash_finish

2022-05-20 Thread Horia Geantă
On 5/11/2022 4:55 PM, Rasmus Villemoes wrote: > On 11/05/2022 10.53, Gaurav Jain wrote: >> HW accelerated hash operations are giving incorrect hash output. >> so add flush and invalidate for input/output hash buffers. >> >> Fixes: 94e3c8c4fd (crypto/fsl - Add progressive hashing support using >>

[PATCH] arm: dts: imx8mm-venice-gw700x: add support for GPY111 phy

2022-05-20 Thread Tim Harvey
The TI DP83867 phy has been replaced with the MaxLinear GPY111 phy due to part availability. Add support for it: - increase post-reset time to 300ms per datasheet - leave tx-delay/rx-delay undefined in dt defaulting to 2.0ns Signed-off-by: Tim Harvey ---

[PATCH] board: gateowrks: venice: add GW7903 PMIC

2022-05-20 Thread Tim Harvey
The GW7903 has a BD71847 PMIC on I2C1. Adjust the model compare strings to add it. Signed-off-by: Tim Harvey --- board/gateworks/venice/spl.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/board/gateworks/venice/spl.c b/board/gateworks/venice/spl.c index

Re: [PATCH 11/12] ARM: dts: sun50i: A64: Sync from Linux v5.18-rc1

2022-05-20 Thread Andre Przywara
On Wed, 27 Apr 2022 15:31:30 -0500 Samuel Holland wrote: > Copy the devicetree source for the A64 SoC and all existing boards > from the Linux v5.18-rc1 tag. > > To maintain ABI compatibility with existing LTS kernels, one change > moving some IP blocks to the r_intc interrupt controller is

Re: [PATCH 06/12] ARM: dts: sun9i: Sync from Linux v5.18-rc1

2022-05-20 Thread Andre Przywara
On Wed, 27 Apr 2022 15:31:25 -0500 Samuel Holland wrote: Hi, > Copy the devicetree source for the A80 SoC and all existing boards > verbatim from the Linux v5.18-rc1 tag. > > This update should not impact any existing U-Boot functionality. > > Signed-off-by: Samuel Holland Compared against

Re: [PATCH 07/12] ARM: dts: sun8i: A83T: Sync from Linux v5.18-rc1

2022-05-20 Thread Andre Przywara
On Wed, 27 Apr 2022 15:31:26 -0500 Samuel Holland wrote: Hi, > Copy the devicetree source for the A83T SoC and all existing boards > from the Linux v5.18-rc1 tag. > > To maintain ABI compatibility with existing LTS kernels, one change > moving some IP blocks to the r_intc interrupt controller

Re: [PATCH 12/12] ARM: dts: sun50i: H6: Sync from Linux v5.18-rc1

2022-05-20 Thread Andre Przywara
On Wed, 27 Apr 2022 15:31:31 -0500 Samuel Holland wrote: > Copy the devicetree source for the H6 SoC and all existing boards > from the Linux v5.18-rc1 tag. > > To maintain ABI compatibility with existing LTS kernels, one change > moving some IP blocks to the r_intc interrupt controller is

Re: [PATCH 11/16] board: stm32pm1: add stm32mp13 board support

2022-05-20 Thread Patrick DELAUNAY
Hi Patrice On 5/20/22 09:02, Patrice CHOTARD wrote: Hi Patrick One typo and one remark below On 5/6/22 16:06, Patrick Delaunay wrote: Add stm32mp15x prefix to all STM32MP15x board specific function, this patch is a preliminary step for STM32MP13x support. This patch also add the RCC probe

Re: [PATCH 05/12] ARM: dts: sunxi: A13/A31/A23/A33: Sync from Linux v5.18-rc1

2022-05-20 Thread Andre Przywara
On Wed, 27 Apr 2022 15:31:24 -0500 Samuel Holland wrote: Hi, > Copy the devicetree source for the A10s/A13/GR8, A31(s), and A23/A33/R16 > SoCs and all existing boards from the Linux v5.18-rc1 tag. > > These changes are combined into one commit due to interdependencies: > - The unit addresses

Re: [PATCH] arm: dts: k3-am642-*: Mark the memory node with u-boot,dm-spl

2022-05-20 Thread Tom Rini
On Fri, May 20, 2022 at 03:30:26PM +0300, Georgi Vlaev wrote: > Since commit dffdb1f8eb ("board: ti: am64x: Use fdt functions > for ram and bank init") ddr_init() and dram_bank_init() have > switched to fdtdec for getting the memory configuration from > the am64xx dts files instead of using

Re: [PATCH V4 4/8] armv8: u-boot-spl.lds: mark __image_copy_start as symbol

2022-05-20 Thread Tom Rini
On Fri, May 20, 2022 at 10:10:43PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > In arch/arm/lib/sections.c there is below code: > char __image_copy_start[0] __section(".__image_copy_start"); > But actually 'objdump -t spl/u-boot-spl' not able to find out > symbol '__image_copy_start' for

Re: [PATCH V4 1/8] spl: guard u_boot_any with X86

2022-05-20 Thread Tom Rini
On Fri, May 20, 2022 at 10:10:40PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > set the symbol as weak not work if LTO is enabled. Since u_boot_any is > only used on X86 for now, so guard it with X86, otherwise build break > if we use BINMAN_SYMBOLS on i.MX. > > Tested-by: Tim Harvey

Re: [PATCH] common/board_r.c: drop legacy and unused bi_enetaddr

2022-05-20 Thread Tom Rini
On Fri, May 20, 2022 at 01:19:08PM +0200, Rasmus Villemoes wrote: > The bi_enetaddr field in struct bd_info is write-only; nothing ever > reads back the value. > > Moreover, the value we write is more or less random, and certainly not > something one can rely on: If the board has a writable

[PATCH] configs: imx8mp_venice: remove unnecessary FEC_QUIRK_ENET_MAC

2022-05-20 Thread Tim Harvey
FEC_QUIRK_ENET_MAC is defined in the imx-regs.h include file and thus does not need to be defined in the various board config includes. Signed-off-by: Tim Harvey --- include/configs/imx8mp_venice.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/imx8mp_venice.h

Re: [PATCH v5 2/3] arm: mvebu: add support for Methode eDPU

2022-05-20 Thread Stefan Roese
On 20.05.22 13:46, Robert Marko wrote: Methode eDPU is an Armada 3720 power board based on the Methode uDPU. They feature the same CPU, RAM, and storage as well as the form factor. However, eDPU only has one SFP slot plus a copper G.hn port which does not work under U-boot. In order to reduce

Re: [PATCH v5 1/3] arm: mvebu: dts: sync DTS

2022-05-20 Thread Stefan Roese
On 20.05.22 13:46, Robert Marko wrote: Update the uDPU DTS to the version that is pending upstream [1][2][3][4]. [1] https://patchwork.kernel.org/project/linux-arm-kernel/patch/20220516124828.45144-4-robert.ma...@sartura.hr/ [2]

[PATCH v3 2/2] imx8mn/8mp: Allow booting via USB

2022-05-20 Thread sbabic
> From: Fabio Estevam > When trying to boot via USB on i.MX8MN it is necessary to specify > the U-Boot environment location, otherwise the boot process simply > hangs. > Specify the environment location when booting from USB. > Tested on a imx8mn-evk. > Suggested-by: Michael Nazzareno Trimarchi

[PATCH 1/3] imx8mm-cl-iot-gate: Enable cache in SPL

2022-05-20 Thread sbabic
> From: Fabio Estevam > There is no reason for disabling I-cache and D-cache > in SPL. > > Remove the unneeded CONFIG_SPL_SYS_ICACHE_OFF and > CONFIG_SPL_SYS_DCACHE_OFF options. > Signed-off-by: Fabio Estevam > Reviewed-by: Michael Trimarchi Applied to u-boot-imx, master, thanks ! Best

[PATCH v2] mtd: rawnand: mxs_nand: Fix use_minimum_ecc for spl driver

2022-05-20 Thread sbabic
> Because mxs_nand_spl driver does not support DM, to use the minimum ECC > layout, it needs to handle the CONFIG_NAND_MXS_USE_MINIMUM_ECC. > Signed-off-by: Ye Li > Reviewed-by: Han Xu Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

Re: [PATCH v5 3/3] MAINTAINERS: add myself as Methode maintainer

2022-05-20 Thread Stefan Roese
On 20.05.22 13:46, Robert Marko wrote: I am currently maintaing the Methode uDPU and eDPU boards so add myself as the maintainer for them. Remove the old entry from board/Marvell/mvebu_armada-37xx/MAINTAINERS. Signed-off-by: Robert Marko Reviewed-by: Stefan Roese Thanks, Stefan ---

[PATCH V2 07/16] imx: imx8mm-mx8menlo: drop unneeded watchdog settings

2022-05-20 Thread sbabic
> From: Peng Fan > pinctrl_wdog as u-boot,dm-spl already marked in imx8mm-verdin-u-boot.dtsi, > The set_wdog_reset() function is not necessary as this is handled by > the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property > being set. > Signed-off-by: Peng Fan > Reviewed-by: Marek

[PATCH v3 2/2] pmic: pca9450: Add regulator driver

2022-05-20 Thread sbabic
> Add PCA9450 regulator driver. This is complementary driver for the BUCKn > and LDOn regulators provided by the PCA9450 PMIC driver. Currently the > driver permits reading the settngs and configuring the BUCKn and LDOn > regulators. > Reviewed-by: Fabio Estevam > Signed-off-by: Marek Vasut >

[PATCH V2 12/14] imx: imx8mq-cm: enable CONFIG_DM_SERIAL

2022-05-20 Thread sbabic
> From: Peng Fan > Marked related nodes as u-boot,dm-spl for serial driver model > Enable CONFIG_DM_SERIAL > Signed-off-by: Peng Fan > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v2 2/8] ARM: dts: imx: Migrate iMX6QDL DRC02 DTs from Linux

2022-05-20 Thread sbabic
> Migrate DH DRC02 device trees from Linux commit 42226c989789 > (tag v5.18-rc7). No changes have been made, the DTs are exact copies. > Furthermore add the DTB to dh_imx6_defconfig. > Reviewed-by: Marek Vasut > Signed-off-by: Philip Oberfichtner Applied to u-boot-imx, master, thanks ! Best

[PATCH V2 14/14] imx: imx8mq-phanbell: enable CONFIG_DM_SERIAL

2022-05-20 Thread sbabic
> From: Peng Fan > Marked related nodes as u-boot,dm-spl for serial driver model > Enable CONFIG_DM_SERIAL > Signed-off-by: Peng Fan > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v3 1/2] pmic: pca9450: Add upstream regulators subnode match

2022-05-20 Thread sbabic
> The upstream DT regulators node subnodes are named BUCKn and LDOn, > the downstream DT regulators node subnodes are named buckn and ldon, > add the upstream match. > Reviewed-by: Fabio Estevam > Signed-off-by: Marek Vasut > Cc: Fabio Estevam > Cc: Peng Fan > Cc: Stefano Babic Applied to

[PATCH] imx: imx8mn_smm_s2/s2pro: Enable TrustZone

2022-05-20 Thread sbabic
> When the board was added, enabling tzc380 was left off by > mistake. The optee was tested with the following configuration > in s2pro > + firmware { > + optee { > + compatible = "linaro,optee-tz"; > + method = "smc"; > + }; > +

[PATCH v2 3/8] ARM: dts: imx: Migrate iMX6QDL picoITX DTs from Linux

2022-05-20 Thread sbabic
> Migrate DH picoITX device trees from Linux commit 42226c989789 > (tag v5.18-rc7). No changes have been made, the DTs are exact copies. > Furthermore add the DTB to dh_imx6_defconfig. > Reviewed-by: Marek Vasut > Signed-off-by: Philip Oberfichtner Applied to u-boot-imx, master, thanks ! Best

[PATCH 3/3] imx8mp_rsb3720a1: Enable cache in SPL

2022-05-20 Thread sbabic
> From: Fabio Estevam > There is no reason for disabling I-cache and D-cache > in SPL. > > Remove the unneeded CONFIG_SPL_SYS_ICACHE_OFF and > CONFIG_SPL_SYS_DCACHE_OFF options. > Signed-off-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH] configs: remove FEC_QUIRK_ENET_MAC from imx8m configs

2022-05-20 Thread sbabic
> FEC_QUIRK_ENET_MAC is defined in the imx-regs.h include file and thus > does not need to be defined in the various board config includes. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH V2 11/14] imx: dts: move common changes to imx8mq-u-boot.dtsi

2022-05-20 Thread sbabic
> From: Peng Fan > Move some common changes to imx8mq-u-boot.dtsi, so others could reuse it > Signed-off-by: Peng Fan > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX

[PATCH] i.MX6SX: crypto/fsl: fix entropy delay value

2022-05-20 Thread sbabic
> RNG Hardware error is reported due to incorrect entropy delay > rng self test are run to determine the correct ent_dly. > test is executed with different voltage and temperature to identify the > worst case value for ent_dly. after adding a margin value(1000), > ent_dly should be at least 12000.

[PATCH V4 4/5] spl: spl_nand: Fix bad block handling in fitImage

2022-05-20 Thread sbabic
> If the fitImage has some bad block in fit image area, the > offset must be recalulcated. This should be done always. > After implementing it in mxs now is possible to call the function > even for that platform. > Cc: Fabio Estevam > Tested-By: Tim Harvey > Reviewed-by: Tom Rini >

[PATCH] imx: imx8m: drop uneeded check

2022-05-20 Thread sbabic
> From: Peng Fan > All i.MX8M needs TZASC ID SWAP set and locked, no need the check to > waste cpu cycles. > Signed-off-by: Peng Fan > Reviewed-by: Andrey Zhizhikin Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH] kontron-sl-mx8mm: Select the CONFIG_CMD_UNZIP option

2022-05-20 Thread sbabic
> From: Fabio Estevam > Select the CMD_UNZIP option so that the 'gzwrite' command > can be used to flash wic.gz image into the eMMC. > Signed-off-by: Fabio Estevam > Reviewed-by: Frieder Schrempf Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 2/4] imx: bootaux: add missing newline

2022-05-20 Thread sbabic
> From: Peng Fan > Add missing newline > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235

[PATCH V4 2/5] mtd: nand: mxs_nand_spl: Fix bad block skipping

2022-05-20 Thread sbabic
> The specific implementation was having bug. Those bugs are since > the beginning of the implementation. Some manufactures can already > experience this bug in their SPL code. This bug can be more visible on > architecture that has complicated boot process like imx8mn. Older > version of uboot

[PATCH] caam: Fix crash in case caam_jr_probe failed

2022-05-20 Thread sbabic
> From: Ye Li > If probing caam_jr returns failure, the variable "dev" will not be > initialized, so we can't use dev->name for the error print. > Otherwise it will cause crash. > Signed-off-by: Ye Li > Reviewed-by: Gaurav Jain Applied to u-boot-imx, master, thanks ! Best regards, Stefano

[PATCH 1/4] imx: bootaux: cleanup code

2022-05-20 Thread sbabic
> From: Peng Fan > Use if (CONFIG_IS_ENABLED()) to make code cleaner > Enable elf support for i.MX8M > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering

[PATCH] crypto/fsl: fsl_hash: Fix dcache issue in caam_hash_finish

2022-05-20 Thread sbabic
> HW accelerated hash operations are giving incorrect hash output. > so add flush and invalidate for input/output hash buffers. > Fixes: 94e3c8c4fd (crypto/fsl - Add progressive hashing support using > hardware acceleration.) > Signed-off-by: Gaurav Jain Applied to u-boot-imx, master, thanks !

[PATCH v2] i.MX8 crypto/fsl: Enable fsl CAAM rng driver

2022-05-20 Thread sbabic
> rng driver enabled to read random number using caam. > Signed-off-by: Gaurav Jain Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk

[PATCH v2 8/8] ARM: imx6: Adapt device tree selection in DH board file

2022-05-20 Thread sbabic
> Before this commit device tree selection could rely solely on > differentiating the iMX6 processor variant Q and DL. After adding two new > carrier boards, the DRC02 and the picoITX, the interchangeability of SoMs > makes this approach infeasible. > It is now required to specify the carrier

[PATCH v2 5/8] ARM: dts: imx: Simplify fec node for iMX6QDL DHCOM boards

2022-05-20 Thread sbabic
> Firstly the FEC can now use the regulator reg_eth_vio from > imx6qdl-dhcom-som.dtsi instead of defining its own. > Secondly the node is moved to the more generic SoM device tree > file, because it can be used by multiple boards. > Reviewed-by: Marek Vasut > Signed-off-by: Philip Oberfichtner

[PATCH V2 15/16] imx: verdin-imx8mm/p: cleanup board watchdog code

2022-05-20 Thread sbabic
> From: Peng Fan > pinctrl_wdog already marked u-boot,dm-spl, so clean up board code. > The set_wdog_reset() function is not necessary as this is handled by > the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property > being set. > Signed-off-by: Peng Fan Applied to u-boot-imx,

[PATCH V2 01/14] imx: imx8mp_rsb3720a1: convert to DM_SERIAL

2022-05-20 Thread sbabic
> From: Peng Fan > Enable CONFIG_DM_SERIAL. uart2 and its pinmux was already > marked with u-boot,dm-spl. > Signed-off-by: Peng Fan > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH V4 1/5] nand: raw: mxs_nand: Fix specific hook registration

2022-05-20 Thread sbabic
> Move the hook after nand_scan_tail is called. The hook must be replaced > to the mxs specific one but those must to be assignment later in the > probe function. > With this fix markbad is working again. Before this change: > nand markbad 0xDEC00 > NXS NAND: Writing OOB isn't supported > NXS

[PATCH V2 03/14] imx: imx8mm_mx8menlo: Enable DM_SERIAL

2022-05-20 Thread sbabic
> From: Peng Fan > Enable CONFIG_DM_SERIAL. uart2 and its pinmux was already > marked with u-boot,dm-spl. > Signed-off-by: Peng Fan > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 1/2] mx6slevk: Remove duplicated "mmc dev" command

2022-05-20 Thread sbabic
> From: Fabio Estevam > The "mmc dev ${mmcdev}" command is done twice. > Remove one ocurrence to avoid the duplication. > Signed-off-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[PATCH 1/4] ARM: imx: imx8m: Introduce and use UART_BASE_ADDR(n)

2022-05-20 Thread sbabic
> Introduce helper macro UART_BASE_ADDR(n), which returns Nth UART base > address. Convert all board configurations to this new macro. This is the > first step toward switching CONFIG_MXC_UART_BASE to Kconfig. This is a > clean up, no functional change. > The new macro contains compile-time test

[PATCH V4 3/5] arm: mach-imx: cmd_nandbcb fix bad block handling

2022-05-20 Thread sbabic
> The badblock should be skipped properly in reading and writing. > Fix the logic. The bcb struct is written, skipping the bad block, > so we need to read using the same logic. This was tested create > bad block in the area and then flash it and read it back. > Acked-by: Han Xu > Tested-By: Tim

[PATCH V2 03/16] imx: imx8mp_evk: enable pinctrl_wdog in SPL

2022-05-20 Thread sbabic
> From: Peng Fan > Mark pinctrl_wdog as u-boot,dm-spl to clean up board code, > The set_wdog_reset() function is not necessary as this is handled by > the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property > being set. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks

[PATCH v1] ARM: imx8mm: verdin-imx8mm: fix board hang in spl

2022-05-20 Thread sbabic
> From: Marcel Ziswiler > Move the preloader_console_init() call after spl_early_init() to avoid > board hang in SPL. > While at it remove explicit in-code console/debug UART pinmuxing (uart1 > and its pinmuxing are already marked as u-boot,dm-spl via device tree). > Fixes: 4551e1898769

[PATCH] board: gateworks: venice: enable SPL_DM_SERIAL

2022-05-20 Thread sbabic
> The uart2 and its pinmux are already marked with u-boot,dm-spl but we > need to move the call to preloader_console_init() after spl_early_init() > to avoid a board hang as dm can't be used until after spl_early_init() > due to the uart driver not enabling the uart clock. > Remove the manual

[PATCH 4/4] imx: imx8m: add rproc_att

2022-05-20 Thread sbabic
> From: Peng Fan > With rpoc_att, bootaux able to kick elf file for M core > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing

[PATCH v2 7/8] ARM: dts: imx: Configure FEC for iMX6QDL DRC02

2022-05-20 Thread sbabic
> Add a u-boot dtsi for configuring the FEC node of the DH DRC02. > Reviewed-by: Marek Vasut > Signed-off-by: Philip Oberfichtner Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[PATCH 3/4] imx: bootaux: get stack from elf file

2022-05-20 Thread sbabic
> From: Peng Fan > To i.MX8, M core stack is pre-coded in source code, so need to get it > before kicking M core. The stack pointer is stored in the first word of > the first PT_LOAD section __isr_vector. So use a num to index the > section loading. > Signed-off-by: Peng Fan Applied to

[PATCH V2 09/14] imx: imx8mm_edm_sbc: Enable SPL_DM_SERIAL

2022-05-20 Thread sbabic
> From: Peng Fan > Enable CONFIG_SPL_DM_SERIAL. uart and its pinmux was already > marked with u-boot,dm-spl. > Move preloader_console_init after spl_early_init to make sure driver > model work. > Signed-off-by: Peng Fan > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best

[PATCH] configs: imx8mp_venice: add FEC_QUIRK_ENET_MAC

2022-05-20 Thread sbabic
> The IMX8MP SoC FEC needs to have the FEC_QUIRK_ENET_MAC defined. > Fixes: commit 2395625209cc ("board: gateworks: venice: add > imx8mp-venice-gw740x support") > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH V2 10/16] imx: imx8mn_smm_s2: clean up board watchdog code

2022-05-20 Thread sbabic
> From: Peng Fan > pinctrl_wdog already marked u-boot,dm-spl, so clean up board code. > The set_wdog_reset() function is not necessary as this is handled by > the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property > being set. > Signed-off-by: Peng Fan > Tested-by: Ariel

[PATCH] ARM: dts: imx: Use 100 kHz I2C2 on Data Modul i.MX8M Mini eDM SBC

2022-05-20 Thread sbabic
> The I2C2 has SMBus device SMSC USB2514Bi connected to it, the device is > capable of up to 100 kHz operation. Reduce the bus frequency to 100 kHz > to guarantee this I2C device can work correctly. > Signed-off-by: Marek Vasut > Cc: Fabio Estevam > Cc: Peng Fan > Cc: Stefano Babic Applied to

[PATCH 2/4] ARM: imx: imx27: Introduce and use UART_BASE_ADDR(n)

2022-05-20 Thread sbabic
> Introduce helper macro UART_BASE_ADDR(n), which returns Nth UART base > address. Convert all board configurations to this new macro. This is the > first step toward switching CONFIG_MXC_UART_BASE to Kconfig. This is a > clean up, no functional change. > The new macro contains compile-time test

[PATCH 2/2] mx6sllevk: Remove duplicated "mmc dev" command

2022-05-20 Thread sbabic
> From: Fabio Estevam > The "mmc dev ${mmcdev}" command is done twice. > Remove one ocurrence to avoid the duplication. > Signed-off-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[PATCH] board: gateworks: gw_ventana: remove obsolete file

2022-05-20 Thread sbabic
> commit 61cf22505339 ("board: gateworks: gw_ventana: use comomn GSC driver") > moved to the common GSC driver and moved remaining board-specific > functions to eeprom.c. The functions in gsc.c are no longer used and it > was removed from the Makefile but the file itself was not removed. > Remove

[PATCH V2 13/14] imx: imx8mq-pico: enable CONFIG_DM_SERIAL

2022-05-20 Thread sbabic
> From: Peng Fan > Marked related nodes as u-boot,dm-spl for serial driver model > Enable CONFIG_DM_SERIAL > Signed-off-by: Peng Fan > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v2 1/8] ARM: imx6: Fix broken DT path in DH board file

2022-05-20 Thread sbabic
> In the DH electronics iMX6 board file fix the outdated eeprom path by > using a DT label instead. > The label has been newly created for all iMX6QDL DHCOM boards. > Reviewed-by: Marek Vasut > Signed-off-by: Philip Oberfichtner Applied to u-boot-imx, master, thanks ! Best regards, Stefano

[PATCH v3 1/2] imx8mn_ddr4_evk: Add USB Mass Storage support

2022-05-20 Thread sbabic
> From: Fabio Estevam > Add USB Mass Storage support, which is a convenient way to flash > the eMMC card, for example. > Signed-off-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[PATCH] imx8m: fix reading of DDR4 MR registers

2022-05-20 Thread sbabic
> I was trying to employ lpddr4_mr_read() to something similar to what > the imx8mm-cl-iot-gate board is doing for auto-detecting the RAM > type. However, the version in drivers/ddr/imx/imx8m/ddrphy_utils.c > differs from the private one used by that board in how it extracts the > byte value, and

[PATCH V2 16/16] imx: toradex/verdin-imx8mm/p: cleanup board watchdog code

2022-05-20 Thread sbabic
> From: Peng Fan > pinctrl_wdog already marked u-boot,dm-spl, so clean up board code. > The set_wdog_reset() function is not necessary as this is handled by > the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property > being set. > Signed-off-by: Peng Fan Applied to u-boot-imx,

[PATCH] i.MX8ULP: add display_ele_fw_version api

2022-05-20 Thread sbabic
> implement get f/w version api. > print ele f/w version in spl. > Signed-off-by: Gaurav Jain > Reviewed-by: Peng Fan > Reviewed-by: Pankaj Gupta Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX

[PATCH v2 6/8] ARM: dts: imx: Configure FEC for iMX6QDL picoITX

2022-05-20 Thread sbabic
> Add a u-boot dtsi for configuring the FEC node of the DH picoITX. > Reviewed-by: Marek Vasut > Signed-off-by: Philip Oberfichtner Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

  1   2   >