[PATCH] clk: ti: Notify AVS driver upon setting clock rate

2023-09-18 Thread Udit Kumar
AVS is enabled at R5 SPL stage, where clk-k3 is used instead if clk-sci driver. clk-k3 driver to notify AVS driver upon setting clock rate so that voltage is changed accordingly. Fixes: e0aa873bc7cd ("clk: clk-ti-sci: Notify AVS driver upon setting clock rate") Cc: Keerthy Signed-off-by: Udit

[PATCH] env: ti: ti_common.env: Fix get_overlaystring for FIT Image

2023-09-18 Thread Manorit Chawdhry
After the refactor with conf- nodes in fitImage, overlaystring wasn't didn't handle the new conf- nodes in FIT Booting. Fix get_overlaystring to handle conf- nodes. Fixes: 837833a724b7 ("environment: ti: Add get_fit_config command to get FIT config string") Reported-by: Aniket Limaye Signed-off-

Re: [PATCH] include: env: ti: mmc: Add 'ti' directory prefix for overlays

2023-09-18 Thread Ravi Gunasekaran
On 9/15/23 6:12 PM, Nishanth Menon wrote: > On 15:42-20230915, Ravi Gunasekaran wrote: >> DTSOs are stored in vendor specific directories in Linux. > > what is dtso? kernel generates dtbo I'm sorry, my bad. I will be careful in future. > >> Add the vendor prefix to the path to load the overl

Re: [PATCH] doc: usage: load: document part as hexadecimal

2023-09-18 Thread Simon Glass
On Fri, 15 Sept 2023 at 21:33, Yoann Congal wrote: > > From: Mickaël Tansorier > > `part` option is in hexadecimal, so information is missing in usage > documentation. > > Callgraph for `part` parsing is : > do_load -> fs_set_blk_dev -> part_get_info_by_dev_and_name_or_num -> > blk_get_device_par

Re: [RESEND PATCH v1 2/2] clk: Add clock driver for Amlogic A1

2023-09-18 Thread Simon Glass
On Sun, 17 Sept 2023 at 04:14, Igor Prusov wrote: > > This patch adds basic clock driver for Amlogic A1 Family which supports > enabling/disabling some gates, getting frequencies and setting rate > with limited reparenting. > > Signed-off-by: Igor Prusov > --- > arch/arm/include/asm/arch-meson/c

Re: zboot: [PATCH] boot/pxe-utils: populate initrd_filesize for extlinux boot

2023-09-18 Thread Simon Glass
+Bin Meng since I think there is a similar patch applied to x86 already? On Sat, 16 Sept 2023 at 07:31, Ryan Lahfa wrote: > > The reason for this is that initrd_filesize is constantly equal to zero > or more specifically, potentially uninitialized memory. > > I believe this was introduced in > 0

Re: [PATCH] video: Add parentheses around VNBYTES() macro

