Re: [PATCH v3 5/6] board: stm32f469-disco: add support to display

2023-12-11 Thread Patrice CHOTARD
On 12/11/23 23:05, Dario Binacchi wrote: > Add support to Orise Tech OTM8009A display on stm32f469-disco board. > > It was necessary to retrieve the framebuffer address from the device tree > because the address returned by the video-uclass driver pointed to a memory > area that was not

Re: [PATCH v3 4/6] ARM: dts: stm32: support MIPI DSI on stm32f469-disco board

2023-12-11 Thread Patrice CHOTARD
On 12/11/23 23:05, Dario Binacchi wrote: > Unlike Linux, the DSI driver requires the LTDC clock to be properly > probed. Hence, the changes made to the DSI node. > > Signed-off-by: Dario Binacchi > --- > > (no changes since v1) > > arch/arm/dts/stm32f469-disco-u-boot.dtsi | 4 > 1

RE: [PATCH v1 1/1] arm64: zynqmp: Add output-enable pins to SOMs

2023-12-11 Thread Frager, Neal
> Now that the zynqmp pinctrl driver supports the tri-state registers, make > sure that the pins requiring output-enable are configured appropriately for > SOMs. > Without it, all tristate setting for MIOs, which are not related to SOM > itself, are using default configuration which is not

Re: [PATCH 00/21] Qualcomm generic board support

2023-12-11 Thread Sumit Garg
Hi Tom, On Sun, 10 Dec 2023 at 03:33, Tom Rini wrote: > > On Mon, Dec 04, 2023 at 11:02:57AM +0530, Sumit Garg wrote: > > [snip] > > But currently u-boot doesn't have a proper way to validate those DTS > > against DT bindings (maintained in Linux kernel). Although there are > > Devicetree schema

T113 sunxi SPI NAND thoughts, feedback wanted

2023-12-11 Thread John Watts
Greetings sunxi and U-Boot friends! Over the past five months I've managed to slog through getting a complete SPI NAND U-Boot and Linux setup running on my Mango Pi MQ. My tree is here, but I will be slowly trying to upstream my work over the next few months:

Re: [PATCH v2] imx: imx8mp: Add support for Polyhex Debix Model A SBC

2023-12-11 Thread Gilles Talis
Hi Milan, Le jeu. 7 déc. 2023 à 11:09, Milan Zamazal a écrit : > Peng Fan writes: > > > On 5/24/2023 3:21 AM, Gilles Talis wrote: > >> Add support for the Polyhex Debix Model A SBC board. > >> It is an industrial grade single board computer based on > >> NXP's i.MX 8M Plus. > >> Currently

Re: [PATCH v4] arm: dts: rockpro64: Add RockPro64 smbios

2023-12-11 Thread Kever Yang
On 2023/11/13 19:23, Shantur Rathore wrote: Add smbios information for Pine64 RockPro64 board and enable in config Signed-off-by: Shantur Rathore Reviewed-by: Kever Yang Thanks, - Kever --- Changes v4: Change PINE64 to Pine64 v3: Enable SYSINFO and SYSINFO_SMBIOS in defconfig

[PATCH V3 7/7] doc: board: anbernic: Update rgxx3 to add new boards

2023-12-11 Thread Chris Morgan
From: Chris Morgan Update the RGxx3 documentation to note that it now supports the RG-ARC-D, RG-ARC-S, Powkiddy RK2023, and Powkiddy RGB30. Also update verbiage around panel detection to note that it is no longer hard coded to the RG503. Signed-off-by: Chris Morgan ---

[PATCH V3 5/7] rockchip: board: Add board_rng_seed() for all Rockchip devices

2023-12-11 Thread Chris Morgan
From: Chris Morgan Allow all rockchip devices to use the hardware RNG to seed Linux RNG. Signed-off-by: Chris Morgan --- arch/arm/mach-rockchip/board.c | 32 ++ board/anbernic/rgxx3_rk3566/rgxx3-rk3566.c | 29 2 files changed, 32

[PATCH V3 1/7] board: rockchip: Refactor panel auto-detect code

2023-12-11 Thread Chris Morgan
From: Chris Morgan Make the inability to detect a panel using the auto detection code not fail the entire boot process. This means that if the panel ID cannot be read we don't set an environment variable for the panel, and if an environment variable for the panel is not set we don't attempt to

[PATCH V3 6/7] board: rockchip: Add support for new boards to RGxx3

2023-12-11 Thread Chris Morgan
From: Chris Morgan Add support for the Anbernic RG-ARC-D, Anbernic RG-ARC-S, Powkiddy RK2023, and Powkiddy RGB30 to the Anbernic RGxx3. While the Powkiddy devices are manufactured by Powkiddy instead of Anbernic, the hardware is so similar they can all use the same bootloader. Signed-off-by:

[PATCH V3 4/7] board: rockchip: Add Recovery Button for Anbernic RGxx3

2023-12-11 Thread Chris Morgan
From: Chris Morgan Add support for users to enter recovery mode by holding the function button when they power up the device. Since the device has soldered eMMC and sometimes does not expose a clk pin on the mainboard there is a small chance that a user who flashes a bad bootloader may not be

[PATCH V3 3/7] rockchip: boot_mode: Allow rockchip_dnl_key_pressed() in SPL

2023-12-11 Thread Chris Morgan
From: Chris Morgan Update the rockchip_dnl_key_pressed() so that it can run in SPL. Also change the ADC channel to a define that can be overridden by a board specific option. Signed-off-by: Chris Morgan --- arch/arm/mach-rockchip/Makefile| 4 ++-- arch/arm/mach-rockchip/boot_mode.c | 11

