Re: [PATCH] test: cmd: mbr: Fix Smatch static checker warning

2024-02-02 Thread Heinrich Schuchardt
On 2/3/24 03:56, Alexander Gendin wrote: This patch fixes Smatch static checker warning: test/cmd/mbr.c:243 mbr_test_run() warn: sizeof(NUMBER)? Reported-by: Dan Carpenter Signed-off-by: Alexander Gendin Reviewed-by: Heinrich Schuchardt --- test/cmd/mbr.c | 6 +-

[PATCH] test: cmd: mbr: Fix Smatch static checker warning

2024-02-02 Thread Alexander Gendin
This patch fixes Smatch static checker warning: test/cmd/mbr.c:243 mbr_test_run() warn: sizeof(NUMBER)? Reported-by: Dan Carpenter Signed-off-by: Alexander Gendin --- test/cmd/mbr.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/cmd/mbr.c

Re: [PATCH] poplar: add myself as co-maintainer

2024-02-02 Thread Shawn Guo
On Sat, Feb 3, 2024 at 5:44 AM Igor Opaniuk wrote: > > Add myself as co-maintainer for Poplar board, as I'm currently > working on it (re-testing releases, addressing issues etc). > > CC: Jorge Ramirez-Ortiz > CC: Shawn Guo > Signed-off-by: Igor Opaniuk Acked-by: Shawn Guo I'm not actively

[PATCH 2/3] usb: dwc3: replace argument mode with child ofnode

2024-02-02 Thread Yang Xiwen via B4 Relay
From: Yang Xiwen child ofnode is more useful and can be used to query a lot of other props of child device. dr_mode can be also queried from it. Signed-off-by: Yang Xiwen --- drivers/usb/dwc3/dwc3-generic.c | 12 drivers/usb/dwc3/dwc3-generic.h | 3 +-- 2 files changed, 5

[PATCH 3/3] usb: dwc3: add glue driver for Hi3798MV200

2024-02-02 Thread Yang Xiwen via B4 Relay
From: Yang Xiwen It needs some platform-specific operations before generic initialization code. If nano PHY is not initialized properly, it must be disabled. Or else USB host will complain unable to reset port. USB2 is always supported, so it's never disabled. Signed-off-by: Yang Xiwen ---

[PATCH 0/3] usb: dwv3: add glue driver for hi3798mv200

2024-02-02 Thread Yang Xiwen via B4 Relay
Also edit the prototype of .glue_configure to fulfill our needs. Signed-off-by: Yang Xiwen --- Yang Xiwen (3): usb: dwc3: handle return value of clk_get_rate() correctly usb: dwc3: replace argument mode with child ofnode usb: dwc3: add glue driver for Hi3798MV200

[PATCH 1/3] usb: dwc3: handle return value of clk_get_rate() correctly

2024-02-02 Thread Yang Xiwen via B4 Relay
From: Yang Xiwen clk_get_rate() return -ve on error, not 0. Fix it by replacing judging NULL with IS_ERR_VALUE(). Fixes: 6bae0eb5b8bd("usb: dwc3: Calculate REFCLKPER based on reference clock") Signed-off-by: Yang Xiwen --- drivers/usb/dwc3/core.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] poplar: add myself as co-maintainer

2024-02-02 Thread Igor Opaniuk
Add myself as co-maintainer for Poplar board, as I'm currently working on it (re-testing releases, addressing issues etc). CC: Jorge Ramirez-Ortiz CC: Shawn Guo Signed-off-by: Igor Opaniuk --- board/hisilicon/poplar/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH] toradex: tdx-cfg-block: add 0086 i.mx8m mini sku

2024-02-02 Thread Igor Opaniuk
On Wed, Jan 31, 2024 at 6:32 PM Joao Paulo Goncalves wrote: > > From: Joao Paulo Goncalves > > Add new product id 0086 Verdin iMX8M Mini DualLite 2GB IT. > > Signed-off-by: Joao Paulo Goncalves > --- > > Hello, > > The change was based on u-boot-imx/master-next because of [1]. > > [1] >

Re: [PATCH v3 1/3] firmware: psci: Fix bind_smccc_features psci check

2024-02-02 Thread Igor Opaniuk
Hello Weizhao, On Fri, Feb 2, 2024 at 4:43 AM Weizhao Ouyang wrote: > > Hi Igor, > > On Thu, Feb 1, 2024 at 10:36 PM Igor Opaniuk > wrote: > > > > Hello Weizhao, > > > > On Wed, Jan 31, 2024 at 3:15 PM Weizhao Ouyang wrote: > > > > > > According to PSCI specification DEN0022F, PSCI_FEATURES

