[PATCH 1/2] spl: Make SPL_STACK available for ROCKCHIP_RK3036 without spl framework

2024-01-23 Thread Kever Yang
rk3036 soc has limit internal sram, and not able to support spl framework. Signed-off-by: Kever Yang --- common/spl/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index e7b84fc1fa6..9deee0fdbea 100644 ---

[PATCH 2/2] configs: rockchip: rk3036: Fix CONFIG_SPL_STACK define

2024-01-23 Thread Kever Yang
The CONFIG_SPL_STACK for rk3036 is removed in below patch, need to add it back. Fixes: f113d7d3034 ("Convert CONFIG_SPL_STACK to Kconfig") Signed-off-by: Kever Yang --- configs/evb-rk3036_defconfig | 1 + configs/kylin-rk3036_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git

Re: [PATCH 01/20] Convert CONFIG_SPL_STACK to Kconfig

2024-01-23 Thread Kever Yang
Hi Tom, On 2024/1/24 09:34, Tom Rini wrote: On Wed, Jan 24, 2024 at 09:15:07AM +0800, Kever Yang wrote: Hi Tom, On 2024/1/24 01:58, Tom Rini wrote: On Tue, Jan 23, 2024 at 11:53:18AM +0800, Kever Yang wrote: Hi Tom, rk3036 only has small size internal sram, so it can only use very simple

[PATCH] doc: dm: Fix typo

2024-01-23 Thread Alexander Dahl
That's most probably a typo, because driver model design documents seem to be from 2012 and there is no 2010.01 release. Fixes: 282ed24fb3ca ("dm: MIGRATION: Add migration plan for CONFIG_DM") Signed-off-by: Alexander Dahl --- Notes: This was still in an old local branch of my working copy,

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

2024-01-23 Thread Sumit Garg
On Mon, 22 Jan 2024 at 05:31, Tom Rini wrote: > > On Sun, Jan 21, 2024 at 10:41:51PM +, Caleb Connolly wrote: > > > > > > On 21/01/2024 15:33, Marek Vasut wrote: > [snip] > > > Assume that there is some large breaking change in Linux 6.(n+1), > > > something which would be problematic for

[PATCH 2/2] doc: k3: update documentation for uEnv.txt

2024-01-23 Thread Manorit Chawdhry
Add the information for the save_uenv command and refactor the documentation to remove the eMMC information that was wrong. Signed-off-by: Manorit Chawdhry --- doc/board/ti/k3.rst | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/doc/board/ti/k3.rst

[PATCH 1/2] env: ti: mmc: add save_uenv command

2024-01-23 Thread Manorit Chawdhry
This is to make easier development with uEnv.txt to update from the board on the fly from u-boot to MMC boot media. Signed-off-by: Manorit Chawdhry --- include/env/ti/mmc.env | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/env/ti/mmc.env b/include/env/ti/mmc.env index

[PATCH 0/2] Add save_uenv command

2024-01-23 Thread Manorit Chawdhry
Adding this command for easier development to update uEnv.txt from u-boot on the u-boot prompt and track the variables being updated in uEnv.txt as well. Signed-off-by: Manorit Chawdhry --- Manorit Chawdhry (2): env: ti: mmc: add save_uenv command doc: k3: update documentation for

Re: [PATCH 02/16] xilinx_mbv: Remove empty config header

2024-01-23 Thread Michal Simek
On 1/23/24 18:58, Tom Rini wrote: On Tue, Jan 23, 2024 at 08:53:21AM +0100, Michal Simek wrote: On 1/22/24 23:39, Tom Rini wrote: Now that we support having CONFIG_SYS_CONFIG_NAME be unset to indicate a lack of board.h file, unset this on the xilinx_mbv platforms and remove the otherwise

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

2024-01-23 Thread Sumit Garg
Hi Nishanth, Apologies for the delayed response as I was on a long weekend vacation. On Fri, 19 Jan 2024 at 21:27, Nishanth Menon wrote: > > On 16:05-20240110, Sumit Garg wrote: > [...] > > Prerequisite > > > > > > This patch series requires devicetree-rebasing git repo to be added

Re: [PATCH 2/4] doc: Document capsule generation through a config file

2024-01-23 Thread Sughosh Ganu
hi Ilias, On Tue, 23 Jan 2024 at 21:53, Ilias Apalodimas wrote: > > Hi Sughosh, > > On Tue, Nov 21, 2023 at 12:30:26PM +0530, Sughosh Ganu wrote: > > The UEFI capsule can now be generate by specifying the capsule > > parameters through a config file. Additionally, the capsules can be > >

[PATCH V4 2/2] configs: andes: add watchdog support fot andes ae350

2024-01-23 Thread Randolph
It adds the ATCWDT200 support for Andes AE350 platform. It also enables wdt command support. Signed-off-by: CL Wang Signed-off-by: Randolph Reviewed-by: Leo Yu-Chi Liang --- configs/ae350_rv32_defconfig | 4 configs/ae350_rv32_spl_defconfig | 4

[PATCH V4 1/2] drivers: watchdog: add andes atcwdt200 support

2024-01-23 Thread Randolph
This patch adds an implementation of the Andes watchdog ATCWDT200 driver. Signed-off-by: CL Wang Signed-off-by: Randolph Reviewed-by: Leo Yu-Chi Liang --- drivers/watchdog/Kconfig | 6 + drivers/watchdog/Makefile| 1 + drivers/watchdog/atcwdt200_wdt.c | 220

Re: [PATCH 0/4] Facilitate new atmel raw nand driver for SAMA5D2