[PATCH V3 2/7] spl: Add Kconfig options for ADC

2023-12-11 Thread Chris Morgan
From: Chris Morgan Add kconfig options to enable ADC in SPL Signed-off-by: Chris Morgan --- common/spl/Kconfig | 7 +++ drivers/Makefile | 1 + drivers/adc/Makefile | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index

[PATCH V3 0/7] Add Additional Boards and Features to RGxx3

2023-12-11 Thread Chris Morgan
From: Chris Morgan The RGxx3 is a pseudo-device for U-Boot that works for every Anbernic RGxx3 series device on the market. Add support for another series of very similar devices from Powkiddy. Changes since V2: - Modify the mach-rockchip level rockchip_dnl_key_pressed() so that we can also

[PATCH v3 6/6] board: stm32f469-disco: add splash screen with stmicroelectronics logo

2023-12-11 Thread Dario Binacchi
Display the STMicroelectronics logo with features VIDEO_LOGO and SPLASH_SCREEN on stm32f469-disco board. Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard --- Changes in v3: - Add Patrice Chotard's Reviewed-by tag. - Remove RFC tag - Split "[4/5] ARM: dts: stm32: support display on

[PATCH v3 5/6] board: stm32f469-disco: add support to display

2023-12-11 Thread Dario Binacchi
Add support to Orise Tech OTM8009A display on stm32f469-disco board. It was necessary to retrieve the framebuffer address from the device tree because the address returned by the video-uclass driver pointed to a memory area that was not usable. Signed-off-by: Dario Binacchi --- Changes in v3:

[PATCH v3 4/6] ARM: dts: stm32: support MIPI DSI on stm32f469-disco board

2023-12-11 Thread Dario Binacchi
Unlike Linux, the DSI driver requires the LTDC clock to be properly probed. Hence, the changes made to the DSI node. Signed-off-by: Dario Binacchi --- (no changes since v1) arch/arm/dts/stm32f469-disco-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git

[PATCH v3 3/6] ARM: dts: stm32: make the DSI clock usable by the clock driver

2023-12-11 Thread Dario Binacchi
As described in [1], the "clocks" property contains "a phandle to the clock device node, an index selecting between gated clocks (0) and other clocks (1), and an index specifying the clock to use." The current version of the clock driver, unlike the kernel, is currently able to properly handle

[PATCH v3 2/6] ARM: dts: stm32: make the LTDC clock usable by the clock driver

2023-12-11 Thread Dario Binacchi
As described in [1], the "clocks" property contains "a phandle to the clock device node, an index selecting between gated clocks (0) and other clocks (1), and an index specifying the clock to use." The current version of the clock driver, unlike the kernel, is currently able to properly handle

[PATCH v3 1/6] ARM: dts: stm32f469-disco: sync with Linux 6.5

2023-12-11 Thread Dario Binacchi
Sync the devicetree with linux 6.5 for stm32f746-disco board. Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard --- (no changes since v2) Changes in v2: - Add Patrice Chotard's Reviewed-by tag. arch/arm/dts/stm32f469-disco.dts | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH v3 0/6] Support display on stm32f469-disco board

2023-12-11 Thread Dario Binacchi
The series adds support for the Orise Tech OTM8009A display on the stm32f469-disco board. Substantial differences in the drivers for clock management, LTDC and DSI compared to Linux, made it necessary to modify the device tree. These changes were made in stm32f469-disco-uboot.dtsi to avoid

Re: [PATCH 1/1] clk: imx8mn: add pwm clocks

2023-12-11 Thread Fabio Estevam
Hi Nicolas, On Mon, Dec 11, 2023 at 1:52 PM Nicolas Heemeryck wrote: > > Based on Linux kernel 6.7-rc4, add necessary clocks for the PWM > controllers. > > Signed-off-by: Nicolas Heemeryck Reviewed-by: Fabio Estevam

Re: [PATCH v4] arm: dts: rockpro64: Add RockPro64 smbios

2023-12-11 Thread Tom Rini
On Mon, Dec 11, 2023 at 08:42:19PM +, Shantur Rathore wrote: > Hi, > > On Mon, Nov 13, 2023 at 11:24 AM Shantur Rathore wrote: > > > > Add smbios information for Pine64 RockPro64 board and enable in > > config > > > > Signed-off-by: Shantur Rathore > > --- > > Changes > > v4: Change

Re: [PATCH v4] arm: dts: rockpro64: Add RockPro64 smbios

2023-12-11 Thread Shantur Rathore
Hi, On Mon, Nov 13, 2023 at 11:24 AM Shantur Rathore wrote: > > Add smbios information for Pine64 RockPro64 board and enable in > config > > Signed-off-by: Shantur Rathore > --- > Changes > v4: Change PINE64 to Pine64 > v3: Enable SYSINFO and SYSINFO_SMBIOS in defconfig > >

Re: [PATCH 1/3] iommu: fix compilation when CONFIG_PCI disabled

2023-12-11 Thread Tom Rini
On Mon, Dec 11, 2023 at 07:47:04PM +, Caleb Connolly wrote: > > > On 11/12/2023 19:17, Tom Rini wrote: > > On Mon, Dec 11, 2023 at 08:08:32PM +0100, Dragan Simic wrote: > >> On 2023-12-11 19:41, Caleb Connolly wrote: > >>> The dev_pci_iommu_enable() function is only available when CONFIG_PCI