Re: [PATCH v2 1/3] mx6sabresd: Fix U-Boot corruption after saving the environment

2024-02-02 Thread Igor Opaniuk
On Fri, Feb 2, 2024 at 9:34 PM Igor Opaniuk wrote: > > On Fri, Feb 2, 2024 at 5:04 PM Fabio Estevam wrote: > > > > From: Fabio Estevam > > > > U-Boot binary has grown in such a way that it goes beyond the reserved > > area for the environment variables. > > > > Running "saveenv" and rebooting

Re: [PATCH v1] doc: imx: imxrt1170: Document imxrt1170-evk board

2024-02-02 Thread Jesse T
On Fri, Feb 2, 2024 at 3:40 AM Heinrich Schuchardt wrote: > > On 2/1/24 16:00, Jesse Taube wrote: > > Add documentation for imxrt1170-evk. > > > > Signed-off-by: Jesse Taube > > --- > > doc/board/nxp/imxrt1170-evk.rst | 42 + > > 1 file changed, 42

Re: [PATCH v2 1/3] mx6sabresd: Fix U-Boot corruption after saving the environment

2024-02-02 Thread Igor Opaniuk
On Fri, Feb 2, 2024 at 5:04 PM Fabio Estevam wrote: > > From: Fabio Estevam > > U-Boot binary has grown in such a way that it goes beyond the reserved > area for the environment variables. > > Running "saveenv" and rebooting the board causes U-Boot to hang because > of this overlap. > > Fix this

Re: [PATCH v2 3/3] mx6sabresd: Remove board_phy_config()

2024-02-02 Thread Igor Opaniuk
Hello Fabio, On Fri, Feb 2, 2024 at 5:04 PM Fabio Estevam wrote: > > From: Fabio Estevam > > With Ethernet DM in place, there is no longer the need for having > the board_phy_config() anymore. > > Remove it. > > Confirmed that TFTP transfer still works fine without board_phy_config(). > >

Re: [PATCH v5 00/11] An effort to bring DT bindings compliance within U-Boot

2024-02-02 Thread Tom Rini
On Fri, Feb 02, 2024 at 06:35:23PM +0530, Sumit Garg wrote: > Changes in v5: > -- > - Rebased on tip of master (050a9b981d6a835133521b599be3ae189ce70f41) > - Created v5_dt branch for testing purposes: > https://github.com/b49020/u-boot/tree/v5_dt > - Patch #6: Added support to

Re: [PATCH v2 2/3] mx6sabresd: Convert to watchdog driver model

2024-02-02 Thread Tom Rini
On Fri, Feb 02, 2024 at 01:17:06PM -0300, Fabio Estevam wrote: > On Fri, Feb 2, 2024 at 1:07 PM Tom Rini wrote: > > > Can all of this be upstreamed as well? > > I can try it, but that would go into kernel 6.9 in the best case. > > For now, let's keep it in u-boot.dtsi. Yes, sorry, I'm not

Re: [PATCH v2 05/13] arm: mach-k3: invert logic for split DM firmware config

2024-02-02 Thread Bryan Brattlof
On February 2, 2024 thus sayeth Andrew Davis: > On 1/31/24 9:06 PM, Bryan Brattlof wrote: > > Currently, for the K3 generation of SoCs, there are more SoCs that > > utilize the split firmware approach than the combined DMSC firmware. > > Invert the logic to avoid adding more and more SoCs to this

Re: [PATCH v2 10/13] arm: dts: introduce am62p5 uboot dts files

2024-02-02 Thread Bryan Brattlof
On February 2, 2024 thus sayeth Andrew Davis: > On 2/2/24 10:28 AM, Bryan Brattlof wrote: > > Hi Andrew! > > > > On February 2, 2024 thus sayeth Andrew Davis: > > > On 1/31/24 9:06 PM, Bryan Brattlof wrote: > > > > Include the uboot device tree files needed to boot the board. > > > > > > > >

Re: [PATCH v2 05/13] arm: mach-k3: invert logic for split DM firmware config

2024-02-02 Thread Andrew Davis
On 1/31/24 9:06 PM, Bryan Brattlof wrote: Currently, for the K3 generation of SoCs, there are more SoCs that utilize the split firmware approach than the combined DMSC firmware. Invert the logic to avoid adding more and more SoCs to this list. Signed-off-by: Bryan Brattlof ---

