RE: [v4 03/12] spi: aspeed: Add ASPEED SPI controller driver

2022-07-07 Thread Chin-Ting Kuo
Hi Joel, > -Original Message- > From: Joel Stanley > Sent: Thursday, July 7, 2022 1:37 PM > Subject: Re: [v4 03/12] spi: aspeed: Add ASPEED SPI controller driver > > Hi Chin-Ting, > > On Tue, 24 May 2022 at 05:58, Chin-Ting Kuo > wrote: > > > > Add ASPEED BMC FMC/SPI memory controller

Re: [PATCH] spl: mmc: Use correct MMC device when loading image

2022-07-07 Thread Marek Vasut
On 7/6/22 12:58, Harald Seiler wrote: When attempting to load images from multiple MMC devices in sequence, spl_mmc_load() chooses the wrong device from the second attempt onwards. The reason is that MMC initialization is only done on its first call and spl_mmc_load() will then continue using

Re: [PATCH 01/20] Convert CONFIG_USB_OHCI_NEW et al to Kconfig

2022-07-07 Thread Tom Rini
On Sat, Jun 25, 2022 at 11:02:31AM -0400, Tom Rini wrote: > This converts the following to Kconfig: > CONFIG_SYS_OHCI_SWAP_REG_ACCESS > CONFIG_SYS_USB_OHCI_CPU_INIT > CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS > CONFIG_SYS_USB_OHCI_SLOT_NAME > CONFIG_USB_ATMEL >

Re: [PATCHv2 16/18] spl: Ensure all SPL symbols in Kconfig have some SPL dependency

2022-07-07 Thread Tom Rini
On Fri, Jun 10, 2022 at 11:03:09PM -0400, Tom Rini wrote: > Tighten up symbol dependencies in a number of places. Ensure that a SPL > specific option has at least a direct dependency on SPL. In places > where it's clear that we depend on something more specific, use that > dependency instead.

Re: [PATCHv2 07/18] Convert CONFIG_USB_XHCI_EXYNOS et al to Kconfig

2022-07-07 Thread Tom Rini
On Fri, Jun 10, 2022 at 11:03:00PM -0400, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_USB_XHCI_EXYNOS >CONFIG_USB_EHCI_EXYNOS > > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

[gitdm PATCH 2/2] logparser.py: Try and be more robust with unicode handling

2022-07-07 Thread Tom Rini
Given the sometimes oddly formatted data that can come through when removing code, we need to be as flexible as possible when handling it. Set our encoding to unicode_escape and if we still run in to a problem, it's likely going to be OK to ignore it. Signed-off-by: Tom Rini --- I've emailed

[gitdm PATCH 1/2] Merge branch 'master' into u-boot

2022-07-07 Thread Tom Rini
Bring us up to commit 0b8875225750 ("Allow multiple spaces within an email address") of the upstream gitdm project. Signed-off-by: Tom Rini --- So this isn't a real patch exactly. This shows what the single merge error would need to be corrected as, in order to bring our tree up to the

Re: [PATCH v4 1/7] tools: mkimage: Add support to generate FlexSPI Header for i.MX8m

2022-07-07 Thread Adam Ford
On Thu, Jul 7, 2022 at 7:45 AM Mamta Shukla wrote: > > Add struct with Flex SPI Configuration Block and enable generating > fspi header using mkimage. > > Refer i.MX 8M Mini Application Processor Reference Manual for > detailed information about parameters for FlexSPI Configuration block. > I

fit_check_sig not hashing everything.

2022-07-07 Thread Martin Bonner
I am running fit_check_sig on windows to understand in more details how it works. What I really want, is a _precise_ description of exactly which bytes of a FIT image are fed into the hash function (and in which order) in order to calculate the hash value. I then want to reproduce that hash

[PATCH v3 5/5] patman: Take project defaults into account for --help