2023-09-18 Thread Simon Glass
Hi Tom, Dan, On Tue, 8 Aug 2023 at 19:39, Tom Rini wrote: > > On Wed, Jul 26, 2023 at 09:54:08AM +0300, Dan Carpenter wrote: > > > The VNBYTES() macro needs to have parentheses to prevent some (harmless) > > macro expansion bugs. The VNBYTES() macro is used like this: > > > > VID_TO_PIXEL(

Re: [RESEND PATCH v1 1/2] dt-bindings: clock: Add Amlogic A1 clock bindings

2023-09-18 Thread Simon Glass
On Sun, 17 Sept 2023 at 04:14, Igor Prusov wrote: > > Add clock bindings for Amlogic A1 from linux-next next-20230821. > > Signed-off-by: Igor Prusov > --- > .../clock/amlogic,a1-peripherals-clkc.h | 168 ++ > .../dt-bindings/clock/amlogic,a1-pll-clkc.h | 25 +++ > 2 fil

Re: [PATCH v4] board: rockchip: Add Bananapi R2Pro Board

2023-09-18 Thread Jonas Karlman
Hi Frank, On 2023-09-18 19:36, Frank Wunderlich wrote: > From: Frank Wunderlich > > Add Bananapi R2 Pro board. > > tested: > - sdcard > - both front usb-ports > - sata > - wan-port > > lan-ports are connected to mt7531 switch where driver needs to be separated > from mtk ethernet-driver. > >

Re: [PATCH v4] board: rockchip: Add Bananapi R2Pro Board

2023-09-18 Thread Frank Wunderlich
Am 18. September 2023 20:59:55 MESZ schrieb Mark Kettenis : >> Date: Mon, 18 Sep 2023 20:09:54 +0200 >> From: Frank Wunderlich >> >> Am 18. September 2023 19:52:31 MESZ schrieb Mark Kettenis >> : >> >> From: Frank Wunderlich >> >> Date: Mon, 18 Sep 2023 19:36:24 +0200 >> >> Hi Mark, > >Hello

Re: [PATCH v4] board: rockchip: Add Bananapi R2Pro Board

2023-09-18 Thread Mark Kettenis
> Date: Mon, 18 Sep 2023 20:09:54 +0200 > From: Frank Wunderlich > > Am 18. September 2023 19:52:31 MESZ schrieb Mark Kettenis > : > >> From: Frank Wunderlich > >> Date: Mon, 18 Sep 2023 19:36:24 +0200 > > Hi Mark, Hello Frank, > >> --- /dev/null > >> +++ b/arch/arm/dts/rk3568-bpi-r2pro-u-bo

Re: [PATCH v4] board: rockchip: Add Bananapi R2Pro Board

2023-09-18 Thread Frank Wunderlich
Am 18. September 2023 19:52:31 MESZ schrieb Mark Kettenis : >> From: Frank Wunderlich >> Date: Mon, 18 Sep 2023 19:36:24 +0200 Hi Mark, >> --- /dev/null >> +++ b/arch/arm/dts/rk3568-bpi-r2pro-u-boot.dtsi >> @@ -0,0 +1,28 @@ >> +// SPDX-License-Identifier: GPL-2.0+ >> +/* >> + * (C) Copyright 20

Re: [PATCH v4] board: rockchip: Add Bananapi R2Pro Board

2023-09-18 Thread Mark Kettenis
> From: Frank Wunderlich > Date: Mon, 18 Sep 2023 19:36:24 +0200 > > Add Bananapi R2 Pro board. > > tested: > - sdcard > - both front usb-ports > - sata > - wan-port > > lan-ports are connected to mt7531 switch where driver needs to be separated > from mtk ethernet-driver. > > Signed-off-by:

Re: Pull request doc-2023-10-rc5-2

2023-09-18 Thread Massimo Pegorer
Hi Heinrich, Il giorno lun 18 set 2023 alle ore 16:12 Tom Rini ha scritto: > > On Sun, Sep 17, 2023 at 02:14:03AM +0200, Heinrich Schuchardt wrote: > > > Dear Tom, > > > > The following changes since commit 252592214f79d8206c3cf0056a8827a0010214e0: > > > > Merge tag 'doc-2023-10-rc5' of > > htt

[PATCH v4] board: rockchip: Add Bananapi R2Pro Board

2023-09-18 Thread Frank Wunderlich
From: Frank Wunderlich Add Bananapi R2 Pro board. tested: - sdcard - both front usb-ports - sata - wan-port lan-ports are connected to mt7531 switch where driver needs to be separated from mtk ethernet-driver. Signed-off-by: Frank Wunderlich --- because iodomain is different to evb and now i

[PATCH v3 2/2] arm: dts: j7200: dts sync with Linux 6.6-rc1

2023-09-18 Thread Reid Tonking
Sync j7200 dts with Linux 6.6-rc1 - k3-j7200-r5-common-proc-board.dts now inherits from k3-j7200-common-proc-board.dts instead of k3-j7200-som-p0.dtsi. This allows us to trim down the r5 file considerably by using existing properties - remove pimux nodes from r5 file - remove duplicate nod

[PATCH v3 0/2] J7200 device tree sync from v6.6-rc1 to u-boot

2023-09-18 Thread Reid Tonking
This series tries to sync device tree files from Linux v6.6-rc1 while making changes to the u-boot.dtsi and r5-common-proc-board.dts files in order to remove duplicate nodes and achieve successful boot. This is dependent on [0]. This patch was originally a part of v2, but was spun of as a dependen

[PATCH v3 1/2] arm: mach-k3: j7200: Add mcu_timer0 id to the dev list

2023-09-18 Thread Reid Tonking
mcu_timer0 is now used as the tick timer in u-boot, so this adds the timer to the soc device list so it can be enabled via the k3 power controller. Reviewed-by: Nishanth Menon Signed-off-by: Reid Tonking --- arch/arm/mach-k3/j7200/dev-data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/a

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-18 Thread Rob Herring
On Thu, Sep 14, 2023 at 5:42 PM Simon Glass wrote: > > Hi Rob, > > On Wed, 13 Sept 2023 at 16:39, Rob Herring wrote: > > > > On Fri, Sep 8, 2023 at 1:06 PM Mark Kettenis > > wrote: > > > > > > > From: Jassi Brar > > > > Date: Fri, 8 Sep 2023 09:37:12 -0500 > > > > > > > > Hi Simon, > > > > > >

Re: [PATCH v2 1/7] rng: stm32: rename STM32 RNG driver

2023-09-18 Thread Patrick DELAUNAY
Hi, On 9/11/23 17:37, Gatien Chevallier wrote: Rename the RNG driver as it is usable by other STM32 platforms than the STM32MP1x ones. Rename CONFIG_RNG_STM32MP1 to CONFIG_RNG_STM32 Signed-off-by: Gatien Chevallier Reviewed-by: Grzegorz Szymaszek --- Changes in V2: - Added ARCH_STM32

Re: [PATCH V2 1/3] configs: andes: add vender prefix for target name

2023-09-18 Thread Tom Rini
On Mon, Sep 18, 2023 at 08:11:34PM +0800, Randolph wrote: > Modify "CONFIG_TARGET_AE350" to "CONFIG_TARGET_ANDES_AE350" > > Signed-off-by: Randolph Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH V2 3/3] dts: andes: add SPL config option for itb layout