Re: [PATCH v4] remoteproc: uclass: Add methods to load firmware to rproc and boot rproc

2024-02-02 Thread Anwar, Md Danish
Hi Roger, On 2/2/2024 4:49 PM, Roger Quadros wrote: > > > On 30/01/2024 08:33, MD Danish Anwar wrote: >> Add APIs to set a firmware_name to a rproc and boot the rproc with the >> same firmware. >> >> Clients can call rproc_set_firmware() API to set firmware_name for a rproc >> whereas

Re: [PATCH v2 00/13] Introduce basic support for TI's AM62Px SoC family

2024-02-02 Thread Bryan Brattlof
Hi Sumit! On February 2, 2024 thus sayeth Sumit Garg: > Hi Bryan, > > On Thu, 1 Feb 2024 at 08:36, Bryan Brattlof wrote: > > > > Hello Again Everyone! > > > > **Note:** This series depends on the OF_UPSTREAM work from Sumit [0]. > > Patch #11 was added to fix some Makefile.spl targets to

Re: [PATCH v2 10/13] arm: dts: introduce am62p5 uboot dts files

2024-02-02 Thread Andrew Davis
On 2/2/24 10:28 AM, Bryan Brattlof wrote: Hi Andrew! On February 2, 2024 thus sayeth Andrew Davis: On 1/31/24 9:06 PM, Bryan Brattlof wrote: Include the uboot device tree files needed to boot the board. Signed-off-by: Bryan Brattlof --- arch/arm/dts/Makefile |2

Re: [PATCH v2 10/13] arm: dts: introduce am62p5 uboot dts files

2024-02-02 Thread Bryan Brattlof
Hi Andrew! On February 2, 2024 thus sayeth Andrew Davis: > On 1/31/24 9:06 PM, Bryan Brattlof wrote: > > Include the uboot device tree files needed to boot the board. > > > > Signed-off-by: Bryan Brattlof > > --- > > arch/arm/dts/Makefile |2 + > >

Re: [PATCH v2 2/3] mx6sabresd: Convert to watchdog driver model

2024-02-02 Thread Fabio Estevam
On Fri, Feb 2, 2024 at 1:07 PM Tom Rini wrote: > Can all of this be upstreamed as well? I can try it, but that would go into kernel 6.9 in the best case. For now, let's keep it in u-boot.dtsi.

Re: [PATCH v2 2/3] mx6sabresd: Convert to watchdog driver model

2024-02-02 Thread Tom Rini
On Fri, Feb 02, 2024 at 01:04:04PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()") caused > the 'reset' command in U-Boot to not cause a board reset. > > Fix it by switching to the watchdog driver model via sysreset, which >

Re: [PATCH v2 3/3] board: helios-4: add config fragment for spi booting

2024-02-02 Thread Tom Rini
On Fri, Feb 02, 2024 at 04:13:34PM +0100, Josua Mayer wrote: > Add a config fragment with required differences for booting from spi > flash instead of sd-card (default). > > Settings for environment location are based on vendor u-boot: >

Re: [PATCH v2 1/3] mx6sabresd: Fix U-Boot corruption after saving the environment

2024-02-02 Thread Tom Rini
On Fri, Feb 02, 2024 at 01:04:03PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > U-Boot binary has grown in such a way that it goes beyond the reserved > area for the environment variables. > > Running "saveenv" and rebooting the board causes U-Boot to hang because > of this

[PATCH v2 3/3] mx6sabresd: Remove board_phy_config()

2024-02-02 Thread Fabio Estevam
From: Fabio Estevam With Ethernet DM in place, there is no longer the need for having the board_phy_config() anymore. Remove it. Confirmed that TFTP transfer still works fine without board_phy_config(). Signed-off-by: Fabio Estevam --- Changes since v1: - Newly introduced.

[PATCH v2 2/3] mx6sabresd: Convert to watchdog driver model

2024-02-02 Thread Fabio Estevam
From: Fabio Estevam Commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()") caused the 'reset' command in U-Boot to not cause a board reset. Fix it by switching to the watchdog driver model via sysreset, which is the preferred method for implementing the watchdog reset. Signed-off-by:

[PATCH v2 1/3] mx6sabresd: Fix U-Boot corruption after saving the environment

