Re: [PATCH 1/2] smartweb: Enable LTO

2023-03-28 Thread Heiko Schocher
Hello Tom, On 28.03.23 20:54, Tom Rini wrote: > In order to prepare for slight size growth due to reworking linker list > support, enable LTO here to save more space again. > > Signed-off-by: Tom Rini > --- > Cc: Heiko Schocher > --- > configs/smartweb_defconfig | 1 + > 1 file changed, 1 inse

[PATCH v5 16/17] riscv: dts: jh7110: Add initial StarFive VisionFive v2 board device tree

2023-03-28 Thread Yanhong Wang
Add initial device tree for StarFive VisionFive v2 board. Signed-off-by: Yanhong Wang Tested-by: Conor Dooley --- arch/riscv/dts/Makefile | 3 +- ...10-starfive-visionfive-2-v1.2a-u-boot.dtsi | 69 .../jh7110-starfive-visionfive-2-v1.2a.dts| 12 + ...10-starfi

[PATCH v5 17/17] configs: starfive: add defconfig for StarFive VisionFvie2 1.2A and 1.3B

2023-03-28 Thread Yanhong Wang
This is the initial basic config for StarFive VisionFive v2 board. It includes consol, Norflash, sdio, ddr etc. Include starfive_visionfive2_12a_defconfig and starfive_visionfive2_13b_defconfig, matching the 1.2A and 1.3B boards. Signed-off-by: Yanhong Wang Tested-by: Conor Dooley --- configs/

[PATCH v5 15/17] riscv: dts: jh7110: Add initial u-boot device tree

2023-03-28 Thread Yanhong Wang
Add initial u-boot device tree for the JH7110 RISC-V SoC. Signed-off-by: Yanhong Wang Tested-by: Conor Dooley --- arch/riscv/dts/jh7110-u-boot.dtsi | 99 +++ 1 file changed, 99 insertions(+) create mode 100644 arch/riscv/dts/jh7110-u-boot.dtsi diff --git a/arch/ris

[PATCH v5 14/17] riscv: dts: jh7110: Add initial StarFive JH7110 device tree

2023-03-28 Thread Yanhong Wang
Add initial device tree for the JH7110 RISC-V SoC. Signed-off-by: Yanhong Wang Tested-by: Conor Dooley --- arch/riscv/dts/jh7110.dtsi | 573 + 1 file changed, 573 insertions(+) create mode 100644 arch/riscv/dts/jh7110.dtsi diff --git a/arch/riscv/dts/jh7110

[PATCH v5 13/17] board: starfive: Add TARGET_STARFIVE_VISIONFIVE2 to Kconfig

2023-03-28 Thread Yanhong Wang
Add board support for StarFive VisionFive v2. Signed-off-by: Yanhong Wang Tested-by: Conor Dooley --- arch/riscv/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 48ca4ff4c4..f6ed05906a 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv

[PATCH v5 12/17] board: starfive: Add Kconfig for StarFive VisionFive v2 Board

2023-03-28 Thread Yanhong Wang
Add Kconfig to select the basic functions for StarFive VisionFive v2 Board. Signed-off-by: Yanhong Wang Tested-by: Conor Dooley --- board/starfive/visionfive2/Kconfig | 53 ++ 1 file changed, 53 insertions(+) create mode 100644 board/starfive/visionfive2/Kconfig di

[PATCH v5 09/17] ram: starfive: add ddr driver

2023-03-28 Thread Yanhong Wang
Add driver for StarFive JH7110 to support ddr initialization in SPL. Signed-off-by: Yanhong Wang Tested-by: Conor Dooley --- drivers/ram/Kconfig |1 + drivers/ram/Makefile|4 +- drivers/ram/starfive/Kconfig|5 + drivers/ram/starfive/Makefile

[PATCH v5 10/17] board: starfive: add StarFive VisionFive v2 board support

2023-03-28 Thread Yanhong Wang
Add board support for StarFive VisionFive v2. Signed-off-by: Yanhong Wang Tested-by: Conor Dooley --- board/starfive/visionfive2/MAINTAINERS| 7 + board/starfive/visionfive2/Makefile | 7 + board/starfive/visionfive2/spl.c | 87 .../visionfive2/starfive_

[PATCH v5 11/17] riscv: cpu: jh7110: Add Kconfig for StarFive JH7110 SoC

