[PATCH v1 2/5] configs: verdin-imx8mm: enable spl_gpio_hog

2023-07-11 Thread Marcel Ziswiler
From: Andrejs Cainikovs Enable CONFIG_SPL_GPIO_HOG option to be able to control GPIO hogs from SPL. Signed-off-by: Andrejs Cainikovs Signed-off-by: Marcel Ziswiler --- configs/verdin-imx8mm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/verdin-imx8mm_defconfig b

[PATCH v1 0/5] verdin-imx8mm/verdin-imx8mp: fix ctrl_sleep_moci# handling

2023-07-11 Thread Marcel Ziswiler
From: Marcel Ziswiler This series first synchronises the device tree to get some fixes thereof from Linux and then goes about fixing the CTRL_SLEEP_MOCI# handling we lately found to be problematic in certain cases (e.g. on the Yavia carrier board). Andrejs Cainikovs (4): configs: verdin

[PATCH v1 1/5] verdin-imx8mm/verdin-imx8mp: synchronise device trees with linux

2023-07-11 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device trees with linux v6.5-rc1. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx8mm-mx8menlo.dts| 17 +-- arch/arm/dts/imx8mm-verdin-dahlia.dtsi | 150 arch/arm/dts/imx8mm-verdin-dev.dtsi | 97

[PATCH v1 4/5] configs: verdin-imx8mp: enable spl_gpio_hog

2023-07-11 Thread Marcel Ziswiler
From: Andrejs Cainikovs Enable CONFIG_SPL_GPIO_HOG option to be able to control GPIO hogs from SPL. Signed-off-by: Andrejs Cainikovs Signed-off-by: Marcel Ziswiler --- configs/verdin-imx8mp_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/verdin-imx8mp_defconfig b

[PATCH v1 5/5] arm64: dts: verdin-imx8mp: add ctrl_sleep_moci# hog

2023-07-11 Thread Marcel Ziswiler
noticed on the Yavia carrier board where it is needed to power the I2C EEPROM on the carrier board. Signed-off-by: Andrejs Cainikovs Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx8mp-verdin-wifi-dev-u-boot.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts

[PATCH v1 3/5] arm64: dts: verdin-imx8mm: add ctrl_sleep_moci# hog

2023-07-11 Thread Marcel Ziswiler
noticed on the Yavia carrier board where it is needed to power the I2C EEPROM on the carrier board. Signed-off-by: Andrejs Cainikovs Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx8mm-verdin-wifi-dev-u-boot.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts

[PATCH v3 1/3] toradex: tdx-cfg-block: add verdin am62 skus

2023-07-15 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 v3 2/3] arm: mach-k3: am62: fix 2nd mux option of clkout0

2023-07-15 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 v3 0/3] board: toradex: add verdin am62 support

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

Re: Strange construct in binman description