Re: [PATCH 1/3] iommu: fix compilation when CONFIG_PCI disabled

2023-12-11 Thread Caleb Connolly
On 11/12/2023 19:17, Tom Rini wrote: > On Mon, Dec 11, 2023 at 08:08:32PM +0100, Dragan Simic wrote: >> On 2023-12-11 19:41, Caleb Connolly wrote: >>> The dev_pci_iommu_enable() function is only available when CONFIG_PCI is >>> enabled, replace the runtime check with a preprocessor one to fix

Re: [PATCH v3] mmc: Poll CD in case cyclic framework is enabled

2023-12-11 Thread Marek Vasut
On 12/11/23 18:52, Simon Glass wrote: Hi Marek, On Sun, 10 Dec 2023 at 08:03, Marek Vasut wrote: In case the cyclic framework is enabled, poll the card detect of already initialized cards and deinitialize them in case they are removed. Since the card initialization is a longer process and

Re: [PATCH 1/3] iommu: fix compilation when CONFIG_PCI disabled

2023-12-11 Thread Tom Rini
On Mon, Dec 11, 2023 at 08:08:32PM +0100, Dragan Simic wrote: > On 2023-12-11 19:41, Caleb Connolly wrote: > > The dev_pci_iommu_enable() function is only available when CONFIG_PCI is > > enabled, replace the runtime check with a preprocessor one to fix > > compilation with pci disabled. > > > >

Re: [PATCH] include: env: ti: ti_common: Run main_cpsw0_qsgmii_phyinit conditionally

2023-12-11 Thread Tom Rini
On Mon, Dec 11, 2023 at 04:12:09PM +0530, Siddharth Vadapalli wrote: > From: Manorit Chawdhry > > The main_cpsw0_qsgmii_phyinit command is defined only for certain TI > SoCs which have the do_main_cpsw0_qsgmii_phyinit variable set. > > Add a check to ensure that the main_cpsw0_qsgmii_phyinit

Re: [PATCH 1/3] iommu: fix compilation when CONFIG_PCI disabled

2023-12-11 Thread Dragan Simic
On 2023-12-11 19:41, Caleb Connolly wrote: The dev_pci_iommu_enable() function is only available when CONFIG_PCI is enabled, replace the runtime check with a preprocessor one to fix compilation with pci disabled. Signed-off-by: Caleb Connolly --- drivers/iommu/iommu-uclass.c | 5 +++-- 1

[PATCH 3/3] iommu: add qcom-hyp-smmu

2023-12-11 Thread Caleb Connolly
Add a basic implementation of the ARM SMMU. This driver is intended for use on Qualcomm platforms where the SMMU has been configured by a previous bootloader, cannot be turned off, and doesn't support BYPASS streams. It keeps all existing stream mappings and only creates new ones for stream ids

[PATCH 2/3] iommu: add a connect op

2023-12-11 Thread Caleb Connolly
Add an optional iommu callback to be invoked before a device probes. This can be used to configure the IOMMU in preparation for the device (e.g. by allocating a context bank) Signed-off-by: Caleb Connolly --- drivers/iommu/iommu-uclass.c | 11 +++ include/iommu.h | 9

[PATCH 1/3] iommu: fix compilation when CONFIG_PCI disabled

2023-12-11 Thread Caleb Connolly
The dev_pci_iommu_enable() function is only available when CONFIG_PCI is enabled, replace the runtime check with a preprocessor one to fix compilation with pci disabled. Signed-off-by: Caleb Connolly --- drivers/iommu/iommu-uclass.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

[PATCH 0/3] Qualcomm quirky SMMU support

2023-12-11 Thread Caleb Connolly
Qualcomm platforms are heavily locked down, in many cases offering no way for users to gain EL2 or EL3 code execution and including many additional security features. Among these are modifications made to the SMMU behaviour (done by having the hypervisor intercept register accesses). On many

Re: [PATCH v3] arch: arm: Kconfig: Enable BOOTSTD_FULL for Rockchip SoCs

2023-12-11 Thread Tom Rini
On Mon, Dec 11, 2023 at 11:22:45AM -0700, Simon Glass wrote: > Hi Tom, [snip] > > I think in hind-sight too much stuff is omitted without BOOTSTD_FULL. > > The option itself then enables other stuff too by default, but some > > parts of the bootflow command itself should be visible even without

Re: [PATCH v3] arch: arm: Kconfig: Enable BOOTSTD_FULL for Rockchip SoCs

2023-12-11 Thread Simon Glass
Hi Tom, On Mon, 11 Dec 2023 at 11:19, Tom Rini wrote: > > On Mon, Dec 11, 2023 at 10:52:12AM -0700, Simon Glass wrote: > > Hi, > > > > On Sat, 9 Dec 2023 at 15:19, Shantur Rathore wrote: > > > > > > On Sat, Dec 9, 2023 at 8:56 PM Tom Rini wrote: > > > > > > > > On Fri, Dec 08, 2023 at

Re: [PATCH v3] arch: arm: Kconfig: Enable BOOTSTD_FULL for Rockchip SoCs

2023-12-11 Thread Tom Rini
On Mon, Dec 11, 2023 at 10:52:12AM -0700, Simon Glass wrote: > Hi, > > On Sat, 9 Dec 2023 at 15:19, Shantur Rathore wrote: > > > > On Sat, Dec 9, 2023 at 8:56 PM Tom Rini wrote: > > > > > > On Fri, Dec 08, 2023 at 01:59:26PM +, Shantur Rathore wrote: > > > > Hi Peter, > > > > > > > > On