2023-03-28 Thread Yanhong Wang
Add Kconfig to select the basic functions for StarFive JH7110 SoC. Signed-off-by: Yanhong Wang Tested-by: Conor Dooley --- arch/riscv/cpu/jh7110/Kconfig | 28 1 file changed, 28 insertions(+) create mode 100644 arch/riscv/cpu/jh7110/Kconfig diff --git a/arch/riscv

[PATCH v5 08/17] pinctrl: starfive: Add StarFive JH7110 driver

2023-03-28 Thread Yanhong Wang
From: Kuan Lim Lee Add pinctrl driver for StarFive JH7110 SoC. Signed-off-by: Kuan Lim Lee Signed-off-by: Emil Renner Berthing Signed-off-by: Jianlong Huang Signed-off-by: Yanhong Wang Tested-by: Conor Dooley --- drivers/pinctrl/Kconfig | 1 + drivers/pinctrl/Makefi

[PATCH v5 06/17] clk: starfive: Add StarFive JH7110 clock driver

2023-03-28 Thread Yanhong Wang
Add a DM clock driver for StarFive JH7110 SoC. Signed-off-by: Yanhong Wang Tested-by: Conor Dooley --- drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 1 + drivers/clk/starfive/Kconfig | 17 + drivers/clk/starfive/Makefile | 4 + driv

[PATCH v5 07/17] dt-bindings: pinctrl: Add StarFive JH7110 pinctrl definitions

2023-03-28 Thread Yanhong Wang
From: Jianlong Huang Add pinctrl definitions for StarFive JH7110 SoC. Signed-off-by: Kuan Lim Lee Signed-off-by: Emil Renner Berthing Signed-off-by: Jianlong Huang Signed-off-by: Yanhong Wang Tested-by: Conor Dooley --- .../pinctrl/pinctrl-starfive-jh7110.h | 427 ++

[PATCH v5 04/17] reset: starfive: jh7110: Add reset driver for StarFive JH7110 SoC

2023-03-28 Thread Yanhong Wang
Add a DM reset driver for StarFive JH7110 SoC. Note that the register base address of reset controller is the same with the clock controller. Therefore, there is no device tree node alone for reset driver.It binds device node in the clock driver Signed-off-by: Yanhong Wang Tested-by: Conor Doole

[PATCH v5 05/17] dt-bindings: clock: Add StarFive JH7110 clock definitions

2023-03-28 Thread Yanhong Wang
Add all clock outputs for the StarFive JH7110 clock generator. Signed-off-by: Yanhong Wang Acked-by: Sean Anderson Tested-by: Conor Dooley --- .../dt-bindings/clock/starfive,jh7110-crg.h | 257 ++ 1 file changed, 257 insertions(+) create mode 100644 include/dt-bindings/clock

[PATCH v5 03/17] dt-bindings: reset: Add StarFive JH7110 reset definitions

2023-03-28 Thread Yanhong Wang
Add resets for the StarFive JH7110 system(SYS),system-top-group(STG) and always-on(AON) reset controller. Signed-off-by: Yanhong Wang Tested-by: Conor Dooley --- .../dt-bindings/reset/starfive,jh7110-crg.h | 183 ++ 1 file changed, 183 insertions(+) create mode 100644 include

[PATCH v5 01/17] riscv: cpu: jh7110: Add support for jh7110 SoC

2023-03-28 Thread Yanhong Wang
Add StarFive JH7110 SoC to support RISC-V arch. Signed-off-by: Yanhong Wang Reviewed-by: Rick Chen Tested-by: Conor Dooley --- arch/riscv/cpu/jh7110/Makefile| 10 arch/riscv/cpu/jh7110/cpu.c | 23 arch/riscv/cpu/jh7110/dram.c | 38 ++

[PATCH v5 02/17] cache: starfive: Add StarFive JH7110 support

2023-03-28 Thread Yanhong Wang
This adds support for the StarFive JH7110 SoC which also feature this SiFive cache controller. Signed-off-by: Yanhong Wang Tested-by: Conor Dooley --- drivers/cache/cache-sifive-ccache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cache/cache-sifive-ccache.c b/drivers/cache/cac

[PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-03-28 Thread Yanhong Wang
This series of patches base on the latest branch/master, and add support for the StarFive JH7110 RISC-V SoC and VisionFive V2 board. In order for this to be achieved, the respective DT nodes have been added, and the required defconfigs have been added to the boards' defconfig. What is more, the ba

Re: [PATCH] Series-to: Fred Bloggs Series-cc: Sean O'Brien HID: input: Restore missing cursor for digitizer devices

2023-03-28 Thread kernel test robot
Hi Torsha, Thank you for the patch! Yet something to improve: [auto build test ERROR on v6.3-rc4] [also build test ERROR on linus/master next-20230328] [cannot apply to hid/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to

[PATCH] phy: realtek: don't duplicate genphy_startup

2023-03-28 Thread Rasmus Villemoes
rtl8211e_startup() is an exact copy of genphy_startup(). Use that instead of duplicating it. Signed-off-by: Rasmus Villemoes --- drivers/net/phy/realtek.c | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c in

[PATCH] phy: broadcom: don't duplicate genphy_startup

2023-03-28 Thread Rasmus Villemoes
Functionally, bcm_cygnus_startup() is an exact copy of genphy_startup(). Signed-off-by: Rasmus Villemoes --- drivers/net/phy/broadcom.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c index 566fcb8de7..549

[PATCH 3/3] net: share fastboot boot handle logic between transports

2023-03-28 Thread Dmitrii Merkurev
Introduce reboot, boot and continue commands support to TCP fastboot by moving existing UDP logic into the common module. Cc: Ying-Chun Liu (PaulLiu) Cc: Simon Glass Сс: Joe Hershberger Сс: Ramon Fried Signed-off-by: Dmitrii Merkurev --- drivers/fastboot/fb_common.c | 32 +++

[PATCH 2/3] net: add fastboot TCP support

2023-03-28 Thread Dmitrii Merkurev
Known limitations are 1. fastboot reboot doesn't work (answering OK but not rebooting) 2. flashing isn't supported (TCP transport only limitation) The command syntax is fastboot tcp Signed-off-by: Dmitrii Merkurev Cc: Ying-Chun Liu (PaulLiu) Cc: Simon Glass Сс: Joe Hershberger Сс: Ramon Fried

[PATCH] clk: change log_err() to log_info() to make it quiet with clk_register_fixed_rate()

2023-03-28 Thread notfound405
clk_register_fixed_rate() calls clk_register() with the fourth argument(parent_name) being NULL, making it output error message. Change to log_info() to fix it. Signed-off-by: Yang Xiwen --- The previous email is signed with a wrong name. The patch is not modified. drivers/clk/clk.c | 2 +- 1 f

[PATCH 1/3] net: support being a TCP server to unblock TCP fastboot

2023-03-28 Thread Dmitrii Merkurev
Make following changes to unblock TCP fastboot support: 1. Implement being a TCP server support 2. Introduce dedicated TCP traffic handler (get rid of UDP signature) 3. Ensure seq_num and ack_num are respected in net_send_tcp_packet function (make sure existing wget_cmd code is reflected with the

[PATCH] clk: change log_err() to log_info() to make it quiet with clk_register_fixed_rate()

2023-03-28 Thread notfound405
clk_register_fixed_rate() calls clk_register() with the fourth argument(parent_name) being NULL, making it output error message. Change to log_info() to fix it. Signed-off-by: notfound405 --- drivers/clk/clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk.c

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

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

[PATCH 1/2] Boot var automatic management for removable medias

2023-03-28 Thread Raymond Mao
Changes for complying to EFI spec §3.5.1.1 'Removable Media Boot Behavior'. Boot variables can be automatically generated during a removable media is probed. At the same time, unused boot variables will be detected and removed. Related APIs are renamed and moved from cmd to lib for re-use between e

[PATCH 2/2] linker_lists: Rework start/end macros to not rely on undefined behavior

2023-03-28 Thread Tom Rini
Per the GCC bug listed below, the way we do linker lists is relying on undefined behavior that seems to work in gcc, but doesn't always work in clang. Andrew suggests rewriting our start/end macros in a different way (as implemented here, from what he said in comment 1) to avoid these problems. Re

[PATCH 1/2] smartweb: Enable LTO

2023-03-28 Thread Tom Rini
In order to prepare for slight size growth due to reworking linker list support, enable LTO here to save more space again. Signed-off-by: Tom Rini --- Cc: Heiko Schocher --- configs/smartweb_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/smartweb_defconfig b/configs/smart

Re: [RESEND PATCH v3 2/2] cli: Correct handling of invalid escape sequences in cread_line()

2023-03-28 Thread Heinrich Schuchardt
On 3/27/23 21:34, Simon Glass wrote: The second call to cli_ch_process() is in the wrong place, meaning that the one of the characters of an invalid escape sequence is swallowed instead of being returned. Fix the bug and add a test to cover this. This behaviour matches that of the code before c

[PATCH v10 09/10] arm_ffa: efi: introduce FF-A MM communication

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

[PATCH v10 10/10] arm_ffa: efi: corstone1000: enable MM communication

2023-03-28 Thread Abdellatif El Khlifi
turn on EFI MM communication On corstone1000 platform MM communication between u-boot and the secure world (Optee) is done using the FF-A bus. Signed-off-by: Abdellatif El Khlifi Cc: Tom Rini Cc: Simon Glass Cc: Ilias Apalodimas Cc: Jens Wiklander --- Changelog: === v9: update

[PATCH v10 08/10] arm_ffa: introduce armffa command Sandbox test

2023-03-28 Thread Abdellatif El Khlifi
Add Sandbox test for the armffa command Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Simon Glass Cc: Ilias Apalodimas Cc: Jens Wiklander --- Changelog: === v10: * replace CMD_RET_SUCCESS with 0 * replace CONFIG_SANDBOX_FFA with CONFIG_ARM_FFA_T

[PATCH v10 06/10] arm_ffa: introduce sandbox FF-A support

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

[PATCH v10 04/10] arm_ffa: introduce Arm FF-A support

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

[PATCH v10 05/10] arm_ffa: introduce armffa command

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

[PATCH] Series-to: Fred Bloggs Series-cc: Sean O'Brien HID: input: Restore missing cursor for digitizer devices

2023-03-28 Thread Torsha Banerjee
From: Jora Jacobi A previously committed patch to remove cursors for HID Digitizer-Pen devices also removed the cursors for some tablets which have incorrect HID descriptors. These devices should enumerate with Usage ID "Digitizer" instead of Usage ID "Pen". Patch which introduced the issue: com

[PATCH v10 07/10] arm_ffa: introduce sandbox test cases for UCLASS_FFA

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

[PATCH v10 02/10] lib: uuid: introduce uuid_str_to_le_bin function

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

[PATCH v10 01/10] arm64: smccc: add support for SMCCCv1.2 x0-x17 registers

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

[PATCH v10 03/10] lib: uuid: introduce testcase for uuid_str_to_le_bin

2023-03-28 Thread Abdellatif El Khlifi
provide a test case Signed-off-by: Abdellatif El Khlifi Cc: Simon Glass --- MAINTAINERS | 5 + test/lib/Makefile | 1 + test/lib/uuid.c | 44 3 files changed, 50 insertions(+) create mode 100644 test/lib/uuid.c diff --git a/MAINTAINER

[PATCH v10 00/10] introduce Arm FF-A support

2023-03-28 Thread Abdellatif El Khlifi
Adding support for Arm FF-A v1.0 (Arm Firmware Framework for Armv8-A) [A]. FF-A describes interfaces (ABIs) that standardize communication between the Secure World and Normal World. These interfaces enable a pair of software sandboxes to communicate with each other. A sandbox aka partition could b

Re: [PULL next] u-boot-at91-2023.07-a

2023-03-28 Thread Tom Rini
On Tue, Mar 28, 2023 at 01:13:18PM +0300, Eugen Hristev wrote: > Hello Tom, > > > Please pull tag u-boot-at91-2023.07-a , the first set of at91 > features for the next cycle 2023.07 . > > This feature set includes the clock changes required for sam9x60 SoC to > support USB host. > > Thanks, >

RE: Re: How to add eth1 to test device tree?

2023-03-28 Thread Ehsan Mohandesi
Hi Simon, > -Original Message- > From: Simon Glass mailto:s...@chromium.org>> > Sent: Monday, March 27, 2023 3:15 PM > To: Ehsan Mohandesi > > Cc: u-boot@lists.denx.de ; swar...@nvidia.com

Re: [PATCH] imx6sx-udoo-neo-basic: Introduce the u-boot.dtsi

2023-03-28 Thread Tom Rini
On Wed, 22 Mar 2023 16:59:31 -0300, Fabio Estevam wrote: > After the conversion to DM_SERIAL in commit 01f372d8d62b ("udoo_neo: > Select DM_SERIAL and drop iomux board level init") the SPL log is gone > and the U-Boot proper log becomes incomplete: > > Core: 80 devices, 18 uclasses, devicetree:

Re: [RESEND PATCH v3 1/2] cli: Correct several bugs in cli_getch()

2023-03-28 Thread Tom Rini
On Tue, 28 Mar 2023 08:34:13 +1300, Simon Glass wrote: > This function does not behave as expected when unknown escape sequences > are sent to it: > > - it fails to store (and thus echo) the last character of the invalid > sequence > - it fails to set esc_len to 0 when it finishes emitting the

Re: [PATCH 7/7] arm: Migrate Apple M1 to save_prev_bl_data

2023-03-28 Thread Tom Rini
On Tue, Mar 28, 2023 at 10:17:44AM +0200, Konrad Dybcio wrote: > > > On 27.03.2023 21:31, Mark Kettenis wrote: > >> From: Konrad Dybcio > >> Date: Fri, 24 Mar 2023 01:40:40 +0100 > > > > Hi Konrad, > > > >> Mark's and Dzmitry's approaches come down to the same thing.. Let's > >> unify them by

Re: [PATCH 10/30] ide: Correct use of ATAPI

2023-03-28 Thread Mattijs Korpershoek
On mar., mars 28, 2023 at 08:06, Simon Glass wrote: > The use of atapi_read() was incorrect dropped. Fix this so that it will > be used when needed. Use a udevice for the first argument of atapi_read() > so it is consistent with ide_read(). > > This requires much of the ATAPI code to be brought o

Re: [PATCH 16/30] ide: Avoid preprocessor for CONFIG_LBA48

2023-03-28 Thread Mattijs Korpershoek
On mar., mars 28, 2023 at 08:07, Simon Glass wrote: > Use IS_ENABLED() instead for all conditions. Add the 'lba48' flag into > struct blk_desc always, since it uses very little space. Use a bool so > the meaning is clearer. > > Signed-off-by: Simon Glass > --- > > drivers/block/ide.c | 57 +

[PATCH] arm: mach-k3: am642: move do_dt_magic() after sysfw loading

2023-03-28 Thread Christian Gmeiner
Makes it possible to use e.g mcu_spi0 for custom board detection. Signed-off-by: Christian Gmeiner --- arch/arm/mach-k3/am642_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-k3/am642_init.c b/arch/arm/mach-k3/am642_init.c index 96f292ea75..2478ac162b

Re: [PATCH] arch: mach-k3: j721s2_init: Disable the firewalls

2023-03-28 Thread Andrew Davis
On 3/28/23 8:02 AM, Jayesh Choudhary wrote: Some firewalls enabled by ROM are still left on. So some address space is inaccessible to the bootloader. For example, in OSPI boot mode we get an exception and the system hangs. Therefore, disable all the firewalls left on by the ROM. Signed-off-by: J

Re: [PATCH v4 1/5] efi_loader: store firmware version into FmpState variable

2023-03-28 Thread Ilias Apalodimas
Kojima-san Apologies for the late review comments but I have some concerns about the design and storing the info as EFI variables. If the backing storage is a file we can't trust any of that information since anyone can tamper with the file, although the variables are defined as RO. The new struc

[PATCH] arch: mach-k3: j721s2_init: Disable the firewalls

2023-03-28 Thread Jayesh Choudhary
Some firewalls enabled by ROM are still left on. So some address space is inaccessible to the bootloader. For example, in OSPI boot mode we get an exception and the system hangs. Therefore, disable all the firewalls left on by the ROM. Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/j721s2_

[PATCH v2 1/2] regulator: implement basic reference counter

2023-03-28 Thread Eugen Hristev
Some devices share a regulator supply, when the first one will request regulator disable, the second device will have it's supply cut off before graciously shutting down. Hence there will be timeouts and other failed operations. Implement a reference counter mechanism similar with what is done in L

[PATCH v2 2/2] regulator: rename dev_pdata to plat

2023-03-28 Thread Eugen Hristev
Simplify the subsystem by renaming `dev_pdata` to just `plat`. No functional change, just trivial renaming. Suggested-by: Simon Glass Signed-off-by: Eugen Hristev --- Changes in v2: - this is a new patch drivers/power/regulator/fan53555.c | 10 ++-- drivers/power/regulator/fixed.c

Re: [PATCH v4 1/5] efi_loader: store firmware version into FmpState variable

2023-03-28 Thread Ilias Apalodimas
Kojima-san, On Thu, Mar 23, 2023 at 08:09:01PM +0900, Masahisa Kojima wrote: > Firmware version management is not implemented in the current > FMP protocol. > EDK II reference implementation capsule generation script inserts > the FMP Payload Header right before the payload, it contains the > firm

[PULL next] u-boot-at91-2023.07-a

2023-03-28 Thread Eugen Hristev
Hello Tom, Please pull tag u-boot-at91-2023.07-a , the first set of at91 features for the next cycle 2023.07 . This feature set includes the clock changes required for sam9x60 SoC to support USB host. Thanks, Eugen The following changes since commit fde439219ff53a46bdd5dff69e049ccd4be57310:

Re: [PATCH v2] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-28 Thread Frieder Schrempf
On 28.03.23 11:37, Sebastian Andrzej Siewior wrote: > On 2023-03-28 11:34:42 [+0200], Frieder Schrempf wrote: >> You can easily answer that yourself, by looking at the comments I made >> in [1]. There are comments for the DT compatible, the PMIC node, the >> I2C1 pinctrl node and the DDR init code

Re: [PATCH v2] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-28 Thread Sebastian Andrzej Siewior
On 2023-03-28 11:34:42 [+0200], Frieder Schrempf wrote: > You can easily answer that yourself, by looking at the comments I made > in [1]. There are comments for the DT compatible, the PMIC node, the > I2C1 pinctrl node and the DDR init code you haven't responded to. I'm sorry. I really haven't se

Re: [PATCH v2] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-28 Thread Frieder Schrempf
On 28.03.23 11:30, Sebastian Andrzej Siewior wrote: > On 2023-03-28 09:53:28 [+0200], Frieder Schrempf wrote: >> On 28.03.23 09:47, Sebastian Andrzej Siewior wrote: >>> The board is similar to "Kontron SL i.MX8M Mini" SoM. There are two >>> variants. >>> Snowflake_v2 has an external SDCard Interfa

Re: [PATCH v2] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-28 Thread Sebastian Andrzej Siewior
On 2023-03-28 09:53:28 [+0200], Frieder Schrempf wrote: > On 28.03.23 09:47, Sebastian Andrzej Siewior wrote: > > The board is similar to "Kontron SL i.MX8M Mini" SoM. There are two > > variants. > > Snowflake_v2 has an external SDCard Interface. LEIG is the same, but without > > display and witho

Re: [PATCH 7/7] arm: Migrate Apple M1 to save_prev_bl_data

2023-03-28 Thread Konrad Dybcio
On 27.03.2023 21:31, Mark Kettenis wrote: >> From: Konrad Dybcio >> Date: Fri, 24 Mar 2023 01:40:40 +0100 > > Hi Konrad, > >> Mark's and Dzmitry's approaches come down to the same thing.. Let's >> unify them by first removing the static keyword from the common file >> to allow the variable to

Re: [PATCH 1/2] MAINTAINERS: Add entry for SPI NAND framework and drivers

2023-03-28 Thread Dario Binacchi
Hi Frieder, On Tue, Mar 28, 2023 at 10:00 AM Frieder Schrempf wrote: > > On 28.02.23 15:48, Tom Rini wrote: > > On Tue, Feb 28, 2023 at 09:52:45AM +0100, Frieder Schrempf wrote: > >> On 27.02.23 16:24, Dario Binacchi wrote: > >>> Hi Frieder, > >>> > >>> On Mon, Feb 13, 2023 at 10:47 AM Frieder Sc

Re: [PATCH 1/2] MAINTAINERS: Add entry for SPI NAND framework and drivers

2023-03-28 Thread Frieder Schrempf
On 28.02.23 15:48, Tom Rini wrote: > On Tue, Feb 28, 2023 at 09:52:45AM +0100, Frieder Schrempf wrote: >> On 27.02.23 16:24, Dario Binacchi wrote: >>> Hi Frieder, >>> >>> On Mon, Feb 13, 2023 at 10:47 AM Frieder Schrempf wrote: From: Frieder Schrempf In [1] Michael agreed on t

Re: [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation

2023-03-28 Thread Frieder Schrempf
Hi Michael, On 10.02.23 12:57, Michael Nazzareno Trimarchi wrote: > Hi > > I will review > > On Thu, Feb 9, 2023 at 5:52 PM Tom Rini wrote: >> >> On Thu, Feb 09, 2023 at 10:24:47AM +0100, Frieder Schrempf wrote: >>> Hi, >>> >>> On 10.01.23 12:58, Frieder Schrempf wrote: From: Mikhail Kshev

Re: [PATCH v2] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-28 Thread Frieder Schrempf
On 28.03.23 09:47, Sebastian Andrzej Siewior wrote: > The board is similar to "Kontron SL i.MX8M Mini" SoM. There are two variants. > Snowflake_v2 has an external SDCard Interface. LEIG is the same, but without > display and without external SDCard Interface. Both variants support > only 1GiB of ma

Re: [PATCH v4 14/17] riscv: dts: jh7110: Add initial StarFive JH7110 device tree

2023-03-28 Thread yanhong wang
On 2023/3/23 6:04, Conor Dooley wrote: > On Thu, Mar 16, 2023 at 10:53:29AM +0800, Yanhong Wang wrote: >> Add initial device tree for the JH7110 RISC-V SoC. >> >> Signed-off-by: Yanhong Wang >> Tested-by: Conor Dooley > >> +S7_0: cpu@0 { >> +compatible = "sifi

[PATCH v2] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-28 Thread Sebastian Andrzej Siewior
The board is similar to "Kontron SL i.MX8M Mini" SoM. There are two variants. Snowflake_v2 has an external SDCard Interface. LEIG is the same, but without display and without external SDCard Interface. Both variants support only 1GiB of main memory. Signed-off-by: Manuel Traut Signed-off-by: Seba

[QUESTION] Clear a local variable in hush shell

2023-03-28 Thread Stefan Herbrechtsmeier
Hi, what is the correct way to clear a local variable in the hush shell? The "c=" doesn't work because the commit "common: cli_hush: avoid dead code" (aa722529635c16c52d9d609122fecc96ec8d03e4) explicitly change the function set_local_var to return -1 if a value is missing. Regards Stefan

[PATCH] ARM: zynq: Sync Microzed board with Linux kernel

2023-03-28 Thread Michal Simek
Fix model name, node locations and also add pinctrl description for usb. Signed-off-by: Michal Simek --- --- arch/arm/dts/zynq-microzed.dts | 42 -- 1 file changed, 35 insertions(+), 7 deletions(-) diff --git a/arch/arm/dts/zynq-microzed.dts b/arch/arm/dts/zynq-

[PATCH] ARM: zynq: Switch from earlyprintk to earlycon

2023-03-28 Thread Michal Simek
Switch to earlycon which is preffered over earlyprintk. It is also sync with Linux kernel (zynq-microzed). Signed-off-by: Michal Simek --- --- arch/arm/dts/zynq-dlc20-rev1.0.dts | 2 +- arch/arm/dts/zynq-microzed.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arc

Re: [PATCH v4 10/17] board: starfive: add StarFive VisionFive v2 board support

2023-03-28 Thread yanhong wang
On 2023/3/22 9:58, Leo Liang wrote: > Hi YanHong, > > There are some errors when "make htmldocs". > I thought v4 was the final patch set and these are minor build errors, > so I have fixed them up on my side. > > Now that since you are adding new defconfig and spinning a v5 patch set, > could

Re: [PATCH v4 5/5] test/py: efi_capsule: test for FMP versioning

2023-03-28 Thread Ilias Apalodimas
On Thu, 23 Mar 2023 at 13:09, Masahisa Kojima wrote: > > This test covers FMP versioning for both raw and FIT image, > and both signed and non-signed capsule update. > > Signed-off-by: Masahisa Kojima > --- > Newly created in v4 > > test/py/tests/test_efi_capsule/conftest.py| 58 + > ..