2022-07-07 Thread Douglas Anderson
I'd like it so that when you do "patman send --help" and you're using Linux that it show it the proper defaults for Linux. Signed-off-by: Douglas Anderson Tested-by: Brian Norris Reviewed-by: Simon Glass --- (no changes since v2) Changes in v2: - Make comment about parsing three times less

[PATCH v3 4/5] patman: By default don't pass "--no-tree" to checkpatch for linux

2022-07-07 Thread Douglas Anderson
When you pass "--no-tree" to checkpatch it disables some extra checks that are important for Linux. Specifically I want checks like: warning: DT compatible string "boogie,woogie" appears un-documented check ./Documentation/devicetree/bindings/ Let's make the default for Linux to _not_ pass

[PATCH v3 3/5] patman: Make most bool arguments BooleanOptionalAction

2022-07-07 Thread Douglas Anderson
For boolean arguments it's convenient to be able to specify both the argument and its opposite on the command line. This is especially convenient because you can change the default via the settings file and being able express the opposite can be the only way to override things. Luckily python

[PATCH v3 2/5] patman: Don't look at sys.argv when parsing settings

2022-07-07 Thread Douglas Anderson
If you call the parser and tell it to parse but don't pass arguments in then it will default to looking at sys.argv. This isn't really what was intended and seems to have some side effects. Let's not do it. NOTE: to see some of the side effects, note that this patch breaks "patman -c1" if you

[PATCH v3 1/5] patman: Fix implicit command inserting

2022-07-07 Thread Douglas Anderson
The logic to insert an implicit command has always been a bit broken but it was masked by another bug fixed in the patch ("patman: Don't look at sys.argv when parsing settings"). Specifically, imagine that you're just calling patman like this: patman -c1 After the parse_known_args() command

[PATCH v3 0/5] patman: Small fixes plus remove --no-tree from checkpatch for linux

2022-07-07 Thread Douglas Anderson
The whole point of this series is really to make it so that when we're using patman for sending Linux patches that we don't pass "--no-tree" to checkpatch. While doing that, though, I found a number of bugs including an explanation about why recent version of patman have been yelling about "tags"

Re: [PATCH v2 1/6] patman: Fix updating argument defaults from settings