[PATCH v2 2/2] test: vboot: Using variable 'old_dtb' before assignment

2023-12-11 Thread Heinrich Schuchardt
old_dtb can only be assumed initialized in the finally block if it is assigned a value before the try statement. Avoid a pylint error reported by current pylint. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- v2: mention pylint in commit message ---

[PATCH v2 1/2] test: fit: Using variable 'old_dtb' before assignment

2023-12-11 Thread Heinrich Schuchardt
old_dtb can only be assumed initialized in the finally block if it is assigned a value before the try statement. Avoid a pylint error reported by current pylint. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- v2: mention pylint in commit message ---

[PATCH v2 0/2] test: Using variable 'old_dtb' before assignment

2023-12-11 Thread Heinrich Schuchardt
Avoid errors reported by 'make pylint_err. v2: mention pylint in commit messages Heinrich Schuchardt (2): test: fit: Using variable 'old_dtb' before assignment test: vboot: Using variable 'old_dtb' before assignment test/py/tests/test_fit.py | 6 +++---

Re: [PATCH 1/1] binman: elf: Using variable 'old_val' before assignment

2023-12-11 Thread Heinrich Schuchardt
On 11.12.23 18:52, Simon Glass wrote: On Sat, 9 Dec 2023 at 11:50, Heinrich Schuchardt wrote: old_val can only be assumed initialized in the finally block if it is assigned a value before the try statement. Signed-off-by: Heinrich Schuchardt --- tools/binman/elf_test.py | 8 1

Re: [PATCH 2/2] test: vboot: Using variable 'old_dtb' before assignment

2023-12-11 Thread Heinrich Schuchardt
On 11.12.23 18:52, Simon Glass wrote: On Sat, 9 Dec 2023 at 11:54, Heinrich Schuchardt wrote: old_dtb can only be assumed initialized in the finally block if it is assigned a value before the try statement. Signed-off-by: Heinrich Schuchardt --- test/py/tests/test_vboot.py | 6 +++--- 1

Re: [PATCH 00/18] Complete decoupling of bootm logic from commands

2023-12-11 Thread Simon Glass
Hi Tom, On Sat, 9 Dec 2023 at 12:09, Tom Rini wrote: > > On Sun, Dec 03, 2023 at 05:26:16PM -0700, Simon Glass wrote: > > > This series continues refactoring the bootm code to allow it to be used > > with CONFIG_COMMAND disabled. The OS-handling code is refactored and > > a new bootm_run()

Re: [PATCH] CI: update pylint to recent version

2023-12-11 Thread Simon Glass
Hi Heinrich, On Sat, 9 Dec 2023 at 13:03, Heinrich Schuchardt wrote: > > We are missing some Python problems like > >"Using variable 'varname' before assignment" > > Switch to a more recent version. Adjust the documentation accordingly. > > Signed-off-by: Heinrich Schuchardt > --- >

Re: [PATCH 1/1] binman: elf: Using variable 'old_val' before assignment

2023-12-11 Thread Simon Glass
On Sat, 9 Dec 2023 at 11:50, Heinrich Schuchardt wrote: > > old_val can only be assumed initialized in the finally block > if it is assigned a value before the try statement. > > Signed-off-by: Heinrich Schuchardt > --- > tools/binman/elf_test.py | 8 > 1 file changed, 4 insertions(+),

Re: [PATCH 01/14] boot: Reorder FIT and BOOTSTD to be first

2023-12-11 Thread Simon Glass
Hi Tom, On Sat, 9 Dec 2023 at 11:39, Tom Rini wrote: > > On Sun, Dec 03, 2023 at 05:31:25PM -0700, Simon Glass wrote: > > > The boot menu shows Android first and then a timestamp option. Move > > these later since they are less commonly used. > > > > Signed-off-by: Simon Glass > > --- > > > >

Re: [PATCH v7 2/2] schemas: Add some common reserved-memory usages

2023-12-11 Thread Simon Glass
Hi, On Tue, 28 Nov 2023 at 13:31, Chiu, Chasel wrote: > > > > > > -Original Message- > > From: Ard Biesheuvel > > Sent: Tuesday, November 28, 2023 10:08 AM > > To: Chiu, Chasel > > Cc: Simon Glass ; devicet...@vger.kernel.org; Mark > > Rutland > > ; Rob Herring ; Tan, Lean Sheng > > ;

Re: [PATCH v3] mmc: Poll CD in case cyclic framework is enabled

2023-12-11 Thread Simon Glass
Hi Marek, On Sun, 10 Dec 2023 at 08:03, Marek Vasut wrote: > > In case the cyclic framework is enabled, poll the card detect of already > initialized cards and deinitialize them in case they are removed. Since > the card initialization is a longer process and card initialization is > done on

Re: [PATCH 02/14] bootm: Add a Kconfig option for bootm functionality

2023-12-11 Thread Simon Glass
Hi Tom, On Sat, 9 Dec 2023 at 11:39, Tom Rini wrote: > > On Sun, Dec 03, 2023 at 05:31:26PM -0700, Simon Glass wrote: > > > Create a separate Kconfig option which enables the bootm logic, > > separate from the 'bootm' command. This will eventually allow booting > > without CMDLINE enabled. > > >

Re: [PATCH 1/1] cmd: check argc for acpi dump