2024-02-02 Thread Fabio Estevam
From: Fabio Estevam U-Boot binary has grown in such a way that it goes beyond the reserved area for the environment variables. Running "saveenv" and rebooting the board causes U-Boot to hang because of this overlap. Fix this problem by selecting CONFIG_LTO so that the U-Boot proper

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2024-02-02 Thread Simon Glass
Hi Masahiro, On Tue, 30 Jan 2024 at 02:16, Masahiro Yamada wrote: > > On Fri, Jan 26, 2024 at 1:04 AM Simon Glass wrote: > > > > Hi, > > > > On Wed, 17 Jan 2024 at 06:14, Simon Glass wrote: > > > > > > Hi Masahiro, Tom, > > > > > > On Tue, 9 Jan 2024 at 07:33, Tom Rini wrote: > > > > > > > >

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2024-02-02 Thread Simon Glass
Hi, On Wed, 31 Jan 2024 at 15:03, Rob Herring wrote: > > On Tue, Jan 30, 2024 at 3:16 AM Masahiro Yamada wrote: > > > > On Fri, Jan 26, 2024 at 1:04 AM Simon Glass wrote: > > > > > > Hi, > > > > > > On Wed, 17 Jan 2024 at 06:14, Simon Glass wrote: > > > > > > > > Hi Masahiro, Tom, > > > > > >

Re: [PATCH v2 10/13] arm: dts: introduce am62p5 uboot dts files

2024-02-02 Thread Andrew Davis
On 1/31/24 9:06 PM, Bryan Brattlof wrote: Include the uboot device tree files needed to boot the board. Signed-off-by: Bryan Brattlof --- arch/arm/dts/Makefile |2 + arch/arm/dts/k3-am62p-ddr-lp4-50-1600.dtsi | 2800

[PATCH v2 3/3] board: helios-4: add config fragment for spi booting

2024-02-02 Thread Josua Mayer
Add a config fragment with required differences for booting from spi flash instead of sd-card (default). Settings for environment location are based on vendor u-boot: https://github.com/kobol-io/u-boot/blob/helios4/include/configs/helios4.h#L59 The fragment can be applied on top of

[PATCH v2 2/3] arm: mvebu: helios4_defconfig: enable setexpr command

2024-02-02 Thread Josua Mayer
Update the helios4 defconfig to enable the 'setexpr' command, which is a default and useful for various complex boot-scripts. Signed-off-by: Josua Mayer --- configs/helios4_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/helios4_defconfig b/configs/helios4_defconfig index

[PATCH v2 0/3] arm: mvebu: helios-4: add config fragment for spi booting et al

2024-02-02 Thread Josua Mayer
This patch-set introduces a new config fragment for spi booting on kobol helios-4. Additionally add minor update for default defconfig to enable setexpr command, and fix u-boot command access to i2c0 bus. Signed-off-by: Josua Mayer --- Changes in v2: - replaced new defconfig with config

[PATCH v2 1/3] arm: dts: armada-38x-solidrun-microsom: configure i2c0 bus

2024-02-02 Thread Josua Mayer
SolidRun Armada-388 SoM has an i2c bus supporting on-som eeprom, and peripherals on a carrier. armada-38x.dtsi disables this bus by default, it should be enabled by som or carrier dts. Linux has moved i2c0 from helios-4 board dts to som dtsi, including status, pinctrl and clock speed. Copy these

Re: [PATCH 3/3] arm: mvebu: helios-4: add defconfig for spi booting

2024-02-02 Thread Josua Mayer
Am 14.01.24 um 15:37 schrieb Tom Rini: > On Sun, Jan 14, 2024 at 09:47:31AM +, Josua Mayer wrote: >> Hi Tim, >> >> Am 13.01.24 um 18:22 schrieb Tom Rini: >>> On Sat, Jan 13, 2024 at 05:36:57PM +0100, Josua Mayer wrote: >>> Add a new defconfig based on existing helios4_config file to

[PATCH] cmd: setexpr: fix no matching string in gsub return empty value

2024-02-02 Thread Massimiliano Minella
From: Massimiliano Minella In gsub, when the destination string is empty, the string 't' is provided and the regular expression doesn't match, then the final result is an empty string. Example: => echo ${foo} => setenv foo => setexpr foo gsub e a bar => echo ${foo} => The variable ${foo}

[PATCH 1/1] efi_loader: simplify error message in efi_disk_create_raw()