2023-09-18 Thread Tom Rini
On Mon, Sep 18, 2023 at 08:11:36PM +0800, Randolph wrote: > Add SPL_LOAD_FIT_CONFIG for binman itb layout selection > > Signed-off-by: Randolph > --- > arch/riscv/dts/ae350-u-boot.dtsi | 1 + > arch/riscv/dts/ae350_32.dts | 1 - > arch/riscv/dts/ae350_64.dts | 1 - > board

Re: [PATCH v4 2/4] spl: fit: support for booting a LZMA-compressed U-boot binary

2023-09-18 Thread Tom Rini
On Mon, Sep 18, 2023 at 12:56:26AM +0530, Manoj Sai wrote: > If LZMA Compression support is enabled, LZMA compressed U-Boot > binary will be placed at a specified RAM location which is > defined at CONFIG_SYS_LOAD_ADDR and will be assigned as the > source address. > > image_decomp() function, wi

Re: [PATCH v4 1/4] spl: fit: support for booting a GZIP-compressed U-boot binary

2023-09-18 Thread Tom Rini
On Mon, Sep 18, 2023 at 12:56:25AM +0530, Manoj Sai wrote: > If GZIP Compression support is enabled, GZIP compressed U-Boot binary > will be at a specified RAM location which is defined at > CONFIG_SYS_LOAD_ADDR and will be assign it as the source address. > > gunzip function in spl_load_fit_imag

Re: [PATCH] linux/compat.h: Define empty __initconst and __initdata

2023-09-18 Thread Tom Rini
On Sun, Sep 17, 2023 at 04:09:39PM +0200, Marek Vasut wrote: > Introduce two new empty macros used in various static tables in Linux. > > Signed-off-by: Marek Vasut Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 0/2] Fix dependencies of USB Kconfig options