2023-12-11 Thread Simon Glass
On Sat, 9 Dec 2023 at 10:05, Heinrich Schuchardt wrote: > > 'acpi dump' without parameter results in a NULL dereference. Check the > number of arguments. > > Signed-off-by: Heinrich Schuchardt > --- > cmd/acpi.c | 3 +++ > 1 file changed, 3 insertions(+) > Reviewed-by: Simon Glass This could

Re: [PATCH] pxe_utils: Increase feedback to user when fdt file is not found

2023-12-11 Thread Simon Glass
On Thu, 7 Dec 2023 at 07:28, Michael Trimarchi wrote: > > extlinux.conf can set fdtdir. fdtdir look for fdt file using > information found in the enviroment variable. The function does > not report any error in the case the file is not found > > Scanning for bootflows in all bootdevs > Seq

Re: [PATCH 2/2] test: vboot: Using variable 'old_dtb' before assignment

2023-12-11 Thread Simon Glass
On Sat, 9 Dec 2023 at 11:54, Heinrich Schuchardt wrote: > > old_dtb can only be assumed initialized in the finally block > if it is assigned a value before the try statement. > > Signed-off-by: Heinrich Schuchardt > --- > test/py/tests/test_vboot.py | 6 +++--- > 1 file changed, 3

Re: [PATCH 1/2] test: fit: Using variable 'old_dtb' before assignment

2023-12-11 Thread Simon Glass
On Sat, 9 Dec 2023 at 11:54, Heinrich Schuchardt wrote: > > old_dtb can only be assumed initialized in the finally block > if it is assigned a value before the try statement. > > Signed-off-by: Heinrich Schuchardt > --- > test/py/tests/test_fit.py | 6 +++--- > 1 file changed, 3 insertions(+),

Re: [PATCH v3] arch: arm: Kconfig: Enable BOOTSTD_FULL for Rockchip SoCs

2023-12-11 Thread Simon Glass
Hi, On Sat, 9 Dec 2023 at 15:19, Shantur Rathore wrote: > > On Sat, Dec 9, 2023 at 8:56 PM Tom Rini wrote: > > > > On Fri, Dec 08, 2023 at 01:59:26PM +, Shantur Rathore wrote: > > > Hi Peter, > > > > > > On Fri, Dec 8, 2023 at 12:59 PM Peter Robinson > > > wrote: > > > > > > > > On Fri,

Re: [PATCH] imx: imx-hab: Select SPL_DRIVERS_MISC in the SPL case

2023-12-11 Thread Lisandro Pérez Meyer
On Mon, Dec 11, 2023 at 10:46 AM Fabio Estevam wrote: > > From: Fabio Estevam > > Selecting CONFIG_IMX_HAB=y on a SPL target, such as apalis_imx6_defconfig, > for example, leads to the following build error: > > /usr/bin/arm-linux-gnueabihf-ld.bfd: arch/arm/mach-imx/hab.o: in function >

Re: [PATCH 4/5] lib: vsprintf: enable '%*pb[l]' format specifier

2023-12-11 Thread Heinrich Schuchardt
On 11.12.23 13:20, lukas.funke-...@weidmueller.com wrote: From: Lukas Funke The commit enables vsprintf() to handle the '%*pb[l]' format specifier in order to print bitmaps and its derivatives such as cpumask and nodemask [1]. This can be used to derive kernel boot parameters from bitmaks such

RE: [PATCH v12 24/24] configs: Use old hush for several boards

2023-12-11 Thread Holger Brunck
> Signed-off-by: Francis Laniel > --- > configs/kmcent2_defconfig | 1 + > configs/kmcoge5ne_defconfig| 1 + > configs/kmeter1_defconfig | 1 + > configs/kmopti2_defconfig | 1 + > configs/kmsupx5_defconfig | 1 + >

Re: [PATCH v1] configs: verdin-am62: Disable SPL FIT Overlay

2023-12-11 Thread Marcel Ziswiler
On Mon, 2023-12-11 at 14:45 +0100, Francesco Dolcini wrote: > From: Francesco Dolcini > > Disable CONFIG_SPL_LOAD_FIT_APPLY_OVERLAY, this is not required nor used > on verdin am62, disable it to save precious binary size. > > Update defconfig using savedefconfig, this adds

Re: [PATCH] imx: imx-hab: Select SPL_DRIVERS_MISC in the SPL case

2023-12-11 Thread Fabio Estevam
Hi Lisandro, On 11/12/2023 11:45, Lisandro Pérez Meyer wrote: I actually tested this, so, should I reply with Reviewed-By? Feel free to reply with your Tested-by tag. Thanks

Re: [PATCH] imx: imx-hab: Select SPL_DRIVERS_MISC in the SPL case

2023-12-11 Thread Lisandro Pérez Meyer
On Mon, Dec 11, 2023 at 10:46 AM Fabio Estevam wrote: > > From: Fabio Estevam > > Selecting CONFIG_IMX_HAB=y on a SPL target, such as apalis_imx6_defconfig, > for example, leads to the following build error: > > /usr/bin/arm-linux-gnueabihf-ld.bfd: arch/arm/mach-imx/hab.o: in function >

[PATCH 0/1] Add PWM clock support for imx8mn.

2023-12-11 Thread Nicolas Heemeryck
This patch intends to bring PWM clock support on imx8mn based on the Linux kernel and other imx8m. Nicolas Heemeryck (1): clk: imx8mn: add pwm clocks drivers/clk/imx/clk-imx8mn.c | 30 ++ 1 file changed, 30 insertions(+) -- 2.34.1 -- - Confidential -