2024-02-02 Thread Heinrich Schuchardt
The error message Adding disk for usb_mass_storage.lun0 failed (err=-9223372036854775788/0x8014) provides a decimal and a hexadecimal notation of the EFI status code EFI_ALREADY_STARTED which is defined as (EFI_ERROR_MASK | 20). The decimal output does not convey the value 20

Re: [PATCH] arm: imx: imx8m: Enable the SError exception

2024-02-02 Thread Adam Ford
On Fri, Jan 12, 2024 at 1:07 AM Ye Li wrote: > > To work with commit 2f3c920(imx8m: workaround ROM serror), > we need to enable the SError exception and install vector in SPL. > > Signed-off-by: Ye Li > Reviewed-by: Peng Fan > --- > arch/arm/mach-imx/imx8m/Kconfig | 3 +++ > 1 file changed, 3

Re: [PATCH 1/2] mx6sabresd: Fix U-Boot corruption after saving the environment

2024-02-02 Thread Tom Rini
On Thu, Feb 01, 2024 at 10:48:48PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > U-Boot binary has grown in such a way that it goes beyond the reserved > area for the environment variables. > > Running "saveenv" and rebooting the board causes U-Boot to hang because > of this

Re: [PATCH 2/2] arm: dts: k3-am64: Sync with kernel v6.8-rc1

2024-02-02 Thread Nishanth Menon
On 16:27-20240201, Andrew Davis wrote: > Sync with kernel v6.8-rc1 and sync up the u-boot dts files accordingly. > > Signed-off-by: Andrew Davis Reviewed-by: Nishanth Menon -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

Re: [PATCH 1/3] rockchip: rk35xx: Remove use of eMMC DDR52 mode

2024-02-02 Thread Dragan Simic
On 2024-02-02 13:44, Quentin Schulz wrote: OK so just tested this in Linux kernel 5.10 from Rockchip and v6.6.7 with some patches for rk3588 (and the jaguar dts). I ran the following tests: $ fio --filename=/dev/mmcblk0 --rw=read --direct=1 --name=fioBench --bs=1M --ioengine=libaio

[PATCH v5 11/11] dts: meson-gxbb: Drop redundant devicetree files

2024-02-02 Thread Sumit Garg
Since meson-gxbb based boards switched to using upstream DT, so drop redundant files from arch/arm/dts directory. Only *-u-boot.dtsi files kept in arch/arm/dts directory for these boards. Reviewed-by: Neil Armstrong Signed-off-by: Sumit Garg --- Changes in v5: - None Changes in v4: - None

[PATCH v5 10/11] dts: meson-gxbb: Switch to using upstream DT

2024-02-02 Thread Sumit Garg
Although there were still some variations in board DTS files based on meson-gxbb SoC but I think those were minor differences from upstream and shouldn't impact boot on these devices. So enable OF_UPSTREAM to use upstream DT and add amlogic/ prefix to the DEFAULT_DEVICE_TREE. And thereby directly

[PATCH v5 09/11] MAINTAINERS: Add myself as devicetree-rebasing maintainer

2024-02-02 Thread Sumit Garg
Add myself as devicetree-rebasing maintainer. Reviewed-by: Simon Glass Reviewed-by: Ilias Apalodimas Signed-off-by: Sumit Garg --- Changes in v5: - None Changes in v4: - Switched subtree to be imported as dts/upstream sub-directory rather than devicetree-rebasing sub-directory to better

[PATCH v5 08/11] doc: devicetree: Updates for devicetree-rebasing subtree

2024-02-02 Thread Sumit Garg
Encourage SoC/board maintainers to migrate to using devicetree-rebasing subtree and maintain a regular sync with Linux kernel devicetree files and bindings. Along with that add documentation regarding how to run DT bindings schema checks. Signed-off-by: Sumit Garg --- Changes in v5: - Document

[PATCH v5 07/11] doc: devicetree: Align documentation to use Kconfig options

2024-02-02 Thread Sumit Garg
Since U-Boot switched away from manual CONFIG_* defines to Kconfig options, align devicetree documentation accordingly. Signed-off-by: Sumit Garg --- Changes in v5: - Fixed inappropriate documentation update. Changes in v4: - Separate patch to align documentation to use Kconfig symbols

[PATCH v5 06/11] dts: Add script to uprev dts/upstream subtree

2024-02-02 Thread Sumit Garg
dts/update-dts-subtree.sh is just a wrapper around git subtree commands. Usage from the top level U-Boot source tree, run: $ ./dts/update-dts-subtree.sh pull $ ./dts/update-dts-subtree.sh pick Signed-off-by: Sumit Garg --- Changes in v5: - Added support to cherry-pick fixes in subtree update