2024-01-23 Thread Eugen Hristev
On 12/12/23 18:04, Alexander Dahl wrote: > Hei hei, > > for some downstream boards with SAMA5D27 SiP SoCs with raw NAND flash I > added the necessary nodes to sama5d2.dtsi with just one little > guesswork: the clocks. Motivation was to fix reading from raw nand > flash which failed on some of

Re: [PATCH 4/4] mtd: nand: raw: atmel: Remove duplicate definitions

2024-01-23 Thread Eugen Hristev
On 12/19/23 18:39, Alexander Dahl wrote: > Hello Eugen, > > Am Tue, Dec 19, 2023 at 04:32:07PM +0200 schrieb Eugen Hristev: >> On 12/12/23 18:04, Alexander Dahl wrote: >>> These removed definitions were specific to some sam9 SoCs, but not >>> generic over all at91 SoCs. The correct SoC specific

[PATCH v2 6/6] rockchip: rv1126: Move RAM disk address

2024-01-23 Thread Tim Lunn
OPTEE gets loaded into a memory region overlapping with the ram disk. Fix the ramdisk address so it doesn't overlap with the OPTEE memory region. Signed-off-by: Tim Lunn --- (no changes since v1) include/configs/rv1126_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 5/6] rockchip: rv1126: select SPL_OPTEE_IMAGE

2024-01-23 Thread Tim Lunn
rv1126 requires OPTEE as it provides pcsi support. Mainline Linux kernel will fail to boot without this. Select SPL_OPTEE_IMAGE when building FIT image. TEE must be provided when building. Signed-off-by: Tim Lunn --- (no changes since v1) arch/arm/mach-rockchip/Kconfig | 1 + 1 file changed,

[PATCH v2 4/6] board: rockchip: Add Sonoff iHost board

2024-01-23 Thread Tim Lunn
Sonoff iHost is gateway device designed to provide a Smart Home Hub, it is based on Rockchip RV1126. There is also a version with 2GB RAM based off the RV1109 dual core SoC however this works with the same config as the RV1126 for uboot purposes. Features: - Rockchip RV1126 - 4GB DDR4 - 8GB eMMC

[PATCH v2 3/6] rockchip: Convert rv1126 to standard boot

2024-01-23 Thread Tim Lunn
RV1126 soc appears to have been missed with the conversion of rockchip socs to standard boot. Remove remnants of distro boot for rv1126 common and the one existing board. Signed-off-by: Tim Lunn Link:

[PATCH v2 2/6] ram: rockchip: Add rv1126 ddr4 support

2024-01-23 Thread Tim Lunn
Add support for ddr4 on rv1126. Timing detection files are imported from downstream Rockchip BSP u-boot. Allow selecting ddr4 ram with define CONFIG_RAM_ROCKCHIP_DDR4. Signed-off-by: Tim Lunn --- (no changes since v1) .../sdram-rv1126-ddr4-detect-1056.inc | 75 +++

[PATCH v2 1/6] arm: dts: rockchip: Sync rv1126 dts from linux 6.8-rc1

2024-01-23 Thread Tim Lunn
Sync linux dts files for rv1126 boards from linux v6.8-rc1 tag. Includes the newly added dts for Sonoff iHost. Signed-off-by: Tim Lunn --- (no changes since v1) arch/arm/dts/rv1126-edgeble-neu2-io.dts | 70 arch/arm/dts/rv1126-edgeble-neu2.dtsi | 27 +-

[PATCH v2 0/6] rockchip: Add support for rv1126 based Sonoff iHost Gateway

2024-01-23 Thread Tim Lunn
Sonoff iHost is gateway device designed to provide a Smart Home Hub, it is based on Rockchip RV1126. It features Wifi, BT and Zigbee radios as required by many smart home devices. Features: - Rockchip RV1126 - 4GB DDR4 - 8GB eMMC - microSD slot - RMII Ethernet PHY - 1x USB 2.0 Host - 1x USB 2.0

[PATCH v1] tools: mkimage: Add support for i.MXRT FlexSPI Header

2024-01-23 Thread Jesse Taube
Modify imx8m Flex SPI Configuration Block to work with imxrt. Add more Flex SPI configuration options to Kconfig. Signed-off-by: Jesse Taube --- include/imximage.h | 42 + tools/Kconfig | 21 + tools/imx8mimage.c | 41

[PATCH v1] arm: dts: nuvoton: modify npcm8xx reset property

2024-01-23 Thread Jim Liu
Change reset method from generic to reset driver Signed-off-by: Jim Liu --- arch/arm/dts/nuvoton-common-npcm8xx.dtsi | 2 + arch/arm/dts/nuvoton-npcm8xx-u-boot.dtsi | 71 2 files changed, 24 insertions(+), 49 deletions(-) diff --git

Re: Could you please help me in resolving the " /reset.c:42:(.text.do_reset+0x20): undefined reference to `reset_cpu'?"

2024-01-23 Thread Liu Wang
Hi Fabio, Thank you you review. Sincerely, Liu Wang > On Jan 23, 2024, at 4:44 PM, Fabio Estevam wrote: > > [CAUTION: External Mail] > >> On Tue, Jan 23, 2024 at 4:20 PM Liu Wang wrote: >> >> Hi Fabio, >> >> Thank you for your help. >> >> Attached is the 'git status' and 'git log' in

Re: [PATCH 01/20] Convert CONFIG_SPL_STACK to Kconfig

2024-01-23 Thread Tom Rini
On Wed, Jan 24, 2024 at 09:15:07AM +0800, Kever Yang wrote: > Hi Tom, > > On 2024/1/24 01:58, Tom Rini wrote: > > On Tue, Jan 23, 2024 at 11:53:18AM +0800, Kever Yang wrote: > > > > > Hi Tom, > > > > > > rk3036 only has small size internal sram, so it can only use very > > > simple SPL which