[PATCH 1/1] clk: imx8mn: add pwm clocks

2023-12-11 Thread Nicolas Heemeryck
Based on Linux kernel 6.7-rc4, add necessary clocks for the PWM controllers. Signed-off-by: Nicolas Heemeryck --- drivers/clk/imx/clk-imx8mn.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/clk/imx/clk-imx8mn.c b/drivers/clk/imx/clk-imx8mn.c index

[PATCH v2] timer: starfive: Add Starfive timer support

2023-12-11 Thread Jun Liang Tan
From: Kuan Lim Lee Add timer driver in Starfive SoC. It is an timer that outside of CPU core and inside Starfive SoC. Signed-off-by: Kuan Lim Lee Signed-off-by: Wei Liang Lim Changes for v2: - correct driver name, comment, variable --- drivers/timer/starfive-timer.c | 16 +--- 1

[PATCH] imx: imx-hab: Select SPL_DRIVERS_MISC in the SPL case

2023-12-11 Thread Fabio Estevam
From: Fabio Estevam Selecting CONFIG_IMX_HAB=y on a SPL target, such as apalis_imx6_defconfig, for example, leads to the following build error: /usr/bin/arm-linux-gnueabihf-ld.bfd: arch/arm/mach-imx/hab.o: in function `imx_hab_is_enabled': arch/arm/mach-imx/hab.c:879: undefined reference to

[PATCH v1] configs: verdin-am62: Disable SPL FIT Overlay

2023-12-11 Thread Francesco Dolcini
From: Francesco Dolcini Disable CONFIG_SPL_LOAD_FIT_APPLY_OVERLAY, this is not required nor used on verdin am62, disable it to save precious binary size. Update defconfig using savedefconfig, this adds CONFIG_OF_LIBFDT_OVERLAY explicitly. Signed-off-by: Francesco Dolcini ---

[PATCH 4/5] lib: vsprintf: enable '%*pb[l]' format specifier

2023-12-11 Thread lukas . funke-oss
From: Lukas Funke The commit enables vsprintf() to handle the '%*pb[l]' format specifier in order to print bitmaps and its derivatives such as cpumask and nodemask [1]. This can be used to derive kernel boot parameters from bitmaks such as 'isolcpu' or 'nohz_full' [2]. [1]

[PATCH 5/5] cmd: printf: forward '%p' format string specifier

2023-12-11 Thread lukas . funke-oss
From: Lukas Funke Forward '%p' format specifier to the underlying format logic in order to print pointers, especially bitmaps. Signed-off-by: Lukas Funke --- cmd/printf.c | 29 + 1 file changed, 29 insertions(+) diff --git a/cmd/printf.c b/cmd/printf.c index

[PATCH 2/5] linux: bitmap.h: add 'for_each_set_bitrange' iteration macro

2023-12-11 Thread lukas . funke-oss
From: Lukas Funke Add 'for_each_set_bitrange' (from Linux kernel) in order to iterate over each set bitrange of a bitmap. This becomes handy if one wants to generate a cpu list i.e. for isolcpu or nohz_full. Signed-off-by: Lukas Funke --- include/linux/bitmap.h | 7 +++ 1 file changed, 7

[PATCH 1/5] sandbox: add generic find_next_zero_bit implementation

2023-12-11 Thread lukas . funke-oss
From: Lukas Funke Add generic 'find_next_zero_bit' implementation in order to enable the use of the 'for_each_set_bitrange' macro. The implementation is currently missing for the sandbox-arch and using the function results in a linker error. There are more efficient implementations in the

[PATCH 0/5] Enable setexpr command to print cpu-list like bitmaps

2023-12-11 Thread lukas . funke-oss
From: Lukas Funke This series enables the 'setexpr' command to print "cpu list"-like bitmaps based on the printk format specifier [1]. One use-case is to pass cpu list [2] based kernel parameter like 'isolcpu', 'nohz_full', irq affinity or RCU related CPU parameter to the kernel via a separate

[PATCH 3/5] test: cmd: setexptr: Add tests for bitmap string format

2023-12-11 Thread lukas . funke-oss
From: Lukas Funke Add test to test the bitmap format specifier Signed-off-by: Lukas Funke --- test/cmd/setexpr.c | 9 + 1 file changed, 9 insertions(+) diff --git a/test/cmd/setexpr.c b/test/cmd/setexpr.c index 312593e1e3..4e1c9e983b 100644 --- a/test/cmd/setexpr.c +++

Re: [PATCH v1 0/5] Convert recently merged T30 boards to use DM PMIC

2023-12-11 Thread Thierry Reding
On Wed, Nov 15, 2023 at 02:11:49PM -0500, Tom Rini wrote: > On Wed, Nov 15, 2023 at 04:51:08PM +0100, Thierry Reding wrote: > > On Mon, Nov 06, 2023 at 04:04:07PM -0500, Tom Rini wrote: > > > On Mon, Nov 06, 2023 at 02:11:16PM +, Peter Robinson wrote: > > > > On Mon, Nov 6, 2023 at 1:28 PM

[PATCH v2 2/2] mtd: rawnand: omap_elm: Fix elm_init definition

2023-12-11 Thread Roger Quadros
The macro ELM_BASE is defined in mach/hardware.h and is not visible at the omap_elm.h header file. Avoid using it in omap_elm.h. Reported-by: Hong Guan Fixes: 7363cf0581a3 ("mtd: rawnand: omap_elm: u-boot driver model support") Signed-off-by: Roger Quadros --- drivers/mtd/nand/raw/omap_elm.c |

[PATCH v2 1/2] mtd: nand: omap_gpmc: Fix NAND in SPL for AM335x

2023-12-11 Thread Roger Quadros
AM335x uses a special driver "am335x_spl_bch.c" as SPL NAND loader. This driver expects 1 sector at a time ECC and doesn't work well with multi-sector ECC that was implemented in commit 04fcd2587321 ("mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based correction") Additionally, the omap_elm driver

[PATCH v2 0/2] mtd: nand: omap_gpmc: Fix NAND for AM335x

2023-12-11 Thread Roger Quadros
Hi, These patches fix NAND and ELM for AM335x and related legacy platforms that use HW BCH and ELM modules. All CI tests pass: https://github.com/u-boot/u-boot/pull/453 Changelog: v2: - added __maybe_unused to omap_calculate_ecc_bch. fixes CI tests - Added Tested-by Tags - Explained about

[PATCH] boot: add support for fdt_fixup command in environment

2023-12-11 Thread Matthias Schiffer
The "fdt" command is convenient for making small changes to the OS FDT, especially during development. This is easy when the kernel and FDT are loaded separately, but can be cumbersome for FIT images, requiring to unpack the image, manually apply overlays, etc. Add an option to execute a command

[PATCH] include: env: ti: ti_common: Run main_cpsw0_qsgmii_phyinit conditionally

2023-12-11 Thread Siddharth Vadapalli
From: Manorit Chawdhry The main_cpsw0_qsgmii_phyinit command is defined only for certain TI SoCs which have the do_main_cpsw0_qsgmii_phyinit variable set. Add a check to ensure that the main_cpsw0_qsgmii_phyinit command is run only for such SoCs. Signed-off-by: Manorit Chawdhry Signed-off-by:

Re: [PATCH 02/17] video: dw_hdmi: Add Vendor PHY handling

2023-12-11 Thread Neil Armstrong
On 11/12/2023 09:59, Jagan Teki wrote: From: Jagan Teki DW HDMI support Vendor PHY like Rockchip RK3328 Inno HDMI PHY. Extend the vendor phy handling by adding platform phy hooks. Signed-off-by: Jagan Teki --- drivers/video/dw_hdmi.c | 29 +++-

[PATCH 17/17] configs: Enable HDMI Out for ROC-RK3328-CC

2023-12-11 Thread Jagan Teki
U-Boot 2024.01-rc4-00053-gb9f7cafdd9-dirty (Dec 11 2023 - 13:18:15 +0530) Model: Firefly roc-rk3328-cc DRAM: 1 GiB (effective 1022 MiB) PMIC: RK8050 (on=0x40, off=0x00) Core: 236 devices, 26 uclasses, devicetree: separate MMC: mmc@ff50: 1, mmc@ff52: 0 Loading Environment from MMC...

[PATCH 16/17] configs: evb-rk3328: Enable vidconsole for rk3328

2023-12-11 Thread Jagan Teki
Enable video console for Rockchip RK3328. Signed-off-by: Jagan Teki --- include/configs/evb_rk3328.h| 5 + include/configs/rk3328_common.h | 1 + 2 files changed, 6 insertions(+) diff --git a/include/configs/evb_rk3328.h b/include/configs/evb_rk3328.h index d10e5b1d2e..c985080f7b

[PATCH 15/17] rockchip: Enable preconsole for rk3328

2023-12-11 Thread Jagan Teki
Enable and set the start address of pre-console buffer for RK3328. Signed-off-by: Jagan Teki --- arch/arm/mach-rockchip/Kconfig | 1 + common/Kconfig | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-rockchip/Kconfig

[PATCH 14/17] ARM: dts: rk3328: Enable VOP for bootph-all

2023-12-11 Thread Jagan Teki
Model: Firefly roc-rk3328-cc DRAM: 1 GiB (effective 1022 MiB) Video device 'vop@ff37' cannot allocate frame buffer memory -ensure the device is set up before relocation Error binding driver 'rockchip_rk3328_vop': -28 Some drivers failed to bind initcall sequence 3ffcd5e8 failed at

[PATCH 13/17] video: rockchip: Add rk3328 vop support

2023-12-11 Thread Jagan Teki
From: Jagan Teki Add support for Rockchip RK3328 VOP. Signed-off-by: Jagan Teki --- drivers/video/rockchip/Makefile | 1 + drivers/video/rockchip/rk3328_vop.c | 66 + 2 files changed, 67 insertions(+) create mode 100644 drivers/video/rockchip/rk3328_vop.c

[PATCH 12/17] video: rockchip: Add rk3328 hdmi support

2023-12-11 Thread Jagan Teki
From: Jagan Teki Add Rockchip RK3328 HDMI Out driver. Signed-off-by: Jagan Teki --- drivers/video/rockchip/Makefile | 1 + drivers/video/rockchip/rk3328_hdmi.c | 131 +++ drivers/video/rockchip/rk_hdmi.h | 3 + 3 files changed, 135 insertions(+) create

[PATCH 11/17] phy: rockchip: Add Rockchip INNO HDMI PHY driver

2023-12-11 Thread Jagan Teki
From: Jagan Teki Add Rockchip INNO HDMI PHY driver for RK3328. Reference from linux-next phy-rockchip-inno-hdmi driver. Signed-off-by: Jagan Teki --- drivers/phy/rockchip/Kconfig | 7 + drivers/phy/rockchip/Makefile | 1 +

[PATCH 10/17] clk: rk3328: Add get hdmiphy clock

2023-12-11 Thread Jagan Teki
From: Jagan Teki Add support to get the hdmiphy clock for RK3328 PCLK_HDMIPHY. Signed-off-by: Jagan Teki --- drivers/clk/rockchip/clk_rk3328.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/clk/rockchip/clk_rk3328.c b/drivers/clk/rockchip/clk_rk3328.c index

[PATCH 09/17] clk: rockchip: rk3328: Add VOP clk support

2023-12-11 Thread Jagan Teki
From: Jagan Teki VOP get and set clock would needed for VOP drivers. Add support for it. Signed-off-by: Jagan Teki --- .../include/asm/arch-rockchip/cru_rk3328.h| 34 drivers/clk/rockchip/clk_rk3328.c | 83 ++- 2 files changed, 115 insertions(+), 2

[PATCH 08/17] video: rockchip: vop: Add dsp offset support

2023-12-11 Thread Jagan Teki
From: Jagan Teki Unlike RK3399, RK3288 the Newer Rockchip SoC's like RK3328 have different offsets for dsp registers. Group the dsp register set via dsp_regs pointers so that dsp_offset would point the dsp_regs to access for any changes in the offset value. Signed-off-by: Jagan Teki ---

[PATCH 07/17] video: rockchip: vop: Add win offset support

2023-12-11 Thread Jagan Teki
From: Jagan Teki Unlike RK3399, RK3288 the Newer Rockchip SoC's like RK3328 have different offsets for win registers. Group the win register set via win_regs pointers so that win_offset would point the win_regs to access for any changes in the offset value. Signed-off-by: Jagan Teki ---

[PATCH 06/17] video: rockchip: vop: Simplify rkvop_enable

2023-12-11 Thread Jagan Teki
From: Jagan Teki Get the regs from priv pointer instead of passing it an argument. This would simplify the code and better readability. Signed-off-by: Jagan Teki --- drivers/video/rockchip/rk_vop.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 05/17] video: dw_hdmi: Add setup_hpd hook

2023-12-11 Thread Jagan Teki
From: Jagan Teki Add support for DW HDMI Setup HPD status. Signed-off-by: Jagan Teki --- drivers/video/dw_hdmi.c | 3 +++ include/dw_hdmi.h | 1 + 2 files changed, 4 insertions(+) diff --git a/drivers/video/dw_hdmi.c b/drivers/video/dw_hdmi.c index 172e6b45a6..3e0e20e59b 100644 ---

[PATCH 04/17] video: dw_hdmi: Add read_hpd hook

2023-12-11 Thread Jagan Teki
From: Jagan Teki Add support for DW HDMI Read HPD status. Signed-off-by: Jagan Teki --- drivers/video/dw_hdmi.c | 3 +++ include/dw_hdmi.h | 1 + 2 files changed, 4 insertions(+) diff --git a/drivers/video/dw_hdmi.c b/drivers/video/dw_hdmi.c index 0a597206f0..172e6b45a6 100644 ---

[PATCH 03/17] video: dw_hdmi: Extend the HPD detection

2023-12-11 Thread Jagan Teki
From: Jagan Teki HPD detection on some DW HDMIdesigned SoC's would need to read and setup the HPD status explicitly. So, extend the HPD detection code by adding the dw_hdmi_detect_hpd function and move the default detection code caller there. The new read and setup hdp will integrate the same

[PATCH 02/17] video: dw_hdmi: Add Vendor PHY handling

2023-12-11 Thread Jagan Teki
From: Jagan Teki DW HDMI support Vendor PHY like Rockchip RK3328 Inno HDMI PHY. Extend the vendor phy handling by adding platform phy hooks. Signed-off-by: Jagan Teki --- drivers/video/dw_hdmi.c | 29 +++- drivers/video/meson/meson_dw_hdmi.c | 11

[PATCH 01/17] video: rockchip: hdmi: Detect hpd after controller init

2023-12-11 Thread Jagan Teki
From: Jagan Teki HDP is a hardware connector event, so detect the same once the controller and attached PHY initialization are done. Signed-off-by: Jagan Teki --- drivers/video/rockchip/rk_hdmi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 00/17] video: dw_hdmi: Support Vendor PHY

2023-12-11 Thread Jagan Teki
Unlike RK3399, Sunxi/Meson DW HDMI the new Rockchip SoC Rk3328 would support external vendor PHY with DW HDMI chip. Support this vendor PHY by adding new platform PHY ops via DW HDMI driver and call the respective generic phy from platform driver code. This series tested in RK3328 with 1080p

Re: [RESEND RFC PATCH v2 4/5] ARM: dts: stm32: support display on stm32f469-disco board

2023-12-11 Thread Patrice CHOTARD
On 11/30/23 15:40, Dario Binacchi wrote: > Add support to Orise Tech OTM8009A display on stm32f469-disco board. > > It was necessary to retrieve the framebuffer address from the device tree > because the address returned by the video-uclass driver pointed to a memory > area that was not

Re: [RESEND RFC PATCH v2 5/5] board: stm32f469-disco: add splash screen with stmicroelectronics logo

2023-12-11 Thread Patrice CHOTARD
On 11/30/23 15:40, Dario Binacchi wrote: > Display the STMicroelectronics logo with features VIDEO_LOGO and > SPLASH_SCREEN on stm32f469-disco board. > > Signed-off-by: Dario Binacchi > > --- > > Changes in v2: > - Add Patrice Chotard's Reviewed-by tag to patches 1, 2 and 3 of the series. >