[PATCH v5 05/11] dts: Add alternative location for upstream DTB builds

2024-02-02 Thread Sumit Garg
Allow platform owners to mirror devicetree files from devitree-rebasing directory into dts/upstream/src/$(ARCH) (special case for arm64). Then build then along with any *-u-boot.dtsi file present in arch/$(ARCH)/dts directory. Also add a new Makefile for arm64. This will help easy migration for

[PATCH v5 04/11] Makefile: Allow upstream DT subtree to provide DT includes

2024-02-02 Thread Sumit Garg
Allow platforms to reuse DT headers and dtsi includes directly form upstream DT subtree which will be frequently synced with Linux kernel. This will further allow us to drop corresponding DT includes copy from U-Boot tree. Also, since the DT includes from upstream DT subtree are done after DT

[PATCH v5 03/11] scripts/Makefile.lib: Statically define *-u-boot.dtsi files location

2024-02-02 Thread Sumit Garg
Allow u-boot to build DTB from a different directory tree such that *-u-boot.dtsi files can be included from a common location. Currently that location is arch/$(ARCH)/dts/, so statically define that common location. This is needed for platform owners to start building DTB files from

[PATCH v5 02/11] Makefile: Add support for DT bindings schema checks

2024-02-02 Thread Sumit Garg
This adds the build infrastructure for checking DT binding schema documents and validating dtb files using the binding schema. Here we use devicetree-rebasing subtree to provide the DT bindings. Along with that adapt dts/upstream/Bindings/Makefile to align with old U-Boot Kbuild infrastructure.

[PATCH v5 01/11] CI: Exclude devicetree-rebasing subtree for CONFIG checks

2024-02-02 Thread Sumit Garg
Since devicetree-rebasing is an external repo with its own coding style, exclude it from Azure and gitlab CI CONFIG checks. Reviewed-by: Tom Rini Reviewed-by: Ilias Apalodimas Reviewed-by: Simon Glass Signed-off-by: Sumit Garg --- Changes in v5: - None Changes in v4: - Switched subtree to

[PATCH v5 00/11] An effort to bring DT bindings compliance within U-Boot

2024-02-02 Thread Sumit Garg
Changes in v5: -- - Rebased on tip of master (050a9b981d6a835133521b599be3ae189ce70f41) - Created v5_dt branch for testing purposes: https://github.com/b49020/u-boot/tree/v5_dt - Patch #6: Added support to cherry-pick fixes in subtree update script. Also, used https:// instead of

Re: [PATCH 1/3] rockchip: rk35xx: Remove use of eMMC DDR52 mode

2024-02-02 Thread Quentin Schulz
Hi Jonas, On 2/2/24 12:10, Quentin Schulz wrote: Hi Jonas, On 2/1/24 21:06, Jonas Karlman wrote: Hi Quentin, On 2024-02-01 13:40, Quentin Schulz wrote: Hi Jonas, On 2/1/24 11:51, Jonas Karlman wrote: Hi Quentin, On 2024-02-01 11:18, Quentin Schulz wrote: Hi Jonas, On 1/27/24 12:15,

[PATCH 4/4] configs: milkv_duo: Add SD card configs

2024-02-02 Thread Kongyang Liu
Add configs related to sdhci and mmc for Sophgo Milk-V Duo board Signed-off-by: Kongyang Liu --- configs/milkv_duo_defconfig | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/configs/milkv_duo_defconfig b/configs/milkv_duo_defconfig index

[PATCH 3/4] riscv: dts: sophgo: Add sdhci node

2024-02-02 Thread Kongyang Liu
Add sdhci node for cv1800b SoC. Signed-off-by: Kongyang Liu --- arch/riscv/dts/cv1800b.dtsi | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/riscv/dts/cv1800b.dtsi b/arch/riscv/dts/cv1800b.dtsi index baf641829e..11b84b5e79 100644 ---

[PATCH 2/4] riscv: dts: sophgo: Add clk node

2024-02-02 Thread Kongyang Liu
Add clk node for cv18xx SoCs according to patch from Linux kernel. Link: https://lore.kernel.org/all/ia1pr20mb4953355805f79abdd7fe9129bb...@ia1pr20mb4953.namprd20.prod.outlook.com/ Signed-off-by: Kongyang Liu --- arch/riscv/dts/cv1800b.dtsi | 4 arch/riscv/dts/cv18xx.dtsi | 6 ++ 2