2023-07-23 Thread Marcel Ziswiler
Hi Simon On Jul 23, 2023 05:48, Simon Glass wrote: Hi Marcel, I just noticed this in an imx8 description: binman_configuration: @config-SEQ { I remember having stumbled over this before but I do not remember any exact details, sorry. Since this is a generator node, binman blindly generates a

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

2023-07-24 Thread Marcel Ziswiler
Hi Nishanth On Fri, 2023-07-21 at 08:37 -0500, Nishanth Menon wrote: > On 09:40-20230715, Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > > > This adds initial support for the Toradex Verdin AM62 Quad 1GB WB IT > > V1.0A module. They are strapped to boot from

Re: [PATCH v1] board: toradex: verdin-imx8mp: enable usb device and fastboot support

2023-10-17 Thread Marcel Ziswiler
Hi Stefano Maybe you missed that one (i.MX 8M Plus vs. Mini)? Thanks! Cheers Marcel On Mon, 2023-08-28 at 19:24 -0300, Fabio Estevam wrote: > Hi Marcel, > > On Mon, Aug 28, 2023 at 6:38 PM Marcel Ziswiler wrote: > > > > From: Marcel Ziswiler > > > > Enabl

[REGRESSION] imx: spl_imx_romapi: boot loops

2023-10-24 Thread Marcel Ziswiler
Hi On our weekly master upstream CI build we noticed Verdin iMX8M Plus boot looping. Bisecting pointed to the following commit: commit 4b4472438f5a ("imx: spl_imx_romapi: avoid tricky use of spl_load_simple_fit() to get full FIT size") It looks like this introduced a regression. Before and a

Re: [REGRESSION] imx: spl_imx_romapi: boot loops

2023-10-24 Thread Marcel Ziswiler
Hi Rasmus Thanks for your help. On Tue, 2023-10-24 at 11:18 +0200, Rasmus Villemoes wrote: [snip] > Hm. Can you show the result of 'fdtdump u-boot.itb | head' ⬢[zim@toolbox u-boot.git]$ fdtdump u-boot.itb | head fdtdump is a low-level debugging tool, not meant for general use. If y

Re: [REGRESSION] imx: spl_imx_romapi: boot loops

2023-10-24 Thread Marcel Ziswiler
Hi Rasmus Thanks again. On Tue, 2023-10-24 at 13:17 +0200, Rasmus Villemoes wrote: [snip] > > > > So this is interesting. I tried disabling CONFIG_IMX_HAB (because that > case doesn't create an .itb with external data) and boot on a board > which is not locked down, and I get > > Trying to b

Re: [REGRESSION] imx: spl_imx_romapi: boot loops

2023-10-25 Thread Marcel Ziswiler
Hi Fabio Thanks! On Wed, 2023-10-25 at 09:20 -0300, Fabio Estevam wrote: > Hi Marcel, > > On Tue, Oct 24, 2023 at 10:16 AM Marcel Ziswiler > wrote: > > > Yes, regular eMMC boot. Serial download also works for me (note this > > requires a patch still not merged &g

Re: [REGRESSION] imx: spl_imx_romapi: boot loops

2023-10-25 Thread Marcel Ziswiler
Hi Rasmus On Tue, 2023-10-24 at 16:32 +0200, Rasmus Villemoes wrote: > On 24/10/2023 15.15, Marcel Ziswiler wrote: > > Hi Marcel > > tl;dr: can you try > > @@ -330,7 +335,7 @@ static int spl_romapi_load_image_stream(struct > spl_image_info *spl_image, > >

[PATCH v1 1/2] imx: spl_imx_romapi: fix comment about stream(usb) download failure

2023-10-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix comment about Stream(USB) download failure. Fixes: 1cbebc786276 ("imx: add rom api support") Signed-off-by: Marcel Ziswiler --- arch/arm/mach-imx/spl_imx_romapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/ar

[PATCH v1 0/2] imx: spl_imx_romapi: fixes

2023-10-26 Thread Marcel Ziswiler
From: Marcel Ziswiler The first patch is a trivial spelling fix in comments. The second fixes a recent regression that only manifests in the eMMC fast boot mode case which does actually also use streaming rather than seekable. Thanks go to Rasmus who helped me debug this and suggested the fix

[PATCH v1 2/2] imx: spl_imx_romapi: fix emmc fast boot mode case

2023-10-26 Thread Marcel Ziswiler
From: Marcel Ziswiler This fixes a regression in the eMMC fast boot mode case where the buffer was missing 464 bytes. The code figures out how many bytes must at least be fetched to honor the current read, rounds that up to the ss->pagesize [which is a no-op in the USB download case beca

Re: [REGRESSION] imx: spl_imx_romapi: boot loops

2023-10-26 Thread Marcel Ziswiler
Hi Rasmus On Wed, 2023-10-25 at 20:35 +0200, Rasmus Villemoes wrote: > On 25/10/2023 18.01, Marcel Ziswiler wrote: > > Hi Rasmus > > > > On Tue, 2023-10-24 at 16:32 +0200, Rasmus Villemoes wrote: > > > > What am I missing? > > > > Good question. Som

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

2023-10-26 Thread Marcel Ziswiler
Hi Fabien and Macpaul Thanks for your patch set. On Fri, 2023-08-04 at 19:04 +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-o

Re: [PATCH 1/3] arm: dts: k3-am625-sk-u-boot.dtsi: Update main_bcdma and main_pktdma nodes

2023-10-28 Thread Marcel Ziswiler
On Fri, 2023-10-27 at 16:46 +0300, Roger Quadros wrote: > From: Siddharth Vadapalli > > Update main_bcdma and main_pktdma nodes for native configuration in the > absence of DM services. > > Reported-by: Nishanth Menon > Signed-off-by: Siddharth Vadapalli > Signed-off-by: Roger Quadros > --- >

Re: [PATCH 2/3] arm: dts: k3-am625-verdin-wifi-dev-u-boot.dtsi: Fix DMA/Ethernet

2023-10-28 Thread Marcel Ziswiler
> Signed-off-by: Roger Quadros With just one minor nitpick blow. Tested-by: Marcel Ziswiler > --- >  .../dts/k3-am625-verdin-wifi-dev-u-boot.dtsi  | 27 +++ >  1 file changed, 27 insertions(+) > > diff --git a/arch/arm/dts/k3-am625-verdin-wifi-dev-u-boot.dtsi >

Re: [PATCH 0/3] arm: dts: k3-am6: Fix Ethernet/DMA

2023-10-28 Thread Marcel Ziswiler
Hi Nishanth On Fri, 2023-10-27 at 15:46 -0500, Nishanth Menon wrote: > On 16:46-20231027, Roger Quadros wrote: > > Hi, > > > > Since commit [1], Ethernet is broken on TI AM62 and AM64 platforms. > > > > The commit [1] is not the culprit. It just unearths the problem by fixing > > the error check

Re: [PATCH v1 2/2] imx: spl_imx_romapi: fix emmc fast boot mode case

2023-11-02 Thread Marcel Ziswiler
Hi Stefano On Thu, 2023-10-26 at 10:36 +0200, Stefano Babic wrote: > On 26.10.23 10:29, Rasmus Villemoes wrote: > > On 26/10/2023 09.32, Marcel Ziswiler wrote: > > > From: Marcel Ziswiler > > > > > > This fixes a regression in the eMMC fast boot mode case wh

TF-A Hang on NXP i.MX 8M Plus QuadLite

2023-11-02 Thread Marcel Ziswiler
Hi there We recently got our first batch of i.MX 8M Plus QuadLite based SoMs. While NXP downstream works just fine on them they just hang booting with latest upstream U-Boot (and TF-A). Replacing TF-A with the downstream NXP one made upstream U-Boot work as well. Further debugging TF-A showed i

Re: [PATCH v2 0/8] Add DFU, emmc and usb boot for TI am62x

2023-08-21 Thread Marcel Ziswiler
Hi Sjoerd On Thu, 2023-06-01 at 08:37 +0200, Sjoerd Simons wrote: > On Wed, 2023-05-31 at 17:14 -0400, Tom Rini wrote: > > On Thu, Apr 06, 2023 at 08:55:34PM +0200, Sjoerd Simons wrote: > > > > > This series adds more boot sources for the TI am62x. For that the > > > dts' > > > are synced from th

[PATCH v1] board: toradex: verdin-imx8mm: enable usb sdp spl recovery support

2023-08-22 Thread Marcel Ziswiler
From: Marcel Ziswiler Enable USB SDP SPL aka serial downloader recovery mode support. While at it also enable fastboot support which may be used to subsequently load further stages like a Toradex Easy Installer FIT image. Signed-off-by: Marcel Ziswiler --- .../dts/imx8mm-verdin-wifi-dev-u

Re: [PATCH V5 02/17] include: configs: am62x_evm: Drop unused SDRAM address

2023-08-24 Thread Marcel Ziswiler
On Thu, 2023-08-24 at 07:05 -0500, Nishanth Menon wrote: > On 10:13-20230824, Mattijs Korpershoek wrote: > > Hi Nishanth, > > > > On mer., août 23, 2023 at 22:10, Nishanth Menon wrote: > > > > > Drop unused macro. This was meant for a second region of DDR which we > > > do not need for AM62x evm

Re: [PATCH v7 1/2] phy: phy-imx8mq-usb: add vbus regulator support

2023-08-24 Thread Marcel Ziswiler
rek Vasut Tested-by: Marcel Ziswiler > --- > v7: >  - add #ifdef protection around clk_disable error path > > v6: >  - move changes to clk to separate patch >  - sort new vars in reverse christmas tree style > > v5: >  - remove #if CONFIG_IS_ENABLED around struct

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

2023-08-25 Thread Marcel Ziswiler
Sali Alexander On August 25, 2023 6:24:01 PM GMT+02:00, "Sverdlin, Alexander" wrote: >Hello Marcel, > >On Fri, 2023-08-25 at 15:20 +0200, Alexander Sverdlin wrote: >> > +Build U-Boot for R5 >> > +--- >> > + >> > +.. code-block:: bash >> > + >> > +    $ export ARCH=arm >> > +    $

Re: [PATCH v2] arm: dts: imx8m: move CAAM nodes into common u-boot.dtsi

2023-08-26 Thread Marcel Ziswiler
bled. > > Signed-off-by: Tim Harvey Reviewed-by: Marcel Ziswiler > --- > v2: >  - fix invalid ifdef >  - add rb tags from Fabio and Peng > --- >  arch/arm/dts/imx8mm-evk-u-boot.dtsi   | 16 --- >  .../dts/imx8mm-kontron-bl-common-u-boot.dtsi  |

Re: [PATCH v2 1/3] arm: dts: imx8mm: move firmware/optee node to common imx8mm-u-boot.dtsi

2023-08-26 Thread Marcel Ziswiler
Reviewed-by: Fabio Estevam For the entire series. Reviewed-by: Marcel Ziswiler > --- > v2: added Fabio's rb tag > --- >  arch/arm/dts/imx8mm-cl-iot-gate-optee-u-boot.dtsi | 7 --- >  arch/arm/dts/imx8mm-cl-iot-gate-u-boot.dtsi   | 7 --- >  arch/arm/dts

[PATCH v1] board: toradex: verdin-imx8mp: enable usb device and fastboot support

2023-08-28 Thread Marcel Ziswiler
From: Marcel Ziswiler Enable USB device and fastboot support which may be used to load the Toradex Easy Installer FIT image. While at it also enable USB mass storage aka UMS support. Note that the i.MX 8M Plus recovery mode support is based on the USB boot stage of the BOOTROM and does NOT

[PATCH v1] include: configs: verdin-am62: drop unused sdram address

2023-08-28 Thread Marcel Ziswiler
From: Marcel Ziswiler Drop unused macro. This was copied straight from the AM62x EVM but while meant for a second region of DDR this is not even needed for the AM62x EVM configurations and has meanwhile also been dropped there. Note that on the Verdin AM62, we do auto-detect the amount of SDRAM

Re: [PATCH V5 02/17] include: configs: am62x_evm: Drop unused SDRAM address

2023-08-28 Thread Marcel Ziswiler
On Thu, 2023-08-24 at 18:15 +0200, Francesco Dolcini wrote: [snip] > > > > > What about include/configs/verdin-am62.h ? > > > > > > > > > > It seems that that board, which is am62x based, also has the un-needed > > > > > include. > > > > > > > > > > Since i'm not 100% sure, I have added Marcel

[PATCH v1 0/2] doc: board: toradex: documentation update

2023-08-28 Thread Marcel Ziswiler
From: Marcel Ziswiler This series contains some minor documentation updates. The second commit documents what got discussed here [1] and therefore depends on Emanuele's series landing first. [1] https://lore.kernel.org/all/zodsx2vmnf20i...@francesco-nb.int.toradex.com Marcel Ziswil

[PATCH v1 1/2] doc: board: toradex: minor documentation update

2023-08-28 Thread Marcel Ziswiler
From: Marcel Ziswiler - Update SPDX-License-Identifier from obsolete GPL-2.0+ to GPL-2.0-or-later. - Add links to product websites of SoM and carrier board where missing. - Add information about update U-Boot wrapper where missing. - Add sectionauthor where missing. - Update information about

[PATCH v1 2/2] doc: board: toradex: verdin-am62: document update u-boot wrapper

2023-08-28 Thread Marcel Ziswiler
From: Marcel Ziswiler Now with the update U-Boot wrappers having been sorted out, document their usage. Signed-off-by: Marcel Ziswiler --- doc/board/toradex/verdin-am62.rst | 14 ++ 1 file changed, 14 insertions(+) diff --git a/doc/board/toradex/verdin-am62.rst b/doc/board

Re: [PATCH v1 1/2] verdin-am62: add u-boot update wrappers

2023-08-28 Thread Marcel Ziswiler
On Thu, 2023-08-24 at 16:42 +0200, Francesco Dolcini wrote: > Hello Nishanth, > > On Thu, Aug 24, 2023 at 07:10:57AM -0500, Nishanth Menon wrote: > > On 13:19-20230824, Francesco Dolcini wrote: > > > On Thu, Aug 24, 2023 at 10:08:49AM +0200, Emanuele Ghidoli wrote: > > > > From: Emanuele Ghidoli

Re: [PATCH 02/32] spl: Use CONFIG_SPL... instead of CONFIG_..._SPL_...

2023-08-31 Thread Marcel Ziswiler
; Signed-off-by: Simon Glass Reviewed-by: Marcel Ziswiler [snip] Cheers Marcel

Re: [PATCH] verdin-imx8mp: drop unused tdx easy installer ifdef

2023-09-04 Thread Marcel Ziswiler
Hi Hiago Thanks! On Mon, 2023-09-04 at 10:24 -0300, Hiago De Franco wrote: > From: Hiago De Franco > > Drop unused code related to CONFIG_TDX_EASY_INSTALLER, that existed only on > toradex downstream branch. > > Signed-off-by: Hiago De Franco Acked-by: Marcel Ziswiler

Re: [PATCH v3 00/16]Introduce initial TI's J784S4 and AM69 support

2023-09-12 Thread Marcel Ziswiler
On Fri, 2023-09-08 at 16:35 +0530, Apurva Nandan wrote: > Hello Everyone! > > This series will introduce basic support (SD and UART) support for Texas > Instruments J784S4 EVM. > > The J784S4 SoC device tree patches are taken from kernel patch submissions > and will be updated as they are accepte

Re: [PATCH v3 02/16] arm: mach-k3: Add basic support for J784S4 SoC definition

2023-09-12 Thread Marcel Ziswiler
On Fri, 2023-09-08 at 16:35 +0530, Apurva Nandan wrote: > Add j784s4 initialization files for initial SPL boot. > > Signed-off-by: Hari Nagalla > [ add firewall configurations and change the R5 MCU scratchpad ] > Signed-off-by: Manorit Chawdhry > Signed-off-by: Dasnavis Sabiya > Signed-off-by:

Re: [PATCH v3 03/16] soc: ti: k3-socinfo: Add entry for J784S4 SoC

2023-09-12 Thread Marcel Ziswiler
On Fri, 2023-09-08 at 16:35 +0530, Apurva Nandan wrote: > Add support for J784S4 SoC Identification. > > Signed-off-by: Hari Nagalla > Signed-off-by: Apurva Nandan > --- >  arch/arm/mach-k3/include/mach/hardware.h | 1 + >  drivers/soc/soc_ti_k3.c  | 3 +++ >  2 files changed, 4 in

Re: [PATCH v3 04/16] arm: mach-k3: j784s4: Add clk and power support

2023-09-12 Thread Marcel Ziswiler
On Fri, 2023-09-08 at 16:35 +0530, Apurva Nandan wrote: > Add clk and device data which can be used by respective drivers > to configure clocks and PSC. > > Signed-off-by: Hari Nagalla > Signed-off-by: Apurva Nandan > --- >  arch/arm/mach-k3/j784s4/Makefile   |   5 + >  arch/arm/mach-k3/j784

Re: [PATCH v3 05/16] drivers: dma: Add support for J784S4 SoC

2023-09-12 Thread Marcel Ziswiler
On Fri, 2023-09-08 at 16:35 +0530, Apurva Nandan wrote: > Add support for DMA in J784S4 SoC. > > Signed-off-by: Jayesh Choudhary > Signed-off-by: Hari Nagalla > Signed-off-by: Apurva Nandan > --- >  drivers/dma/ti/Makefile   |   1 + >  drivers/dma/ti/k3-psil-j784s4.c   | 166 +++

Re: [PATCH v3 10/16] arm: dts: Introduce am69-sk dts from linux kernel

2023-09-12 Thread Marcel Ziswiler
On Fri, 2023-09-08 at 16:35 +0530, Apurva Nandan wrote: > From: Dasnavis Sabiya > > Introduce the basic am69-sk evm dts from the next-20230905 tag of the > linux kernel. > > Signed-off-by: Dasnavis Sabiya > Signed-off-by: Apurva Nandan > --- >  arch/arm/dts/Makefile   |   3 +- >  arch/arm/

Re: [PATCH v3 13/16] arm: dts: Introduce am69-sk u-boot dts files

2023-09-12 Thread Marcel Ziswiler
On Fri, 2023-09-08 at 16:35 +0530, Apurva Nandan wrote: > From: Dasnavis Sabiya > > Introduce the base dts files needed for u-boot or to augment the linux > dtbs for use in the u-boot-spl and u-boot binaries. > > Signed-off-by: Dasnavis Sabiya > Signed-off-by: Apurva Nandan > --- >  arch/arm/d

Re: [PATCH v3 16/16] doc: board: ti: k3: Add J784S4 EVM and AM69 SK documentation

2023-09-12 Thread Marcel Ziswiler
On Fri, 2023-09-08 at 16:35 +0530, Apurva Nandan wrote: > TI K3 J784S4 and AM69 SK are new additions to the K3 SoC family. > Add documentation about the J784S4 EVM and AM69 SK. > > Signed-off-by: Dasnavis Sabiya > Signed-off-by: Apurva Nandan > --- >  board/ti/j784s4/MAINTAINERS |   1 + >  doc/b

[PATCH v1] verdin-imx8mm: verdin-imx8mp: drop obsolete net/phy configs

2022-09-21 Thread Marcel Ziswiler
From: Marcel Ziswiler Drop obsolete networking/PHY related configuration defines. Signed-off-by: Marcel Ziswiler --- include/configs/verdin-imx8mm.h | 3 --- include/configs/verdin-imx8mp.h | 8 2 files changed, 11 deletions(-) diff --git a/include/configs/verdin-imx8mm.h b

Re: [PATCH v2 4/5] verdin-imx8mm: various config additions and improvements

2022-09-22 Thread Marcel Ziswiler
Hi Stefano On Mon, 2022-09-19 at 14:39 +0200, Stefano Babic wrote: > On 18.09.22 22:41, sba...@denx.de wrote: > > > From: Marcel Ziswiler > > > - integrate bootcount using SNVS_LP general purpose register LPGPR0 > > > - enable link-time optimisation > > &g

[PATCH v3 0/3] verdin-imx8mm: verdin-imx8mp: various additions and improvements

2022-09-22 Thread Marcel Ziswiler
From: Marcel Ziswiler Various additions and improvements for the Verdin iMX8M Mini and Verdin iMX8M Plus: - updated env memory layout - verdin-imx8mm: prepare for optional job ring driver model (already applied) - verdin-imx8mm: improve and extend boot devices (already applied) - various

[PATCH v3 1/3] verdin-imx8mm: verdin-imx8mp: update env memory layout (again)

2022-09-22 Thread Marcel Ziswiler
From: Marcel Ziswiler Update the distro config env memory layout for the Verdin iMX8M Mini and Verdin iMX8M Plus again: - loadaddr=0x4820 allows for 128MB area for uncompressing (ie FIT images, kernel_comp_addr_r, kernel_comp_size) - fdt_addr_r = loadaddr + 128MB - allows for 128MB kernel

[PATCH v3 2/3] verdin-imx8mm: various config additions and improvements

2022-09-22 Thread Marcel Ziswiler
From: Marcel Ziswiler - enable bootcount command - integrate bootcount using SNVS_LP general purpose register LPGPR0 - enable link-time optimisation - explicitly set a boot delay of one second - enable CRC32 and MD5 - enable command for low-level access to data in a partition - enable time

[PATCH v3 3/3] verdin-imx8mp: various config additions and improvements

2022-09-22 Thread Marcel Ziswiler
From: Marcel Ziswiler - enable bootcount command - enable CRC32 and MD5 - enable time commands - enable GPIO LED support - enable further eMMC HS400 functionality - enable fixed PHY and MDIO driver model - enable USB host functionality - enable thermal management unit driver - enable hexdump

Re: [PATCH v2 4/5] verdin-imx8mm: various config additions and improvements

2022-09-22 Thread Marcel Ziswiler
On Thu, 2022-09-22 at 17:36 +0200, Stefano Babic wrote: > On 22.09.22 17:03, Marcel Ziswiler wrote: > > Hi Stefano > > > > On Mon, 2022-09-19 at 14:39 +0200, Stefano Babic wrote: > > > On 18.09.22 22:41, sba...@denx.de wrote: > > > > > From: Marcel Zi

Re: [PATCH 1/2] board: verdin-imx8mm: add call to ft_common_board_setup

2022-09-23 Thread Marcel Ziswiler
ig-block > toradex,board-rev: The version of the module (e.g. V1.1A) > toradex,product-id: The SKU number of the module running > > Fixes: commit 14d5aeff776b ("board: toradex: Add Verdin iMX8M Mini support") > Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswile

Re: [PATCH 2/2] board: verdin-imx8mp: add call to ft_common_board_setup

2022-09-23 Thread Marcel Ziswiler
ig-block > toradex,board-rev: The version of the module (e.g. V1.1A) > toradex,product-id: The SKU number of the module runnin > > Fixes: commit 2bc2f817cea7 ("board: toradex: add verdin imx8m plus support") > Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler >

[PATCH] apalis/colibri_imx6/-imx6ull/_imx7: update env memory layout

2022-09-27 Thread Marcel Ziswiler
From: Marcel Ziswiler Update the distro config env memory layout for the Apalis iMX6, Colibri iMX6, Colibri iMX6ULL and Colibri iMX7: - loadaddr=0x8420 allows for 64MB area for uncompressing (ie FIT images) - fdt_addr_r = loadaddr + 64MB : allows for 64MB kernel - scriptaddr = fdt_addr_r

[PATCH v2] apalis/colibri_imx6/-imx6ull/_imx7: update env memory layout

2022-09-27 Thread Marcel Ziswiler
From: Marcel Ziswiler Update the distro config env memory layout for the Apalis iMX6, Colibri iMX6, Colibri iMX6ULL and Colibri iMX7: - loadaddr=0x8420 (resp. 0x1420 on them i.MX 6) allows for 64MB area for uncompressing (ie FIT images) - fdt_addr_r = loadaddr + 64MB : allows for 64MB

Re: [PATCH v1 0/3] verdin-imx8mp: enable caam

2022-10-04 Thread Marcel Ziswiler
l: initialize caam >   configs: verdin-imx8mp: enable caam Whole series Acked-by: Marcel Ziswiler >  arch/arm/dts/imx8mp-verdin-wifi-dev-u-boot.dtsi | 16 >  board/toradex/verdin-imx8mp/spl.c   | 11 +++ >  configs/verdin-imx8mp_defconfig

Re: [PATCH v4] imx: support i.MX8QM DMSSE20 a1 board

2022-10-06 Thread Marcel Ziswiler
Hi Oliver On Wed, 2022-10-05 at 16:22 +0200, oliver.gra...@kococonnector.com wrote: > On 13/07/22, Marcel Ziswiler wrote: [snip] > > > > + */ > > > + > > > +/dts-v1/; > > > + > > > +/* First 128KB is for PSCI ATF. */ > > > +/mem

[PATCH v1 0/5] verdin-imx8mm: verdin-imx8mp: various additions and improvements

2022-08-18 Thread Marcel Ziswiler
From: Marcel Ziswiler Various additions and improvements for the Verdin iMX8M Mini and Verdin iMX8M Plus: - updated env memory layout - verdin-imx8mm: prepare for optional job ring driver model - verdin-imx8mm: improve and extend boot devices - various config additions and improvements

[PATCH v1 1/5] verdin-imx8mm: verdin-imx8mp: update env memory layout

2022-08-18 Thread Marcel Ziswiler
From: Marcel Ziswiler Update the distro config env memory layout for the Verdin iMX8M Mini and Verdin iMX8M Plus: - loadaddr=0x4820 allows for 128MB area for uncompressing (ie FIT images, kernel_comp_addr_r, kernel_comp_size) - fdt_addr_r = loadaddr + 128MB - allows for 128MB kernel

[PATCH v1 2/5] verdin-imx8mm: prepare for optional job ring driver model

2022-08-18 Thread Marcel Ziswiler
From: Marcel Ziswiler Prepare for optional job ring driver model. Sec may be initialized based on the job ring information processed from the device tree. Signed-off-by: Marcel Ziswiler --- board/toradex/verdin-imx8mm/spl.c | 9 + 1 file changed, 9 insertions(+) diff --git a/board

[PATCH v1 3/5] verdin-imx8mm: improve and extend boot devices

2022-08-18 Thread Marcel Ziswiler
From: Marcel Ziswiler - Annotate boot devices available in spl_board_boot_device(). - Drop SD3_BOOT/MMC3_BOOT not available for boot on Verdin iMX8M Mini. Signed-off-by: Marcel Ziswiler --- board/toradex/verdin-imx8mm/spl.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff

[PATCH v1 4/5] verdin-imx8mm: various config additions and improvements

2022-08-18 Thread Marcel Ziswiler
From: Marcel Ziswiler - integrate bootcount using SNVS_LP general purpose register LPGPR0 - enable link-time optimisation - explicitly set a boot delay of one second - enable CRC32 and MD5 - enable command for low-level access to data in a partition - enable time commands - enable PMIC commands

[PATCH v1 5/5] verdin-imx8mp: various config additions and improvements

2022-08-18 Thread Marcel Ziswiler
From: Marcel Ziswiler - integrate bootcount using SNVS_LP general purpose register LPGPR0 - enable CRC32 and MD5 - enable time commands - enable GPIO LED support - enable further eMMC HS400 functionality - enable fixed PHY and MDIO driver model - enable USB host functionality - enable thermal

[PATCH v2 0/5] verdin-imx8mm: verdin-imx8mp: various additions and improvements

2022-08-22 Thread Marcel Ziswiler
From: Marcel Ziswiler Various additions and improvements for the Verdin iMX8M Mini and Verdin iMX8M Plus: - updated env memory layout - verdin-imx8mm: prepare for optional job ring driver model - verdin-imx8mm: improve and extend boot devices - various config additions and improvements

[PATCH v2 2/5] verdin-imx8mm: prepare for optional job ring driver model

2022-08-22 Thread Marcel Ziswiler
From: Marcel Ziswiler Prepare for optional job ring driver model. Sec may be initialized based on the job ring information processed from the device tree. Signed-off-by: Marcel Ziswiler --- (no changes since v1) board/toradex/verdin-imx8mm/spl.c | 9 + 1 file changed, 9 insertions

[PATCH v2 3/5] verdin-imx8mm: improve and extend boot devices

2022-08-22 Thread Marcel Ziswiler
From: Marcel Ziswiler - Annotate boot devices available in spl_board_boot_device(). - Drop SD3_BOOT/MMC3_BOOT not available for boot on Verdin iMX8M Mini. Signed-off-by: Marcel Ziswiler --- (no changes since v1) board/toradex/verdin-imx8mm/spl.c | 8 ++-- 1 file changed, 2 insertions

[PATCH v2 5/5] verdin-imx8mp: various config additions and improvements

2022-08-22 Thread Marcel Ziswiler
From: Marcel Ziswiler - integrate bootcount using SNVS_LP general purpose register LPGPR0 - enable CRC32 and MD5 - enable time commands - enable GPIO LED support - enable further eMMC HS400 functionality - enable fixed PHY and MDIO driver model - enable USB host functionality - enable thermal

[PATCH v2 1/5] verdin-imx8mm: verdin-imx8mp: update env memory layout

2022-08-22 Thread Marcel Ziswiler
From: Marcel Ziswiler Update the distro config env memory layout for the Verdin iMX8M Mini and Verdin iMX8M Plus: - loadaddr=0x4828 allows for 128.5MB area for uncompressing (ie FIT images, kernel_comp_addr_r, kernel_comp_size) - fdt_addr_r = loadaddr + 127.5MB : allows for 127.5MB kernel

[PATCH v2 4/5] verdin-imx8mm: various config additions and improvements

2022-08-22 Thread Marcel Ziswiler
From: Marcel Ziswiler - integrate bootcount using SNVS_LP general purpose register LPGPR0 - enable link-time optimisation - explicitly set a boot delay of one second - enable CRC32 and MD5 - enable command for low-level access to data in a partition - enable time commands - enable PMIC commands

[PATCH v1 1/8] vf610: synchronise device tree with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1 plus the recent DDR pinmux addition still being in-flight. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/vf610-pinfunc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/vf610-pinfunc.h b/arch

[PATCH v1 2/8] imxrt1020: fix lpuart issue in common u-boot device tree

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix lpuart issue in common U-Boot device tree. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imxrt1020-evk-u-boot.dtsi | 7 --- arch/arm/dts/imxrt1020-evk.dts | 1 - 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/imxrt1020-evk

[PATCH v1 3/8] imxrt1050: synchronise device tree with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imxrt1050-evk-u-boot.dtsi | 25 +- arch/arm/dts/imxrt1050-evk.dts | 257 +++- arch/arm/dts/imxrt1050-pinfunc.h| 2 +- arch/arm

[PATCH v1 0/8] arm: dts: imx: sync device trees with upstream linux kernel part 1

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler This series synchronises them imx device trees with the upstream Linux kernel (v6.0-rc1). I split it into two parts. This is part 1. It also fixes a few issues as discussed during/after the pre-mature application of my first series [1]. I am not touching kontron-sl-mx6ul

[PATCH v1 5/8] imx8mq: synchronise device tree with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx8mq-evk.dts | 43 + arch/arm/dts/imx8mq-u-boot.dtsi | 10 ++-- arch/arm/dts/imx8mq.dtsi | 15 +++--- include/dt-bindings

[PATCH v1 4/8] imx8ulp: synchronise device tree with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx8ulp-evk-u-boot.dtsi | 6 +- arch/arm/dts/imx8ulp-evk.dts | 191 +- arch/arm/dts/imx8ulp-pinfunc.h| 4 +- arch/arm/dts

[PATCH v1 7/8] imx8mn: synchronise device tree with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx8mn-beacon-baseboard.dtsi | 4 +- arch/arm/dts/imx8mn-beacon-kit-u-boot.dtsi| 2 +- .../dts/imx8mn-bsh-smm-s2-u-boot-common.dtsi | 2 +- arch/arm/dts/imx8mn-ddr4

[PATCH v1 6/8] imx8mp: synchronise device tree with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx8mp-dhcom-pdk2.dts | 27 +++-- arch/arm/dts/imx8mp-dhcom-som.dtsi | 20 +--- arch/arm/dts/imx8mp-evk.dts | 126 +++- arch

[PATCH v1 8/8] imx8mm: synchronise device tree with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx8mm-beacon-baseboard.dtsi | 4 +- arch/arm/dts/imx8mm-evk.dtsi | 43 +++ arch/arm/dts/imx8mm-icore-mx8mm.dtsi | 12 +++--- arch/arm/dts

[PATCH v1 02/16] imx7d: synchronise device tree with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- include/dt-bindings/reset/imx7-reset.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/reset/imx7-reset.h b/include/dt-bindings/reset/imx7-reset.h index bb92452ffb8

[PATCH v1 05/16] imx6ulz: synchronise device tree with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx6ulz.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/imx6ulz.dtsi b/arch/arm/dts/imx6ulz.dtsi index aeb2ddc540e..0b5f1a76356 100644 --- a/arch/arm/dts

[PATCH v1 03/16] imx6ul: synchronise device tree with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx6ul-14x14-evk-u-boot.dtsi | 2 +- arch/arm/dts/imx6ul-phytec-segin.dtsi | 5 arch/arm/dts/imx6ul.dtsi | 36 +++ 3 files

[PATCH v1 04/16] imx6ull: synchronise device tree with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx6ull-colibri.dtsi | 10 +++--- arch/arm/dts/imx6ull.dtsi | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/imx6ull-colibri.dtsi

[PATCH v1 00/16] arm: dts: imx: sync device trees with upstream linux kernel part 2

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler This series synchronises them imx device trees with the upstream Linux kernel (v6.0-rc1). I split it into two parts. This is part 2. It also fixes a few issues as discussed during/after the pre-mature application of my first series [1]. I am not touching kontron-sl-mx6ul

[PATCH v1 06/16] imx6sx: synchronise device tree with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx6sx-sabreauto.dts | 623 +++- arch/arm/dts/imx6sx-sdb.dts | 8 +- arch/arm/dts/imx6sx-sdb.dtsi| 56 +- arch/arm

[PATCH v1 10/16] imx6qdl: synchronise device tree with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx6q-sabrelite.dts| 11 ++- arch/arm/dts/imx6qdl-sabrelite.dtsi | 11 ++- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/arch/arm/dts

[PATCH v1 08/16] imx6sl: synchronise device tree with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx6sl-evk.dts | 183 ++-- arch/arm/dts/imx6sl-pinfunc.h| 6 +- arch/arm/dts/imx6sl.dtsi | 362

[PATCH v1 09/16] imx6qp: synchronise device tree with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx6qp-sabreauto.dts | 7 ++- arch/arm/dts/imx6qp-sabresd.dts | 10 +- arch/arm/dts/imx6qp.dtsi | 3 +-- 3 files changed, 16 insertions(+), 4 deletions

[PATCH v1 12/16] imx51: synchronise device tree with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx51.dtsi | 24 +++- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/arch/arm/dts/imx51.dtsi b/arch/arm/dts/imx51.dtsi index 7ebb46ce9e3

[PATCH v1 14/16] imx23: synchronise device tree with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx23-evk.dts | 1 - arch/arm/dts/imx23-pinfunc.h | 8 +--- arch/arm/dts/imx23-u-boot.dtsi | 7 +++ arch/arm/dts/imx23.dtsi| 2 +- 4 files changed, 5

[PATCH v1 13/16] imx28: synchronise device tree with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx28-evk.dts | 2 +- arch/arm/dts/imx28-pinfunc.h | 8 +- arch/arm/dts/imx28-xea.dts | 188 ++- arch/arm/dts/imx28.dtsi | 20

[PATCH v1 11/16] imx53: synchronise device tree with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx53-cx9020.dts| 414 ++- arch/arm/dts/imx53-kp.dts| 2 + arch/arm/dts/imx53-m53menlo.dts | 306 ++- arch/arm/dts

[PATCH v1 15/16] tbs2910: revert prepare to synchronise device trees with linux

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Now with all synchonised revert "tbs2910: prepare to synchronise device trees with linux". This reverts commit 50b229523bbc5511e1bace34df779f84950bf872. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx6q-tbs2910-u-boot.dtsi | 4 ++-- 1 file changed, 2

[PATCH v1 16/16] imx28: avoid num_cs and spi_max_frequency build errors

2022-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Avoid the following build errors after the device tree sync: drivers/spi/mxs_spi.c: In function ‘mxs_spi_probe’: drivers/spi/mxs_spi.c:327:25: error: ‘struct dtd_fsl_imx23_spi’ has no member named ‘spi_max_frequency’ 327 | priv->max_freq = dtplat->spi_max_fre

  1   2   3   4   5   6   7   8   9   10   >