2022-07-07 Thread Doug Anderson
Hi, On Thu, Jul 7, 2022 at 8:11 AM Sean Anderson wrote: > > On 7/6/22 8:07 PM, Doug Anderson wrote: > > Hi, > > > > On Tue, Jul 5, 2022 at 11:16 AM Sean Anderson > > wrote: > >> > >> Hi Doug, > >> > >> On 7/1/22 4:23 PM, Douglas Anderson wrote: > >> > Ever since commit 4600767d294d ("patman:

Re: [PATCH v2 1/6] patman: Fix updating argument defaults from settings

2022-07-07 Thread Sean Anderson
On 7/6/22 8:07 PM, Doug Anderson wrote: > Hi, > > On Tue, Jul 5, 2022 at 11:16 AM Sean Anderson wrote: >> >> Hi Doug, >> >> On 7/1/22 4:23 PM, Douglas Anderson wrote: >> > Ever since commit 4600767d294d ("patman: Refactor how the default >> > subcommand works"), when I use patman on the Linux

Re: [PATCH] ARM: layerscape: Use ARCH_LS104?A insead of TARGET_LS104?ARDB

2022-07-07 Thread Sean Anderson
On 4/26/22 2:31 PM, Sean Anderson wrote: > These frequency calculations depend on the RCW format, which is not > dependent on any particular board. Switch to using ARCH symbols instead > of TARGET. > > This whole function could probably use less ifdefs, but for now just do > a minimal

[PATCH] i2c: avoid dynamic stack use in dm_i2c_write

2022-07-07 Thread Rasmus Villemoes
The size of the dynamic stack allocation here is bounded by the if() statement. However, just allocating the maximum size up-front and doing malloc() if necessary avoids code duplication (the i2c_setup_offset() until the invocation of ->xfer), and generates much better (smaller) code:

[PATCH v4 7/7] doc: board: nxp: Add instructions to boot from QSPI

2022-07-07 Thread Mamta Shukla
Add instructions to build and boot from QSPI Flash Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -Fix Checkpatch Error for trailing whitespace v4: -No changes doc/board/nxp/imx8mm_evk.rst | 37

[PATCH v4 5/7] configs: imx8mm: Define CONFIG_SYS_UBOOT_BASE for i.MX8m

2022-07-07 Thread Mamta Shukla
The macro `CONFIG_SYS_UBOOT_BASE` is used by SPL loaders `"NOR"` and `"XIP"` to determine the base address of u-boot. For `"NOR"` on i.MX8MM it is the base address of QSPI0 plus the offset of the flattened image tree blob. Although `QSPI0_AMBA_BASE` is used to define CONFIG_SYS_UBOOT_BASE in

[PATCH v4 6/7] board: freescale: Add entry for imx8mm_evk_fspi_defconfig

2022-07-07 Thread Mamta Shukla
Add entry for imx8mm_evk_fspi_defconfig in board/freescale/imx8mm_evk/MAINTAINERS Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -No changes v4: -No changes board/freescale/imx8mm_evk/MAINTAINERS | 1 +

[PATCH v4 4/7] board: freescale: Add QSPI Boot support in spl for i.MX8m

2022-07-07 Thread Mamta Shukla
Add QSPI Boot option in u-boot-spl for i.MX8m EVK. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -No changes v4: -No changes board/freescale/imx8mm_evk/spl.c | 2 ++ 1 file changed, 2 insertions(+)

[PATCH v4 3/7] configs: Add config for enabling FSPI boot option for i.MX8m

2022-07-07 Thread Mamta Shukla
Add imx8mm_evk_fspi_defconfig to build QSPI boot image. This config is based on imx8mm_evk_defconfig with addtional config options for FSPI Header,SPL offset and imx-image config to boot from FSPI. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by:

[PATCH v4 2/7] dts: imx8mm-uboot: Add support to pack FlexSPI Header using binman

2022-07-07 Thread Mamta Shukla
Add definition for FSPI configuration block and subsequently new offsets for u-boot-spl and u-boot-itb for CONFIG_FSPI_HEADER option. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -Fix Checkpatch ERROR:

[PATCH v4 1/7] tools: mkimage: Add support to generate FlexSPI Header for i.MX8m

2022-07-07 Thread Mamta Shukla
Add struct with Flex SPI Configuration Block and enable generating fspi header using mkimage. Refer i.MX 8M Mini Application Processor Reference Manual for detailed information about parameters for FlexSPI Configuration block. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle

[PATCH v4 0/7] Add support for FlexSPI Boot for i.MX8m

2022-07-07 Thread Mamta Shukla
This series of patch adds support for generating FlexSPI Header file and booting from QSPI on i.MX8m. Changes in v2: -Add check for error in case open() for fspi_fd in imx8mkimage.c fails -Remove extra line in commit message -Remove extra line in imx8mm_evk_fspi_defconfig -New patch in series to

Re: [PATCH] ARM: zynq: DT: Enable all FCLKs by default

2022-07-07 Thread Michal Simek
Hi Tom, On 7/7/22 14:31, Tom Rini wrote: On Thu, Jul 07, 2022 at 12:50:10PM +0200, Michal Simek wrote: From: Christian Kohn The fclk-enable property is set to 0 which disables all FCLKs. Enable all FCLKs so they can be used as clock sources in the programmable logic. Signed-off-by:

Re: [PATCH] arm: riscv: Remove additional ifdef from code guarded by CONFIG_IS_ENABLED

2022-07-07 Thread Tom Rini
On Thu, Jul 07, 2022 at 10:47:16AM +0200, Michal Simek wrote: > CONFIG_OF_LIBFDT is used twice for guarding the same code. It is enough to > do it once that's why remove additional ifdefs from arm and risc-v code. > > Fixes: 0c303f9a6628 ("image: Drop IMAGE_ENABLE_OF_LIBFDT") > Signed-off-by:

Re: [PATCH] ARM: zynq: DT: Enable all FCLKs by default

2022-07-07 Thread Tom Rini
On Thu, Jul 07, 2022 at 12:50:10PM +0200, Michal Simek wrote: > From: Christian Kohn > > The fclk-enable property is set to 0 which disables all FCLKs. > Enable all FCLKs so they can be used as clock sources in the > programmable logic. > > Signed-off-by: Christian Kohn > Signed-off-by:

[PATCH v1] common: image-android: Add signature verification feature

2022-07-07 Thread qianfanguijin
From: qianfan Zhao Not all Android tools use the id field for signing the image with sha1, so make this feature as optional and disabled default. Signed-off-by: qianfan Zhao --- common/Kconfig.boot| 14 +++ common/image-android.c | 55 +- 2

[PATCH] common: image-android: Add signature verification feature

2022-07-07 Thread qianfanguijin
From: qianfan Zhao Not all Android tools use the id field for signing the image with sha1, so make this feature as optional and disabled default. Signed-off-by: qianfan Zhao --- common/Kconfig.boot| 14 +++ common/image-android.c | 55 +- 2

[PATCH] dt-bindings: versal: Add versal reset IDs

2022-07-07 Thread Michal Simek
The same file is already the part of Linux kernel that's why add it also to u-boot to be able to use it in source code and DT files. Signed-off-by: Michal Simek --- .../dt-bindings/reset/xlnx-versal-resets.h| 105 ++ 1 file changed, 105 insertions(+) create mode 100644

Error: cmd/libkiosk_crypto.c:5:10: fatal error: unistd.h: No such file or directory

2022-07-07 Thread Thu Ra
Dear Dev of denx.de I'm trying to create a custom os which is based on Alpine linux 3.16 with your u-boot-2022.04 for my raspberry pi 4. Unfortunately, I got the following error, please see the attached file(u-boot-bootloader-error.txt). And I attached 3 Makefiles. main-makefile, common-makefile

[PATCH v2] efi_loader: PE hashing for image with gap between sections

2022-07-07 Thread Su, Bao Cheng
Some PE image has gap between sections. These gaps could be kernel symbol table that does not belong to any sections. For such kind of image, after the last section is added into the hashing, the bytes_hashed is less than the (PE file size - Size of AttributeCertificateTable). According to Step

[PATCH] xilinx: Remove duplicate PMIO_NODE_ID_BASE macro

2022-07-07 Thread Michal Simek
PMIO_NODE_ID_BASE is defined twice that's why remove one instance. Fixes: 248fe9f302df ("spi: cadence_qspi: Enable apb linear mode for apb read & write operations") Signed-off-by: Michal Simek --- include/zynqmp_firmware.h | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH] test/py: Run simple dm commands without checking

2022-07-07 Thread Michal Simek
From: Michal Simek Just to make sure that dm commands can operate. This was the problem on Microblaze in past without fixing manual relocation. Signed-off-by: Michal Simek Signed-off-by: Michal Simek --- test/py/tests/test_dm.py | 8 1 file changed, 8 insertions(+) diff --git

Re: [PATCH] xilinx: Remove the legacy property "#stream-id-cells"

2022-07-07 Thread Michal Simek
On 6/22/22 10:26, Michal Simek wrote: From: Ayan Kumar Halder "#stream-id-cells" was being used with "mmu-masters" for Xen specific device trees. With Xen commit 2278d2cbb0b7c1b48b298c6c4c6a7de2271ac928 (Link below) Xen is able to support smmu bindings in both formats ie : 1. Using iommus

[PATCH] py: tests: Bind should run only on sandbox

2022-07-07 Thread Michal Simek
From: Michal Simek Disable test to run on any other platform than sandbox. Signed-off-by: Michal Simek Signed-off-by: Michal Simek --- test/py/tests/test_bind.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/py/tests/test_bind.py b/test/py/tests/test_bind.py

[PATCH] ARM: zynq: DT: List OCM memory

2022-07-07 Thread Michal Simek
Description OCM with mmio-sram driver. In 99% use cases OCM is mapped high that's why it is placed on fixed location. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-7000.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dts/zynq-7000.dtsi

[PATCH] ARM: zynq: DT: Enable all FCLKs by default

2022-07-07 Thread Michal Simek
From: Christian Kohn The fclk-enable property is set to 0 which disables all FCLKs. Enable all FCLKs so they can be used as clock sources in the programmable logic. Signed-off-by: Christian Kohn Signed-off-by: Michal Simek --- arch/arm/dts/zynq-7000.dtsi | 2 +- 1 file changed, 1

Re: [PATCH v6 00/25] Add support for MediaTek MT7621 SoC - v6

2022-07-07 Thread Martin Bonner
FYI, Gmail marked this as Spam - no idea why! Martin On Thu, 7 Jul 2022 at 02:48, Weijie Gao (高惟杰) wrote: > Hi Daniel, > > I've tested these changes and they work fine on both NOR and NAND boards. > > Best Regards, > Weijie > > -邮件原件- > 发件人: Daniel Schwierzeck > 发送时间: 2022年7月7日 6:12

[PATCH] arm: riscv: Remove additional ifdef from code guarded by CONFIG_IS_ENABLED

2022-07-07 Thread Michal Simek
CONFIG_OF_LIBFDT is used twice for guarding the same code. It is enough to do it once that's why remove additional ifdefs from arm and risc-v code. Fixes: 0c303f9a6628 ("image: Drop IMAGE_ENABLE_OF_LIBFDT") Signed-off-by: Michal Simek --- arch/arm/lib/bootm.c | 2 -- arch/riscv/lib/bootm.c |

[PATCH v3 3/3] arm64: zynqmp: Disable LMB for mini configurations

2022-07-07 Thread Michal Simek
From: Michal Simek There is no need to have LMB enabled that's why save some space by disabling it. aarch64: (for 8/8 boards) all -1168.5 rodata -105.5 text -1063.0 xilinx_zynqmp_mini: all -2013 rodata -185 text -1828 xilinx_zynqmp_mini_qspi: all -2013 rodata -185

[PATCH v3 2/3] zynqmp: Run board_get_usable_ram_top() only on main U-Boot

2022-07-07 Thread Michal Simek
From: Ashok Reddy Soma With commit ce39ee28ec31 ("zynqmp: Do not place u-boot to reserved memory location"), the function board_get_usable_ram_top() is allocating MMU_SECTION_SIZE of about 2MB using lmb_alloc(). But we dont have this much memory in case of mini U-Boot. Keep these functions

[PATCH v3 1/3] lmb: Fix lmb property's defination under struct lmb

2022-07-07 Thread Michal Simek
From: Ashok Reddy Soma Under struct lmb {} the lmb property's should be defined only if CONFIG_LMB_MEMORY_REGIONS is defined. Signed-off-by: Ashok Reddy Soma Signed-off-by: Michal Simek Signed-off-by: Michal Simek --- (no changes since v2) Changes in v2: - Also fix lib/lmb.c

Re: [PATCH v2 1/2] power: pmic: rk8xx: Support sysreset shutdown method

2022-07-07 Thread Michal Suchánek
Hello, this causes regression on pinebook pro: resetting ... System reset not supported on this platform ### ERROR ### Please RESET the board ### Is there something missing in the DT for this board? Or perhaps a fallback should be provided in absence of the PMIC? Thanks Michal On Fri, May

[PATCH] sunxi: dts: OrangePi Zero: Fixup SPI flash device node

2022-07-07 Thread Michal Suchanek
For some reason the flash cannot be probed as is - the u-boot DT lookup code fails to find the definition, and sf complains about invalid cs. Fixes: 280294c5df ("sunxi: boards: Enable SPI flash support in U-Boot proper") Signed-off-by: Michal Suchanek ---

Re: [PATCH v2] doc: board: amlogic: add documentation on boot flow

2022-07-07 Thread Neil Armstrong
Hi, On Wed, 6 Jul 2022 11:36:49 +0200, Neil Armstrong wrote: > This is a preliminary documentation introducing different > boot sequences, and notably the recovery mode. > > Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-amlogic (u-boot-amlogic-test) [1/1] doc: board:

[PATCH] configs: sunxi: OrangePi Zero: enable Macronix flash support

2022-07-07 Thread Michal Suchanek
The boards that come with a flash memory pre-soldered have a Macronix flash chip. Fixes: 280294c5df ("sunxi: boards: Enable SPI flash support in U-Boot proper") Signed-off-by: Michal Suchanek --- configs/orangepi_zero_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH 4/4] ARM: dts: stm32: add SCMI version of STM32 boards (DK1/DK2/ED1/EV1)