Re: [PATCH v3 07/11] lib: vsprintf: enable '%pbl' format specifier

2024-01-23 Thread Tom Rini
On Tue, Jan 23, 2024 at 03:48:10PM +0100, Lukas Funke wrote: > Hi Tom, > > On 18.01.2024 21:22, Tom Rini wrote: > > On Wed, Jan 10, 2024 at 10:10:33AM +0100, lukas.funke-...@weidmueller.com > > wrote: > > > > > From: Lukas Funke > > > > > > The commit enables vsprintf() to handle the '%pbl'

Re: [PATCH 01/20] Convert CONFIG_SPL_STACK to Kconfig

2024-01-23 Thread Kever Yang
Hi Tom, On 2024/1/24 01:58, Tom Rini wrote: On Tue, Jan 23, 2024 at 11:53:18AM +0800, Kever Yang wrote: Hi Tom, rk3036 only has small size internal sram, so it can only use very simple SPL which only including dram init, and no SPL_FRAMEWORK support. In this convert, the CONFIG_SPL_STACK is

Re: Could you please help me in resolving the " /reset.c:42:(.text.do_reset+0x20): undefined reference to `reset_cpu'?"

2024-01-23 Thread Fabio Estevam
On Tue, Jan 23, 2024 at 4:20 PM Liu Wang wrote: > > Hi Fabio, > > Thank you for your help. > > Attached is the 'git status' and 'git log' in my porting u-boot to my > cse_ptjob_cb3_r102 control board by following README in u-boot and being > blocked with the hurdle of "undefined reference to

Re: [PATCH 07/10] arm: mach-k3: am625_init: Probe AM65 CPSW NUSS

2024-01-23 Thread Nishanth Menon
On 15:49-20240122, Chintan Vankar wrote: > > On 12/01/24 18:00, Nishanth Menon wrote: > > On 12:17-20240112, Siddharth Vadapalli wrote: > > > From: Kishon Vijay Abraham I > > > > > > In order to support Ethernet boot on AM62x, probe AM65 CPSW NUSS driver > > > in board_init_f(). > > Why?

Re: [PATCH v8 12/16] arm: dts: Introduce j784s4 u-boot dts files