[PATCH 1/4] mmc: cv1800b: Add sdhci driver support for cv1800b SoC

2024-02-02 Thread Kongyang Liu
Add sdhci driver for cv1800b SoC. Signed-off-by: Kongyang Liu --- drivers/mmc/Kconfig | 13 ++ drivers/mmc/Makefile| 1 + drivers/mmc/cv1800b_sdhci.c | 243 3 files changed, 257 insertions(+) create mode 100644

[PATCH 0/4] mmc: sophgo: milkv_duo: Add SD card support for Milk-V Duo board

2024-02-02 Thread Kongyang Liu
This series add sdhci driver for cv1800b SoC and enable SD card support for Sophgo Milk-V Duo board. Kongyang Liu (4): mmc: cv1800b: Add sdhci driver support for cv1800b SoC riscv: dts: sophgo: Add clk node riscv: dts: sophgo: Add sdhci node configs: milkv_duo: Add SD card configs

[PATCH 2/2] riscv: cache: Implement dcache for cv1800b

2024-02-02 Thread Kongyang Liu
Add dcache operations invalidate_dcache_range and flush_dcache_range for cv1800b. Signed-off-by: Kongyang Liu --- arch/riscv/cpu/cv1800b/Makefile | 1 + arch/riscv/cpu/cv1800b/cache.c | 45 + 2 files changed, 46 insertions(+) create mode 100644

[PATCH 1/2] riscv: cpu: cv1800b: Add support for cv1800b SoC

2024-02-02 Thread Kongyang Liu
Add Sophgo cv1800b SoC to support RISC-V arch. Signed-off-by: Kongyang Liu --- arch/riscv/Kconfig | 1 + arch/riscv/cpu/cv1800b/Kconfig | 12 arch/riscv/cpu/cv1800b/Makefile | 6 ++ arch/riscv/cpu/cv1800b/cpu.c| 22 ++

[PATCH 0/2] riscv: cpu: Add support for cv1800b SoC

2024-02-02 Thread Kongyang Liu
This series add basic support for cv1800b SoC and enable dcache support. The cv1800b utilizes CSR instructions to manipulate the first and second bits in the MHCR register (0x7C1) to indicate the activation status of icache and dcache. As the icache and dcache are already enabled in the FSBL

Re: [PATCH 1/2] board: phytec: am64x: Add PHYTEC phyCORE-AM64x SoM