2022-07-07 Thread Patrice CHOTARD
Hi Patrick On 7/5/22 16:55, Patrick Delaunay wrote: > Add a "secure" version of STM32 boards based on SCMI when RCC_TZCR.TZEN=1. > > Only boards provided by STMicroelectronics are concerned: > -STM32MP157A-DK1 > -STM32MP157C-DK2 > -STM32MP157C-ED1 > -STM32MP157C-EV1 > > The resources secured by

Re: [PATCH 3/4] configs: stm32mp15: increase malloc size for pre-reloc

2022-07-07 Thread Patrice CHOTARD
Hi Patrick On 7/5/22 16:55, Patrick Delaunay wrote: > With support of SCMI in OP-TEE, the early malloc usage > increase, the associated defined CONFIG_SYS_MALLOC_F_LEN > need to be increased. > > For example, for stm32mp15_defconfig and > stm32mp157c-dk2-scmi.dtsi, we have: > > Early malloc

Re: [PATCH 2/4] clk: stm32: add support compatible st,stm32mp1-rcc-secure

2022-07-07 Thread Patrice CHOTARD
Hi PAtrick On 7/5/22 16:55, Patrick Delaunay wrote: > Add support for new compatible st,stm32mp1-rcc-secure used when the > RCC resource is managed by secured world (RCC_TZCR.TZEN=1) > iand when SCMI is used. > > Signed-off-by: Patrick Delaunay > --- > > drivers/misc/stm32_rcc.c | 1 + > 1