2023-09-18 Thread Michal Simek
On 9/4/23 05:15, Venkatesh Yadav Abbarapu wrote: When USB device driver CONFIG_USB and CONFIG_CMD_USB are disabled, some compilation issues are seen. Also CMD_THOR_DOWNLOAD should depend on USB_GADGET_DOWNLOAD. Add dependencies to resolve those issues and compile properly. Also remove unused c

Re: [PULL] u-boot-sh/master

2023-09-18 Thread Tom Rini
On Sun, Sep 17, 2023 at 02:54:07PM +0200, Marek Vasut wrote: > Two ethernet fixes for this release . > > The following changes since commit 252592214f79d8206c3cf0056a8827a0010214e0: > > Merge tag 'doc-2023-10-rc5' of > https://source.denx.de/u-boot/custodians/u-boot-efi (2023-09-09 09:33:02

Re: Pull request doc-2023-10-rc5-2

2023-09-18 Thread Tom Rini
On Sun, Sep 17, 2023 at 02:14:03AM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit 252592214f79d8206c3cf0056a8827a0010214e0: > > Merge tag 'doc-2023-10-rc5' of > https://source.denx.de/u-boot/custodians/u-boot-efi (2023-09-09 09:33:02 > -0400) > > are avai

Re: [PATCH v2 1/2] cmd: thordown: Add proper dependency for CMD_THOR_DOWNLOAD

2023-09-18 Thread Tom Rini
On Mon, Sep 04, 2023 at 08:45:27AM +0530, Venkatesh Yadav Abbarapu wrote: > When CONFIG_CMD_USB and CONFIG_USB are disabled some compilation errors are > seen as below. > > cmd/thordown.o: in function `usb_gadget_initialize': > include/linux/usb/gadget.h:981: undefined reference to `board_usb_in

Re: [PATCH v1] configs: imxrt1050-evk: enable distro bootcmd

2023-09-18 Thread Tom Rini
On Sun, Sep 17, 2023 at 11:47:34PM -0400, Jesse Taube wrote: > Add support to boot from script.scr from mmc. > > imxrt1050-evk was not able to boot from script.scr because we did not > include config_distro_bootcmd.h and set the device to mmc. > > Signed-off-by: Jesse Taube A few things. In g

[PATCH] arm64: zynqmp: Remove resetin/out from K24 psu_init

2023-09-18 Thread Michal Simek
The code is not called that's why remove it. Signed-off-by: Michal Simek --- .../zynqmp/zynqmp-sm-k24-revA/psu_init_gpl.c | 123 -- 1 file changed, 123 deletions(-) diff --git a/board/xilinx/zynqmp/zynqmp-sm-k24-revA/psu_init_gpl.c b/board/xilinx/zynqmp/zynqmp-sm-k24-revA/psu

[PATCH] arm64: zynqmp: Rename dt overlay file names from dts to dtso