2024-01-23 Thread Nishanth Menon
On 20:28-20240123, Apurva Nandan wrote: > [...] > > in j784s4-binman.dtsi: > > > > > >{ > > j784s4_tiboot3_hs_fs_template: template-9 { > > > > and then in sk.dtsi: > sk.dtsi means sk-uboot.dtsi or sk-binman.dtsi? you wont need

Re: [PATCH v8 02/16] arm: mach-k3: Add basic support for J784S4 SoC definition

2024-01-23 Thread Nishanth Menon
On 20:21-20240123, Apurva Nandan wrote: [...] > > > +void k3_mem_init(void) > > > +{ > > > + struct udevice *dev; > > > + int ret, ctr = 1; > > > + > > > + if (IS_ENABLED(CONFIG_K3_J721E_DDRSS)) { > > > + re

Re: [PATCH] efi_loader : Suppress error print message

2024-01-23 Thread Heinrich Schuchardt
On 1/23/24 19:53, Bhumkar, Tejas Arvind wrote: [AMD Official Use Only - General] Hi Ilias & Heinrich, -Original Message- From: Heinrich Schuchardt Sent: Tuesday, January 23, 2024 3:30 PM To: Ilias Apalodimas ; Bhumkar, Tejas Arvind Cc: u-boot@lists.denx.de; xypron.g...@gmx.de;

RE: Could you please help me in resolving the " /reset.c:42:(.text.do_reset+0x20): undefined reference to `reset_cpu'?"

2024-01-23 Thread Liu Wang
Hi Fabio, Thank you for your help. Attached is the 'git status' and 'git log' in my porting u-boot to my cse_ptjob_cb3_r102 control board by following README in u-boot and being blocked with the hurdle of "undefined reference to `reset_cpu'" in hope you spot something familiar and shed a

RE: [PATCH] efi_loader : Suppress error print message

2024-01-23 Thread Bhumkar, Tejas Arvind
[AMD Official Use Only - General] Hi Ilias & Heinrich, > -Original Message- > From: Heinrich Schuchardt > Sent: Tuesday, January 23, 2024 3:30 PM > To: Ilias Apalodimas ; Bhumkar, Tejas Arvind > > Cc: u-boot@lists.denx.de; xypron.g...@gmx.de; tr...@konsulko.com; > s...@chromium.org;

Re: [PATCH v3 4/6] rockchip: find U-boot proper boot device by inverting the logic that sets it

2024-01-23 Thread Quentin Schulz
Hi Tom, On 1/22/24 18:54, Tom Rini wrote: On Mon, Jan 22, 2024 at 11:49:23AM +0100, Quentin Schulz wrote: Hi Kever, On 1/18/24 11:12, Kever Yang wrote: Hi Quentin, On 2024/1/18 01:22, Quentin Schulz wrote: From: Quentin Schulz BOOT_DEVICE_* is set by spl_node_to_boot_device() depending

Re: [PATCH 18/18] board: rockchip: add Theobroma-Systems RK3588 Jaguar SBC

2024-01-23 Thread Quentin Schulz
Hi all, On 1/23/24 15:49, Quentin Schulz wrote: From: Quentin Schulz JAGUAR is a Single-Board Computer (SBC) based around the rk3588 SoC and is targeting Autonomous Mobile Robots (AMR). It features: * LPDDR4X (up to 16GB) * 1Gbps Ethernet on RJ45 connector (KSZ9031 or KSZ9131) * PCIe

Re: [PATCH v7] fdt: Allow the devicetree to come from a bloblist

2024-01-23 Thread Tom Rini
On Tue, Jan 23, 2024 at 11:27:57AM +, Conor Dooley wrote: > On Mon, Jan 22, 2024 at 06:55:01PM +, Conor Dooley wrote: > > On Mon, Jan 22, 2024 at 01:47:17PM -0500, Tom Rini wrote: > > > On Mon, Jan 22, 2024 at 06:36:31PM +, Conor Dooley wrote: > > > > Hey, > > > > > > > > On Tue, Jan

Re: [PATCH 02/16] xilinx_mbv: Remove empty config header

2024-01-23 Thread Tom Rini
On Tue, Jan 23, 2024 at 08:53:21AM +0100, Michal Simek wrote: > > > On 1/22/24 23:39, Tom Rini wrote: > > Now that we support having CONFIG_SYS_CONFIG_NAME be unset to indicate a > > lack of board.h file, unset this on the xilinx_mbv platforms and remove > > the otherwise empty file. > > > >

Re: [PATCH 01/20] Convert CONFIG_SPL_STACK to Kconfig

2024-01-23 Thread Tom Rini
On Tue, Jan 23, 2024 at 11:53:18AM +0800, Kever Yang wrote: > Hi Tom, > > rk3036 only has small size internal sram, so it can only use very > simple SPL which only including dram init, and no SPL_FRAMEWORK > support. > In this convert, the CONFIG_SPL_STACK is lost for this SoC, any > suggestions

[PATCH] tools: buildman: fix non-existing SafeConfigParser in Python 3.12+

2024-01-23 Thread Quentin Schulz
: 15e7927b5a2d33666af19879577bf0c30ab088fe change-id: 20240123-safeconfigparser-778a81ef8f47 Best regards, -- Quentin Schulz

[PATCH v1 5/5] video: renesas: shift the init sequence by one step earlier

2024-01-23 Thread Svyatoslav Ryhel
Shift all setup stages one step earlier to better fit the existing uclass. Signed-off-by: Svyatoslav Ryhel --- drivers/video/renesas-r61307.c | 93 +++--- drivers/video/renesas-r69328.c | 81 +++-- 2 files changed, 95 insertions(+), 79

[PATCH v1 4/5] video: bridge: ssd2825: shift the init sequence by one step earlier

2024-01-23 Thread Svyatoslav Ryhel
Shift all setup stages one step earlier to better fit the existing uclass. Signed-off-by: Svyatoslav Ryhel --- drivers/video/bridge/ssd2825.c | 82 +++--- 1 file changed, 46 insertions(+), 36 deletions(-) diff --git a/drivers/video/bridge/ssd2825.c

[PATCH v1 3/5] video: endeavoru-panel: shift the init sequence by one step earlier

2024-01-23 Thread Svyatoslav Ryhel
Shift all setup stages one step earlier to better fit the existing uclass. Signed-off-by: Svyatoslav Ryhel --- drivers/video/endeavoru-panel.c | 128 +--- 1 file changed, 68 insertions(+), 60 deletions(-) diff --git a/drivers/video/endeavoru-panel.c

[PATCH v1 2/5] video: panel: add Samsung LTL106HL02 MIPI DSI panel driver

2024-01-23 Thread Svyatoslav Ryhel
From: Anton Bambura LTL106HL02 is a color active matrix TFT (Thin Film Transistor) liquid crystal display (LCD) that uses amorphous silicon TFT as switching devices. This model is composed of a TFT LCD panel, a driver circuit and a backlight unit. The resolution of a 10.6" contains 1920 x 1080

[PATCH v1 1/5] video: panel: add LG LG070WX3 MIPI DSI panel driver

2024-01-23 Thread Svyatoslav Ryhel
The LD070WX3 is a Color Active Matrix Liquid Crystal Display with an integral Light Emitting Diode (LED) backlight system. The matrix employs a-Si Thin Film Transistor as the active element. It is a transmissive type display operating in the normally Black mode. This TFT-LCD has 7.0 inches

[PATCH v1 0/5] Tegra panel improvements

2024-01-23 Thread Svyatoslav Ryhel
The current patch set improves the logic of existing panels and bridge used by Tegra 3 devices and brings support for additional DSI panels used by Tegra 4 devices. New and existing drivers are fully reusable, contain no device specific parts, and are written according to existing datasheets.

[PATCH v6 17/18] video: tegra20: dsi: set correct fifo depth

2024-01-23 Thread Svyatoslav Ryhel
From: Jonas Schwöbel According to Thierry Reding's commit in the linux kernel 976cebc35bed0456a42bf96073a26f251d23b264 "drm/tegra: dsi: Make FIFO depths host parameters" correct depth of the video FIFO is 1920 *words* no *bytes* Tested-by: Ion Agorria # HTC One X Tested-by: Svyatoslav Ryhel

[PATCH v6 18/18] video: tegra20: dsi: use set_backlight for backlight only

2024-01-23 Thread Svyatoslav Ryhel
From: Jonas Schwöbel Shift the backlight set further to prevent visual glitches on panel init. Signed-off-by: Jonas Schwöbel Signed-off-by: Svyatoslav Ryhel --- drivers/video/tegra20/tegra-dsi.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git

[PATCH v6 16/18] video: tegra20: dsi: remove pre-configuration

2024-01-23 Thread Svyatoslav Ryhel
From: Jonas Schwöbel Configuration for DC driver command mode is not required for every panel. Removed. Tested-by: Ion Agorria # HTC One X Tested-by: Svyatoslav Ryhel # Nvidia Tegratab T114 Signed-off-by: Jonas Schwöbel Signed-off-by: Svyatoslav Ryhel --- drivers/video/tegra20/tegra-dsi.c

[PATCH v6 15/18] video: tegra20: dsi: add reset support

2024-01-23 Thread Svyatoslav Ryhel
Implement reset use to discard any changes which could have been applied to DSI before and can interfere with current configuration. Tested-by: Ion Agorria # HTC One X Tested-by: Svyatoslav Ryhel # Nvidia Tegratab T114 Signed-off-by: Svyatoslav Ryhel --- drivers/video/tegra20/tegra-dsi.c | 14

[PATCH v6 14/18] video: tegra20: dsi: add T114 support

2024-01-23 Thread Svyatoslav Ryhel
Existing Tegra DSI driver mostly fits T114 apart MIPI calibration which on T114 has dedicated driver. To resolve this MIPI calibration logic was split for pre-T114 and T114+ devices. Tested-by: Ion Agorria # HTC One X Tested-by: Svyatoslav Ryhel # Nvidia Tegratab T114 Signed-off-by: Svyatoslav

[PATCH v6 13/18] video: tegra20: add MIPI calibration driver

2024-01-23 Thread Svyatoslav Ryhel
Dedicated MIPI calibration driver is used on T114 and newer. Before T114 MIPI calibration registers were part of VI and CSI. Tested-by: Svyatoslav Ryhel # Nvidia Tegratab T114 Signed-off-by: Svyatoslav Ryhel --- drivers/video/tegra20/Makefile | 2 +- drivers/video/tegra20/tegra-mipi.c |

[PATCH v6 12/18] video: tegra20: dc: parameterize V- and H-sync polarities

2024-01-23 Thread Svyatoslav Ryhel
Based on Thierry Reding's Linux commit: 'commit 1716b1891e1de05e2c20ccafa9f58550f3539717 ("drm/tegra: rgb: Parameterize V- and H-sync polarities")' Signed-off-by: Svyatoslav Ryhel --- arch/arm/include/asm/arch-tegra/dc.h | 5 + drivers/video/tegra20/tegra-dc.c | 22

[PATCH v6 11/18] video: tegra20: dc: clean framebuffer memory block

2024-01-23 Thread Svyatoslav Ryhel
From: Jonas Schwöbel Fill the framebuffer memory with zeros to avoid visual glitches. Signed-off-by: Jonas Schwöbel Signed-off-by: Svyatoslav Ryhel --- drivers/video/tegra20/tegra-dc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/video/tegra20/tegra-dc.c

[PATCH v6 10/18] video: tegra20: dc: enable backlight after DC is configured

2024-01-23 Thread Svyatoslav Ryhel
From: Jonas Schwöbel The goal of panel_set_backlight() is to enable backlight. Hence, it should be called at the probe end. Signed-off-by: Jonas Schwöbel Signed-off-by: Svyatoslav Ryhel --- drivers/video/tegra20/tegra-dc.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff

[PATCH v6 09/18] video: tegra20: dc: fix printing of framebuffer address

2024-01-23 Thread Svyatoslav Ryhel
From: Jonas Schwöbel Framebuffer address should not be a pointer. Signed-off-by: Jonas Schwöbel Signed-off-by: Svyatoslav Ryhel --- drivers/video/tegra20/tegra-dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/tegra20/tegra-dc.c

[PATCH v6 08/18] video: tegra20: dc: configure behavior if PLLD/D2 is used

2024-01-23 Thread Svyatoslav Ryhel
If DISP1 is a PLLD/D2 child, it cannot go over 370MHz. The cause of this is not quite clear. This can be overcomed by further halving the PLLD/D2 if the target parent rate is over 800MHz. This way DISP1 and DSI clocks will have the same frequency. The shift divider in this case has to be

[PATCH v6 06/18] video: tegra20: dc: add reset support

2024-01-23 Thread Svyatoslav Ryhel
Implement reset use to discard any changes which could have been applied to DC before and can interfere with current configuration. Tested-by: Agneli # Toshiba AC100 T20 Tested-by: Robert Eckelmann # ASUS TF101 Tested-by: Andreas Westman Dorcsak # ASUS Grouper E1565 Tested-by: Ion Agorria #

[PATCH v6 07/18] video: tegra20: dc: add powergate

2024-01-23 Thread Svyatoslav Ryhel
Add powergate use on T114 to complete resetting of DC. Signed-off-by: Svyatoslav Ryhel --- drivers/video/tegra20/tegra-dc.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/video/tegra20/tegra-dc.c b/drivers/video/tegra20/tegra-dc.c index

[PATCH v6 05/18] video: tegra20: dc: add PLLD2 parent support

2024-01-23 Thread Svyatoslav Ryhel
T30+ SOC have second PLLD - PLLD2 which can be actively used by DC and act as main DISP1/2 clock parent. Tested-by: Agneli # Toshiba AC100 T20 Tested-by: Robert Eckelmann # ASUS TF101 Tested-by: Andreas Westman Dorcsak # ASUS Grouper E1565 Tested-by: Ion Agorria # HTC One X Tested-by:

[PATCH v6 04/18] video: tegra20: dc: pass DC id to internal devices

2024-01-23 Thread Svyatoslav Ryhel
Tegra SoC has 2 independent display controllers called DC_A and DC_B, they are handled differently by internal video devices like DSI and HDMI controllers so it is important for last to know which display controller is used to properly set up registers. To achieve this, a pipe field was added to

[PATCH v6 03/18] video: tegra20: consolidate DC header

2024-01-23 Thread Svyatoslav Ryhel
Consolidate HD headers and place the result into video/tegra20 since it is used only by devices from this directory. Tested-by: Agneli # Toshiba AC100 T20 Tested-by: Robert Eckelmann # ASUS TF101 Tested-by: Andreas Westman Dorcsak # ASUS Grouper E1565 Tested-by: Ion Agorria # HTC One X

[PATCH v6 01/18] video: tegra20: dc: diverge DC per-SOC

2024-01-23 Thread Svyatoslav Ryhel
Diverge DC driver setup to better fit each of supported generations of Tegra SOC. Tested-by: Agneli # Toshiba AC100 T20 Tested-by: Robert Eckelmann # ASUS TF101 Tested-by: Andreas Westman Dorcsak # ASUS Grouper E1565 Tested-by: Ion Agorria # HTC One X Tested-by: Svyatoslav Ryhel # Nvidia

[PATCH v6 02/18] video: tegra20: dc: fix image shift on rotated panels

2024-01-23 Thread Svyatoslav Ryhel
Subtracting 1 from x and y fixes image shifting on rotated panels. Tested-by: Robert Eckelmann # ASUS Grouper E1565 Signed-off-by: Svyatoslav Ryhel --- drivers/video/tegra20/tegra-dc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/tegra20/tegra-dc.c

[PATCH v6 00/18] Add T114 video support

2024-01-23 Thread Svyatoslav Ryhel
T114 is not that different from T30 and all T30 drivers will work on T114 as well with some adjustments. Patches propose general improvements for existing Tegra DC and DSI drivers as well Tegra 114 video support (experimentl). Commits pass buildman for tegra. --- Changes from v5: - backlight

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

2024-01-23 Thread Rob Herring
On Mon, Jan 22, 2024 at 6:59 PM Andre Przywara wrote: > > On Mon, 22 Jan 2024 11:49:59 -0500 > Tom Rini wrote: > > Hi Tom, > > > On Mon, Jan 22, 2024 at 11:45:15AM +, Andre Przywara wrote: > > > On Wed, 10 Jan 2024 16:05:36 +0530 > > > Sumit Garg wrote: > > > > > > Hi, > > > > > > I

Re: [PATCH 1/1] mmc: Don't suggest to build modules in Kconfig.

2024-01-23 Thread Patrice CHOTARD
On 1/23/24 17:18, Heinrich Schuchardt wrote: > U-Boot does not support building kernel modules. > > Fixes: 3c0dbed232bd ("mmc: arm_pl180_mmci: adapt driver to DM usage") > Fixes: 36645f45a048 ("drivers: mmc: Add sdhci driver for Broadcom iProc > platform") > Fixes: dadd43c14368 ("mmc:

Re: [PATCH 2/4] doc: Document capsule generation through a config file

2024-01-23 Thread Ilias Apalodimas
Hi Sughosh, On Tue, Nov 21, 2023 at 12:30:26PM +0530, Sughosh Ganu wrote: > The UEFI capsule can now be generate by specifying the capsule > parameters through a config file. Additionally, the capsules can be > generated as part of u-boot build, through binman. Highlight these > changes in the

[PATCH 1/1] mmc: Don't suggest to build modules in Kconfig.

2024-01-23 Thread Heinrich Schuchardt
U-Boot does not support building kernel modules. Fixes: 3c0dbed232bd ("mmc: arm_pl180_mmci: adapt driver to DM usage") Fixes: 36645f45a048 ("drivers: mmc: Add sdhci driver for Broadcom iProc platform") Fixes: dadd43c14368 ("mmc: synquacer: Add SynQuacer F_SDH30 SDHCI driver") Fixes: b312c590bcd8

Re: [PATCH v8 15/16] configs: Add am69_sk_* defconfig fragments

2024-01-23 Thread Andrew Davis
On 1/23/24 8:39 AM, Apurva Nandan wrote: Hi Andrew, On 20/01/24 00:43, Andrew Davis wrote: On 1/19/24 11:50 AM, Apurva Nandan wrote: From: Dasnavis Sabiya Add config fragments for am69_sk A72 and R5 configuration. This applies on to: j784s4_evm_a72_defconfig -> am69_sk_a72.config

Re: [PATCH v8 12/16] arm: dts: Introduce j784s4 u-boot dts files

2024-01-23 Thread Apurva Nandan
On 20/01/24 00:47, Nishanth Menon wrote: On 23:20-20240119, Apurva Nandan wrote: [...] diff --git a/arch/arm/dts/k3-j784s4-binman.dtsi b/arch/arm/dts/k3-j784s4-binman.dtsi new file mode 100644 index 00..d0d49b5bbe --- /dev/null +++ b/arch/arm/dts/k3-j784s4-binman.dtsi @@ -0,0 +1,345

Re: [PATCH v8 08/16] drivers: dma: Add support for J784S4 SoC

2024-01-23 Thread Apurva Nandan
On 22/01/24 18:17, Roger Quadros wrote: On 19/01/2024 19:50, Apurva Nandan wrote: Add support for DMA in J784S4 SoC. Signed-off-by: Jayesh Choudhary Signed-off-by: Hari Nagalla Signed-off-by: Apurva Nandan Reviewed-by: Nishanth Menon --- drivers/dma/ti/Makefile | 1 +

Re: [PATCH v8 02/16] arm: mach-k3: Add basic support for J784S4 SoC definition

2024-01-23 Thread Apurva Nandan
On 20/01/24 01:04, Nishanth Menon wrote: On 23:20-20240119, Apurva Nandan wrote: [...] +void k3_spl_init(void) +{ + struct udevice *dev; + int ret; + + /* +* Cannot delay this further as there is a chance that +* K3_BOOT_PARAM_TABLE_INDEX can be over

[PATCH 18/18] board: rockchip: add Theobroma-Systems RK3588 Jaguar SBC

2024-01-23 Thread Quentin Schulz
From: Quentin Schulz JAGUAR is a Single-Board Computer (SBC) based around the rk3588 SoC and is targeting Autonomous Mobile Robots (AMR). It features: * LPDDR4X (up to 16GB) * 1Gbps Ethernet on RJ45 connector (KSZ9031 or KSZ9131) * PCIe 3.0 4-lane on M.2 M-key connector * PCIe 2.1 1-lane on

[PATCH 14/18] rockchip: rk3588: add constants for some register address spaces

2024-01-23 Thread Quentin Schulz
From: Quentin Schulz It's one thing to have the register mapped via a well-defined struct but it's another to be able to make use of it. For that to happen, one needs to cast the physical address memory of the beginning of the register address space with the struct. Since this cannot change,

[PATCH 16/18] rockchip: include asm/io.h directly in asm/arch-rockchip/hardware.h

2024-01-23 Thread Quentin Schulz
From: Quentin Schulz The different macros use writel which is defined in asm/io.h, so let's include the header so users of hardware.h do not need to include asm/io.h as well. While at it, remove asm/io.h includes wherever asm/arch-rockchip/hardware.h is included already. Cc: Quentin Schulz

[PATCH 17/18] rockchip: rk3588: bind MMC controllers in U-Boot proper pre-reloc

2024-01-23 Thread Quentin Schulz
From: Quentin Schulz Since commit 9e644284ab81 ("dm: core: Report bootph-pre-ram/sram node as pre-reloc after relocation"), bootph-pre-ram doesn't make U-Boot proper bind the device before relocation. While this is usually not much of an issue, it is when there's a lookup for devices by code

[PATCH 15/18] rockchip: migrate hardware.h inclusion into appropriate files

2024-01-23 Thread Quentin Schulz
From: Quentin Schulz Nothing of the hardware.h is used in include/configs, therefore, let's move that include to the files that actually require this include. Cc: Quentin Schulz Signed-off-by: Quentin Schulz --- arch/arm/mach-rockchip/rk3066/rk3066.c | 1 + drivers/ram/rockchip/dmc-rk3368.c

[PATCH 13/18] rockchip: rk3588: fix non-working SD controller if booting from other media

2024-01-23 Thread Quentin Schulz
From: Quentin Schulz Rockchip SoCs have some jtag/sdmmc autoswitching that simply doesn't work really well.[00] The Linux kernel disables it for all SoCs[01], so U-Boot needs to do the same in order to fix issues related to SD card on RK3588. This autoswitching is enabled (by default) via the

[PATCH 12/18] rockchip: transform rockchip_capsule_update_board_setup into a weak function symbol

2024-01-23 Thread Quentin Schulz
From: Quentin Schulz There's only one user of rockchip_capsule_update_board_setup, which is in board.c, and only one board defines it, so instead of having a header only for one function symbol, let's just use a weak symbol instead. Cc: Quentin Schulz Signed-off-by: Quentin Schulz ---

[PATCH 09/18] rockchip: theobroma-systems: puma: migrate to rockchip_early_misc_init_r

2024-01-23 Thread Quentin Schulz
From: Quentin Schulz Only setup_iodomain() and setup_boottargets differ from the original misc_init_r from Rockchip mach code, so let's use rockchip_early_misc_init_r instead of reimplementing the whole misc_init_r from Rockchip. Cc: Quentin Schulz Signed-off-by: Quentin Schulz ---

[PATCH 11/18] rockchip: merge misc.c into board.c

2024-01-23 Thread Quentin Schulz
From: Quentin Schulz The functions aren't used anywhere else than in board.c, therefore, let's not expose them anymore at all. This merges misc.c and board.c together and removes the functions from the misc.h header file. Cc: Quentin Schulz Signed-off-by: Quentin Schulz ---

[PATCH 10/18] rockchip: theobroma-systems: ringneck: migrate to rockchip_early_misc_init_r

2024-01-23 Thread Quentin Schulz
From: Quentin Schulz Only setup_boottargets differs from the original misc_init_r from Rockchip mach code, so let's use rockchip_early_misc_init_r instead of reimplementing the whole misc_init_r from Rockchip. Cc: Quentin Schulz Signed-off-by: Quentin Schulz ---

[PATCH 08/18] rockchip: pine64: rockpro64: migrate to rockchip_early_misc_init_r

2024-01-23 Thread Quentin Schulz
From: Quentin Schulz Only setup_iodomain() differs from the original misc_init_r from Rockchip mach code, so let's use rockchip_early_misc_init_r instead of reimplementing the whole misc_init_r from Rockchip. Cc: Quentin Schulz Signed-off-by: Quentin Schulz ---

[PATCH 07/18] rockchip: pine64: pinephone: migrate to rockchip_early_misc_init_r

2024-01-23 Thread Quentin Schulz
From: Quentin Schulz Compared to the original misc_init_r from Rockchip mach code, setup_iodomain() is added and rockchip_setup_macaddr() is not called. It is assumed adding rockchip_setup_macaddr() back is fine. Let's use rockchip_early_misc_init_r instead of reimplementing the whole

[PATCH 06/18] rockchip: pine64: pinebook: migrate to rockchip_early_misc_init_r

2024-01-23 Thread Quentin Schulz
From: Quentin Schulz Compared to the original misc_init_r from Rockchip mach code, setup_iodomain() is added and rockchip_setup_macaddr() is not called. It is assumed adding rockchip_setup_macaddr() back is fine. Let's use rockchip_early_misc_init_r instead of reimplementing the whole

[PATCH 05/18] rockchip: google: gru: migrate to rockchip_early_misc_init_r

2024-01-23 Thread Quentin Schulz
From: Quentin Schulz Only setup_iodomain() differs from the original misc_init_r from Rockchip mach code, so let's use rockchip_early_misc_init_r instead of reimplementing the whole misc_init_r from Rockchip. Cc: Quentin Schulz Signed-off-by: Quentin Schulz --- board/google/gru/gru.c | 20

[PATCH 04/18] rockchip: add weak function symbol called at the beginning of misc_init_r

2024-01-23 Thread Quentin Schulz
From: Quentin Schulz Most Rockchip boards who override misc_init_r do it only to call another function and keep the rest unchanged. Therefore to allow for less duplication, let's just add a weak function symbol that is called inside misc_init_r. Cc: Quentin Schulz Signed-off-by: Quentin Schulz

[PATCH 03/18] rockchip: avoid out-of-bounds when computing cpuid

2024-01-23 Thread Quentin Schulz
From: Quentin Schulz The expected length of the cpuid, as passed with cpuid_length, determines the size of cpuid_str string. Therefore, care should be taken to make sure nothing is accessing data out-of-bounds. Instead of using hardcoded values, derive them from cpuid_length. Cc: Quentin

[PATCH 02/18] rockchip: rk3588: sync rk3588s dtsi from v6.8-rc1

2024-01-23 Thread Quentin Schulz
From: Heiko Stuebner This brings the real host2_xhci node as well as the pmu1grf node and spi0 to spi4 aliases from the next-20240110 Linux kernel. So also adapt/remove the nodes and aliases in rk3588s-u-boot.dtsi Signed-off-by: Heiko Stuebner [sync with v6.8-rc1] [remove spi0 to spi4 aliases

[PATCH 01/18] rockchip: rk3588: use mainline pmu-grf compatible

2024-01-23 Thread Quentin Schulz
From: Heiko Stuebner The compatible for the pmugrf in the mainline kernel is dfferent from the one currently used in u-boot. Adapt the -u-boot.dtsi and syscon driver to use the correct compatible. Signed-off-by: Heiko Stuebner Signed-off-by: Quentin Schulz ---

[PATCH 00/18] rockchip: add support for Theobroma JAGUAR SBC-RK3588-AMR

2024-01-23 Thread Quentin Schulz
: 15e7927b5a2d33666af19879577bf0c30ab088fe change-id: 20240123-jaguar-efd00e57f56c Best regards, -- Quentin Schulz

Re: [PATCH v3 07/11] lib: vsprintf: enable '%pbl' format specifier

2024-01-23 Thread Lukas Funke
Hi Tom, On 18.01.2024 21:22, Tom Rini wrote: On Wed, Jan 10, 2024 at 10:10:33AM +0100, lukas.funke-...@weidmueller.com wrote: From: Lukas Funke The commit enables vsprintf() to handle the '%pbl' format specifier in order to print bitmaps and its derivatives such as cpumask and nodemask [1].

Re: [PATCH v8 04/16] arm: dts: Add bootph-all for memory node

2024-01-23 Thread Apurva Nandan
On 20/01/24 00:55, Nishanth Menon wrote: On 23:20-20240119, Apurva Nandan wrote: [...] diff --git a/arch/arm/dts/k3-am69-sk.dts b/arch/arm/dts/k3-am69-sk.dts index 9868c7049b..29884097b9 100644 --- a/arch/arm/dts/k3-am69-sk.dts +++ b/arch/arm/dts/k3-am69-sk.dts I think you mis-interpreted

Re: [PATCH v8 09/16] board: ti: j784s4: Add board support for J784S4 EVM

2024-01-23 Thread Apurva Nandan
Hi Nishanth On 20/01/24 01:09, Nishanth Menon wrote: On 23:20-20240119, Apurva Nandan wrote: Add board files for J784S4 EVM. SYS_DISABLE_DCACHE_OPS is selected in the Kconfig because J784S4/AM69 are a coherent architecture at A72 level by MSMC support. Signed-off-by: Hari Nagalla [ add env

Re: [PATCH v8 13/16] arm: dts: Introduce am69-sk u-boot dts files

2024-01-23 Thread Apurva Nandan
On 22/01/24 18:28, Roger Quadros wrote: On 19/01/2024 19:50, Apurva Nandan wrote: From: Dasnavis Sabiya Introduce the base dts files needed for u-boot or to augment the linux dtbs for use in the u-boot-spl and u-boot binaries. Signed-off-by: Dasnavis Sabiya Signed-off-by: Apurva Nandan

Re: [PATCH v8 15/16] configs: Add am69_sk_* defconfig fragments

2024-01-23 Thread Apurva Nandan
Hi Andrew, On 20/01/24 00:43, Andrew Davis wrote: On 1/19/24 11:50 AM, Apurva Nandan wrote: From: Dasnavis Sabiya Add config fragments for am69_sk A72 and R5 configuration. This applies on to: j784s4_evm_a72_defconfig -> am69_sk_a72.config j784s4_evm_r5_defconfig -> am69_sk_r5.config The

test/py framework hangs on some tests with tbot integration

2024-01-23 Thread Adnan El Hammoudi
Hi! I am integrating tbot with uboot test/py framework, and some tests hangs the testing, after I investigated what does this hanging, I found that if the fixture of the test occur and configured in menuconfig it won't pass. I am not sure what I am doing wrong here. can someone guide me please

Re: [PATCH v5 0/7] rpi5: initial support

2024-01-23 Thread Jens Maus
Hi, as requested [1]: Tested-by: Jens Maus mailto:m...@jens-maus.de>> best regards, jens [1] https://lists.denx.de/pipermail/u-boot/2024-January/544243.html > Am 23.01.2024 um 09:07 schrieb Ivan T. Ivanov : > > This is new round of patches posted earlier here[1]. They are adding basic >

  1   2   >