Re: [PATCH 1/4] ARM: dts: stm32mp15: alignment with v5.19

2022-07-07 Thread Patrice CHOTARD
Hi Patrick On 7/5/22 16:55, Patrick Delaunay wrote: > Device tree alignment with Linux kernel v5.19-rc1 > > - ARM: dts: stm32: Add alternate pinmux for ethernet0 pins > - ARM: dts: stm32: Add alternate pinmux for mco2 pins > - ARM: dts: stm32: fix pinctrl node name warnings (MPU soc) > - ARM:

Re: [PATCH v2 10/10] configs: stm32mp13: activate some command

2022-07-07 Thread Patrice CHOTARD
Hi Patrick On 6/30/22 10:20, Patrick Delaunay wrote: > Activate useful commands in STM32MP13x config, already activated in > stm32mp15_defconfig. > > Signed-off-by: Patrick Delaunay > --- > > (no changes since v1) > > configs/stm32mp13_defconfig | 16 > 1 file changed, 16

Re: [PATCH v2 09/10] configs: stm32mp13: activate I2C support

2022-07-07 Thread Patrice CHOTARD
Hi Patrick On 6/30/22 10:20, Patrick Delaunay wrote: > Activate the I2C driver in STM32MP13x config. > > Signed-off-by: Patrick Delaunay > --- > > (no changes since v1) > > configs/stm32mp13_defconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/configs/stm32mp13_defconfig