2024-02-02 Thread Daniel Schultz
Hey Wadim, just trying to give you feedback through the archived mail. (That's why the content is missing). The R5 config has 0x800 as value for CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR. This offset wasn't changed upstream and the TI EVM still uses 0x400. Regards, Daniel

Re: [PATCH v2 1/1] net: ti: am65-cpsw-nuss: Remove incorrect RGMII_ID bit functionality

2024-02-02 Thread Roger Quadros
On 01/02/2024 22:17, Ken Sloat wrote: > The CPSW implementations on the AM6x platforms do not support the > selectable RGMII TX clk delay functionality via the RGMII_ID_MODE bit as > the earlier platforms did. While it is possible to write the bit, > according to various TI AM6x datasheets,

Re: [PATCH v3] common: usb-hub: Reset hub port before scanning

2024-02-02 Thread Andre Przywara
On Fri, 02 Feb 2024 03:35:24 +0100 Dragan Simic wrote: Hi, > Hello Andre, > > On 2024-02-02 01:12, Andre Przywara wrote: > > On Thu, 1 Feb 2024 18:35:28 + Shantur Rathore > > wrote: > >> On Thu, Feb 1, 2024 at 4:46 PM Andre Przywara > >> wrote: > >> > On Thu, 1 Feb 2024 09:39:54

Re: [PATCH v4] remoteproc: uclass: Add methods to load firmware to rproc and boot rproc

2024-02-02 Thread Roger Quadros
On 30/01/2024 08:33, MD Danish Anwar wrote: > Add APIs to set a firmware_name to a rproc and boot the rproc with the > same firmware. > > Clients can call rproc_set_firmware() API to set firmware_name for a rproc > whereas rproc_boot() will load the firmware set by rproc_set_firmware() to > a

Re: [PATCH 1/2] riscv: cpu: cv1800b: Add support for cv1800b SoC

2024-02-02 Thread Heinrich Schuchardt
On 02.02.24 10:37, Kongyang Liu wrote: Add Sophgo cv1800b SoC to support RISC-V arch. Signed-off-by: Kongyang Liu --- arch/riscv/Kconfig | 1 + arch/riscv/cpu/cv1800b/Kconfig | 12 arch/riscv/cpu/cv1800b/Makefile | 6 ++ arch/riscv/cpu/cv1800b/cpu.c|

Re: [PATCH 1/3] rockchip: rk35xx: Remove use of eMMC DDR52 mode

2024-02-02 Thread Quentin Schulz
Hi Jonas, On 2/1/24 21:06, Jonas Karlman wrote: Hi Quentin, On 2024-02-01 13:40, Quentin Schulz wrote: Hi Jonas, On 2/1/24 11:51, Jonas Karlman wrote: Hi Quentin, On 2024-02-01 11:18, Quentin Schulz wrote: Hi Jonas, On 1/27/24 12:15, Jonas Karlman wrote: Hi Eugen, On 2024-01-27 04:48,

Re: [PATCH 1/5] usb: dwc3-generic: implement Qualcomm wrapper

2024-02-02 Thread Mattijs Korpershoek
Hi Caleb, On Thu, Feb 01, 2024 at 14:24, Caleb Connolly wrote: > On 01/02/2024 09:34, Mattijs Korpershoek wrote: >> Hi Caleb, >> >> Thank you for the patch. >> >> On mer., janv. 31, 2024 at 14:57, Caleb Connolly >> wrote: >> >>> The Qualcomm specific dwc3 wrapper isn't hugely complicated,

Re: [PATCH] lib: sparse: Fix error checking for write_sparse_chunk_raw

2024-02-02 Thread Mattijs Korpershoek
Hi Sean, Thank you for the patch. On Thu, Feb 01, 2024 at 13:18, Sean Anderson wrote: > The return value of write_sparse_chunk_raw is unsigned, so the existing > check has no effect. Use IS_ERR_VALUE to detect error instead, which is > what write_sparse_chunk_raw does itself. > > Fixes:

Re: [PATCH] button: qcom-pmic: fix some error checking

2024-02-02 Thread Sumit Garg
On Wed, 31 Jan 2024 at 12:39, Dan Carpenter wrote: > > The pmic_reg_read() function can return errors. Add a check for that. > > Fixes: 4e8aa0065d4b ("button: qcom-pmic: introduce Qualcomm PMIC button > driver") > Signed-off-by: Dan Carpenter > --- > This patch is mostly to make static

Re: [PATCH v3 26/36] dts: msm8916: import PMIC dtsi files

2024-02-02 Thread Sumit Garg
On Tue, 30 Jan 2024 at 19:35, Caleb Connolly wrote: > > Import the supporting pm8916.dtsi and msm8916-pm8916.dtsi files from > upstream in preparation for switching boards over. > > Taken from kernel tag v6.7 > > Reviewed-by: Neil Armstrong > Signed-off-by: Caleb Connolly > --- >

Re: [PATCH v1] doc: imx: imxrt1170: Document imxrt1170-evk board

2024-02-02 Thread Heinrich Schuchardt
On 2/1/24 16:00, Jesse Taube wrote: Add documentation for imxrt1170-evk. Signed-off-by: Jesse Taube --- doc/board/nxp/imxrt1170-evk.rst | 42 + 1 file changed, 42 insertions(+) create mode 100644 doc/board/nxp/imxrt1170-evk.rst diff --git

Re: [PATCH v3 27/36] dts: msm8916: replace with upstream DTS

2024-02-02 Thread Sumit Garg
On Tue, 30 Jan 2024 at 19:35, Caleb Connolly wrote: > > Drop the U-Boot specific dragonboard410c.dts in favour of the upstream > msm8916-sbc.dts. No additional changes are needed to this DTS for U-Boot > support. > > Taken from kernel tag v6.7 > > Reviewed-by: Neil Armstrong > Signed-off-by:

Re: [PATCH v2 00/13] Introduce basic support for TI's AM62Px SoC family

2024-02-02 Thread Sumit Garg
Hi Bryan, On Thu, 1 Feb 2024 at 08:36, Bryan Brattlof wrote: > > Hello Again Everyone! > > **Note:** This series depends on the OF_UPSTREAM work from Sumit [0]. > Patch #11 was added to fix some Makefile.spl targets to allow SPL builds > to complete with the OF_UPSTREAM series. Thanks for your