2023-09-18 Thread Michal Simek
Use dtso suffix instead of dts. Build option was introduced by commit a0f9a77912b2 ("kbuild: Allow DTB overlays to built from .dtso named source files"). Signed-off-by: Michal Simek --- .../dts/{zynqmp-sck-kr-g-revA.dts => zynqmp-sck-kr-g-revA.dtso} | 0 .../dts/{zynqmp-sck-kr-g-revB.dts => z

[PATCH V2 3/3] dts: andes: add SPL config option for itb layout

2023-09-18 Thread Randolph
Add SPL_LOAD_FIT_CONFIG for binman itb layout selection Signed-off-by: Randolph --- arch/riscv/dts/ae350-u-boot.dtsi | 1 + arch/riscv/dts/ae350_32.dts | 1 - arch/riscv/dts/ae350_64.dts | 1 - board/AndesTech/ae350/Kconfig| 6 ++ configs/ae350_rv32_defconfig

[PATCH V2 2/3] configs: andes: rearrange SPL mode memory layout

2023-09-18 Thread Randolph
Unify the memory layout for u-boot SPL mode Add "CONFIG_SPL_OPENSBI_SCRATCH_OPTIONS" Signed-off-by: Randolph --- configs/ae350_rv32_spl_defconfig | 7 --- configs/ae350_rv32_spl_xip_defconfig | 5 +++-- configs/ae350_rv64_spl_defconfig | 7 --- configs/ae350_rv64_spl_xip_defconfi

[PATCH V2 1/3] configs: andes: add vender prefix for target name

2023-09-18 Thread Randolph
Modify "CONFIG_TARGET_AE350" to "CONFIG_TARGET_ANDES_AE350" Signed-off-by: Randolph --- arch/riscv/Kconfig | 4 ++-- arch/riscv/dts/Makefile | 2 +- board/AndesTech/ae350/Kconfig| 2 +- configs/ae350_rv32_defconfig | 2 +- configs/ae350_rv32_spl_def

[PATCH V2 0/3] andes: rearrange defconfig and dts

2023-09-18 Thread Randolph
Changes in v2: - Split the original patch into three smaller ones Randolph (3): configs: andes: add vender prefix for target name configs: andes: rearrange SPL mode memory layout dts: andes: add SPL config option for itb layout arch/riscv/Kconfig | 4 ++-- arch/riscv/dts

[PATCH] arm64: zynqmp: Describe assigned-clocks for uarts

2023-09-18 Thread Michal Simek
Describe assigned-clocks for both uarts. SOM is using this functionality. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-clk-ccf.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/zynqmp-clk-ccf.dtsi b/arch/arm/dts/zynqmp-clk-ccf.dtsi index 1ae8ea2e43f7..9c0aa073dd94 1

Re: [PATCH] cmd: sf: Fix the flash_is_unlocked api size parameter

2023-09-18 Thread Michal Simek
On 9/5/23 05:43, Venkatesh Yadav Abbarapu wrote: When we pass the size parameter to the command "sf erase", please avoid we flash_is_unlocked() api is getting updated with length which is incorrect. Fix this flash_is_unlocked() api by passing the size parameter. ZynqMP> sf erase 0 10

Re: [PATCH] clk: versal: Fix the function versal_clock_ref

2023-09-18 Thread Michal Simek
On 9/12/23 05:30, Venkatesh Yadav Abbarapu wrote: For reference clocks, PM_CLK_GET_PARENT call is not allowed. PM_CLK_GET_PARENT only allowed for MUX clocks. Rename the versal_clock_ref() with versal_clock_get_ref_rate() for better readability. Fix the versal_clock_get_ref_rate function by pas

Re: [PATCH 0/5] xilinx: Sync DTs with Xilinx tree

2023-09-18 Thread Michal Simek
On 9/11/23 16:10, Michal Simek wrote: Hi, I am sending patches which I found are not sent out yet. These 5 patches are fixing typos or incorrect device description or adding already defined properties. Thanks, Michal Amit Kumar Mahapatra (1): arm64: versal: Add no-wp DT property in OSPI

Re: [PATCH] dm: core: ofnode: Fix error message in ofnode_read_bootscript_address/flash()

2023-09-18 Thread Michal Simek
On 9/11/23 15:30, Michal Simek wrote: Missing u-boot node shouldn't be visible in bootlog without debug enabled that's why change message from printf to debug. Signed-off-by: Michal Simek --- drivers/core/ofnode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dr

Re: [PATCH v2 0/2] Fix dependencies of USB Kconfig options

2023-09-18 Thread Michal Simek
Hi Tom, On 9/4/23 05:15, Venkatesh Yadav Abbarapu wrote: When USB device driver CONFIG_USB and CONFIG_CMD_USB are disabled, some compilation issues are seen. Also CMD_THOR_DOWNLOAD should depend on USB_GADGET_DOWNLOAD. Add dependencies to resolve those issues and compile properly. Also remove un

[PATCH 1/1] starfive: visionfive2: add mmc0 and nvme boot targets

2023-09-18 Thread Milan P . Stanić
boot from SDIO3.0 (mmc sdcard) first if it is plugged. If mmc is not plugged try to boot from emmc if it is plugged. If emmc is not plugged then try to boot from nvme. Signed-off-by: Milan P. Stanić --- include/configs/starfive-visionfive2.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/