Re: [PATCH v2 08/10] configs: stm32mp13: activate RTC support

2022-07-07 Thread Patrice CHOTARD
Hi Patrick On 6/30/22 10:20, Patrick Delaunay wrote: > Activate the RTC driver in STM32MP13x config. > > Signed-off-by: Patrick Delaunay > --- > > (no changes since v1) > > configs/stm32mp13_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/configs/stm32mp13_defconfig

Re: [PATCH v2 07/10] configs: stm32mp13: activate RNG support

2022-07-07 Thread Patrice CHOTARD
Hi PAtrick On 6/30/22 10:20, Patrick Delaunay wrote: > Activate the RNG driver provided by OP-TEE. > > Signed-off-by: Patrick Delaunay > --- > > (no changes since v1) > > configs/stm32mp13_defconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/configs/stm32mp13_defconfig

Re: [PATCH v2 06/10] configs: stm32mp13: Add support for baudrates higher than 115200

2022-07-07 Thread Patrice CHOTARD
Hi Patrick On 6/30/22 10:20, Patrick Delaunay wrote: > On STM32MP13x STMicroelectronics boards, the UART can reliably go up to > 400 bauds when connected to the external ST-LINKV3. > > This patch adds the support of higher baudrates on STMicroelectronics > STM32MP13x boards with ST-LINKV3. >

Re: [PATCH v2 05/10] ARM: dts: stm32mp13: activate led on STM32MP13F-DK

2022-07-07 Thread Patrice CHOTARD
Hi Patrick On 6/30/22 10:20, Patrick Delaunay wrote: > Activate the led managed in stm32mp1 board for U-Boot indication > in STM32MP13F-DK device tree. > > Signed-off-by: Patrick Delaunay > --- > > (no changes since v1) > > arch/arm/dts/stm32mp135f-dk-u-boot.dtsi | 10 ++ > 1 file

Re: [PATCH v2 04/10] ARM: dts: stm32mp13: alignment with v5.19

2022-07-07 Thread Patrice CHOTARD
Hi Patrick On 6/30/22 10:20, Patrick Delaunay wrote: > Device tree alignment with Linux kernel v5.19-rc1 with: > - ARM: dts: stm32: add UserPA13 button on stm32mp135f-dk > - ARM: dts: stm32: add blue led (Linux heartbeat) on stm32mp135f-dk > - ARM: dts: stm32: add EXTI interrupt-parent to pinctrl

Re: [PATCH v2 03/10] stm32mp: add support of STM32MP13x Rev.Y

2022-07-07 Thread Patrice CHOTARD
Hi Patrick On 6/30/22 10:20, Patrick Delaunay wrote: > Add support of STM32MP13x Rev.Y for the Silicon revision REV_ID = 0x1003. > > Signed-off-by: Patrick Delaunay > --- > > Changes in v2: > - fix value of CPU_REV1_2 = 0x1003, because minor version in REV_ID > is bitfield at SoC level (0 =

Re: [PATCH v2 02/10] rng: stm32mp1_rng: add conditional reset feature for STM32MP13x

2022-07-07 Thread Patrice CHOTARD
Hi Patrick On 6/30/22 10:20, Patrick Delaunay wrote: > From: Lionel Debieve > > New IP adds a conditional reset that impact the clock > error management. It is now linked to a new compatible. > > Signed-off-by: Lionel Debieve > Signed-off-by: Patrick Delaunay > --- > > (no changes since v1)

Re: [PATCH v2 01/10] i2c: stm32: add support for the st, stm32mp13 SOC

2022-07-07 Thread Patrice CHOTARD
Hi Patrick On 6/30/22 10:20, Patrick Delaunay wrote: > The stm32mp13 soc differs from the stm32mp15 in terms of > clear register offset for controlling the FMP (Fast Mode Plus). > > Signed-off-by: Patrick Delaunay > --- > > (no changes since v1) > > drivers/i2c/stm32f7_i2c.c | 5 + > 1

Re: [PATCH v2 3/3] mmc: stm32_sdmmc2: introduce of_to_plat ops

2022-07-07 Thread Patrice CHOTARD
Hi Patrick On 6/30/22 10:01, Patrick Delaunay wrote: > Add the uclass ops of_to_plat to parse the device tree properties > to respect the expected sequence by the driver model. > > Signed-off-by: Patrick Delaunay > --- > > (no changes since v1) > > drivers/mmc/stm32_sdmmc2.c | 95

Re: [PATCH v2 2/3] mmc: stm32_sdmmc2: remove privdata

2022-07-07 Thread Patrice CHOTARD
Hi Patrick On 6/30/22 10:01, Patrick Delaunay wrote: > All the elements of privdata are static and build from device tree, > they are moved in platdata to prepare the support of ops > of_to_plat. > > Signed-off-by: Patrick Delaunay > --- > > (no changes since v1) > >

Re: [PATCH v2 1/6] patman: Fix updating argument defaults from settings

2022-07-07 Thread Simon Glass
Hi Doug, On Wed, 6 Jul 2022 at 18:08, Doug Anderson wrote: > > Hi, > > On Tue, Jul 5, 2022 at 11:16 AM Sean Anderson wrote: > > > > Hi Doug, > > > > On 7/1/22 4:23 PM, Douglas Anderson wrote: > > > Ever since commit 4600767d294d ("patman: Refactor how the default > > > subcommand works"), when

Re: [PATCH v2 1/3] mmc: stm32_sdmmc2: cosmetic: rename stm32_sdmmc_bind

2022-07-07 Thread Patrice CHOTARD
Hi Patrick On 6/30/22 10:01, Patrick Delaunay wrote: > Rename stm32_sdmmc_bind to stm32_sdmmc2_bind as all other functions > in SDMMCv2 driver > > series-changes: 2 > - fix typo in commit message (/oter function/other functions/) > > Signed-off-by: Patrick Delaunay > --- > > (no changes since

Re: [PATCH] board: stm32mp1: remove test on CONFIG_DM_REGULATOR

2022-07-07 Thread Patrice CHOTARD
Hi Patrick On 6/20/22 12:36, Patrick Delaunay wrote: > The tests on CONFIG_DM_REGULATOR, added to avoid compilation issues, can > now be removed, they are no more needed since the commit 16cc5ad0b439 > ("power: regulator: add dummy helper"). > > Signed-off-by: Patrick Delaunay > --- > >

Re: [PATCH] stm32mp: simplify the STM32MP15x package parsing code

2022-07-07 Thread Patrice CHOTARD
Hi Patrick On 6/20/22 09:50, Patrick Delaunay wrote: > Simplify the package parsing code for STM32MP15X as package can be > affected with get_cpu_package() result. > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/mach-stm32mp/stm32mp15x.c | 15 +++ > 1 file changed, 3

Re: [PATCH v8 2/4] mtd: spi-nor-core: Adding different type of command extension in Soft Reset

2022-07-07 Thread liao jaime
Hi Jagan > > On Mon, Jul 4, 2022 at 11:42 AM JaimeLiao wrote: > > > > Power-on-Reset is a method to restore flash back to 1S-1S-1S mode from > > 8D-8D-8D > > in the begging of probe. > > > > Command extension type is not standardized across flash vendors in DTR mode. > > > > For suiting

Re: [PATCH 2/2] ARM: dts: stm32mp13: add SCMI nodes

2022-07-07 Thread Patrice CHOTARD
Hi Patrick On 7/6/22 18:20, Patrick Delaunay wrote: > Add the node for SCMI firmware with the associated reserved memory nodes > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/dts/stm32mp13-u-boot.dtsi | 20 +++ > arch/arm/dts/stm32mp131.dtsi | 31

Re: [PATCH 1/2] ARM: dts: stm32mp13: add OP-TEE nodes

2022-07-07 Thread Patrice CHOTARD
Hi Patrick On 7/6/22 18:20, Patrick Delaunay wrote: > Add the node for OP-TEE firmware with the associated reserved memory nodes > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/dts/stm32mp13-u-boot.dtsi | 4 > arch/arm/dts/stm32mp131.dtsi | 7 +++ >