Re: [PATCH v4 0/6] rpi5: initial support

2024-01-20 Thread Stefan Wahren
Hi Jens, Am 19.01.24 um 22:26 schrieb Jens Maus: Hi, Am 19.01.2024 um 17:53 schrieb Jens Maus : Am 19.01.2024 um 17:29 schrieb Ivan T. Ivanov : So you say with your own u-boot.bin you see serial U-Boot output after that „NOTICE: BL31: …“ lines? On that special UART port on the rpi5 or on

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-20 Thread Jens Maus
Hi, > Am 20.01.2024 um 10:22 schrieb Stefan Wahren : > > Am 19.01.24 um 22:26 schrieb Jens Maus: >> I actually do have some good and bad news: >> >> 1. Good news: I got u-boot finally showing up with my RaspberryPi5 8GB both >> on the HDMI and on the serial debug UART like you reported. >> >>

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-20 Thread Stefan Wahren
Hi, Am 20.01.24 um 10:48 schrieb Jens Maus: Hi, Am 20.01.2024 um 10:22 schrieb Stefan Wahren : Am 19.01.24 um 22:26 schrieb Jens Maus: I actually do have some good and bad news: 1. Good news: I got u-boot finally showing up with my RaspberryPi5 8GB both on the HDMI and on the serial debug

[PATCH 2/2] board: rockchip: Add support for rk3588 based Cool Pi CM5 EVB

2024-01-20 Thread Andy Yan
Cool Pi CM5 EVB works as a mother board connect with CM5. CM5 Specification: - Rockchip RK3588 - LPDDR4 2/4/8/16 GB - TF scard slot - eMMC 8/32/64/128 GB module - SPI Nor 8MB - Gigabit ethernet x 1 with PHY YT8531 - Gigabit ethernet x 1 drived by PCIE with YT6801S CM5 EVB Specification: - HDMI Ty

[PATCH 1/2] board: rockchip: Add support for rk3588s based Cool Pi 4B

2024-01-20 Thread Andy Yan
CoolPi 4B is a rk3588s based SBC. Specification: - Rockchip RK3588S - LPDDR4 2/4/8/16 GB - TF scard slot - eMMC 8/32/64/128 GB module - SPI Nor 8MB - Gigabit ethernet drived by PCIE with RTL8111HS - HDMI Type D out - Mini DP out - USB 2.0 Host x 2 - USB 3.0 OTG x 1 - USB 3.0 Host x 1 - WIFI/BT mod

Re: [PATCH v2] ARM: imx: Enable SPL_BOARD_INIT on DH i.MX8M Plus DHCOM

2024-01-20 Thread Fabio Estevam
On Fri, Jan 19, 2024 at 1:08 PM Marek Vasut wrote: > > The CONFIG_SPL_BOARD_INIT lets SPL common code call spl_board_init() > during the SPL start up. On this particular system, spl_board_init() > is used to reconfigure GIC clock parent to PLL2 500M, which is the > configuration expected by the Li

Re: [PATCH v2] ARM: imx: Configure GIC clock parent on Data Modul i.MX8M Plus eDM SBC

2024-01-20 Thread Fabio Estevam
On Fri, Jan 19, 2024 at 1:09 PM Marek Vasut wrote: > > The CONFIG_SPL_BOARD_INIT lets SPL common code call spl_board_init() > during the SPL start up. On this particular system, spl_board_init() > is used to reconfigure GIC clock parent to PLL2 500M, which is the > configuration expected by the Li

Re: [PATCH] ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM

2024-01-20 Thread Fabio Estevam
On Fri, Jan 19, 2024 at 9:36 PM Marek Vasut wrote: > > Linux 6.6.y with KASLR enabled would print the following message on boot: > " > KASLR disabled due to lack of seed > " > Enable the 'kaslrseed' command so a random number seed can be pulled > from CAAM and inserted into the /chosen node 'kaslr

[PATCH 0/1] This patch adds support for the entropy generator present in

2024-01-20 Thread Max Resch
the Armada3700 Secure Processor. This rng is onlt accessible to the rWTM firmware. Currently the CZ.NIC Turris Mox firmware exposes this. For the Linux kernel a driver called turris-mox-rwtm exists that makes use of this feature. This RNG driver for U-Boot tries to do the same. For efficiency I c

[PATCH 1/1] add turris-rwtm-rng from CZ.NIC rWTM Firmware

2024-01-20 Thread Max Resch
usable on all armada3700 devices with CZ.NIC firmware compatible with devices with default firmware (does nothing) based on Linux turris-mox-rwtm module Signed-off-by: Max Resch --- drivers/rng/Kconfig | 8 ++ drivers/rng/Makefile | 1 + drivers/rng/turris_rwtm_rng.c | 14

Re: [PATCH v1] Kconfig: boot: Imply BOOTSTD_DEFAULT when BOOTSTD_FULL=y

2024-01-20 Thread Tom Rini
On Sat, 23 Dec 2023 06:51:59 +, Shantur Rathore wrote: > We need BOOTSTD_DEFAULT when BOOTSTD_FULL is selected. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 1/1] add turris-rwtm-rng from CZ.NIC rWTM Firmware

2024-01-20 Thread Marek Behún
On Sat, 20 Jan 2024 14:27:23 +0100 Max Resch wrote: Hello Max, please follow the conventions for commit titles and messages. Look for example at git log drivers/rng The commit title should be something like rng: Add Turris Mox rWTM RNG driver > usable on all armada3700 devices with CZ.NIC f

[PATCH v2] net: sun8i-emac: Add support for fixed-link phy

2024-01-20 Thread Maksim Kiselev
Make the "phy-handle" property optional, which allows support for a fixed-link phy configuration. Thus if the "phy-handle" is present in a DT, then driver will work as before. Otherwise, phyaddr initialization will not be necessary, as it is not needed in case of a fixed-link config. Signed-off-b

Re: [PATCH V2 00/10] board/ti: k3 boards: Stop using findfdt

2024-01-20 Thread Tom Rini
On Tue, Jan 09, 2024 at 01:14:55PM -0600, Nishanth Menon wrote: > This is a wide cleanup to switch to setting fdtfile using env_set > instead of scripted magic. 'fdtfile' is expected to be set by default. > This allows the stdboot triggered efi loaders to find the correct OS > device tree file eve

Re: [PATCH 01/10] board: ti: am62x: Init DRAM size in R5/A53 SPL

2024-01-20 Thread Tom Rini
On Mon, Jan 15, 2024 at 01:42:51PM +0530, Siddharth Vadapalli wrote: > Hello Tom, > > On 12/01/24 18:56, Tom Rini wrote: > > On Fri, Jan 12, 2024 at 12:17:50PM +0530, Siddharth Vadapalli wrote: > > > >> From: Kishon Vijay Abraham I > >> > >> Call dram_init_banksize() from spl_board_init() otherw

Re: [PATCH 4/5] arm: dts: k3-j721e-beagleboneai64: Fix USB operation

2024-01-20 Thread Tom Rini
On Mon, Jan 15, 2024 at 01:40:00PM +0200, Roger Quadros wrote: > > > On 12/01/2024 15:21, Tom Rini wrote: > > On Fri, Jan 12, 2024 at 07:14:50AM -0600, Nishanth Menon wrote: > >> On 15:06-20240112, Roger Quadros wrote: > >>> > >>> > >>> On 12/01/2024 15:02, Nishanth Menon wrote: > On 14:49-2

[PATCH v5 00/13] Add T114 video support

2024-01-20 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 v4: - fixed typo i

[PATCH v5 02/13] video: tegra20: dc: fix image shift on rotated panels

2024-01-20 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 b/dri

[PATCH v5 01/13] video: tegra20: dc: diverge DC per-SOC

2024-01-20 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 Tegr

[PATCH v5 03/13] video: tegra20: consolidate DC header

2024-01-20 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 Tested-

[PATCH v5 04/13] video: tegra20: dc: pass DC id to internal devices

2024-01-20 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 pd

[PATCH v5 05/13] video: tegra20: dc: add PLLD2 parent support

2024-01-20 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: Svyatosl

[PATCH v5 06/13] video: tegra20: dc: add reset support

2024-01-20 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 # HT

[PATCH v5 07/13] video: tegra20: dc: add powergate

2024-01-20 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 35abb6fe46..9a18e

[PATCH v5 09/13] video: tegra20: add MIPI calibration driver

2024-01-20 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 | 1

[PATCH v5 08/13] video: tegra20: dc: fix the clock divider calculation if PLLD/D2 is used

2024-01-20 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 DISP1 clock if its parent is PLLD/D2 and the target rate is > 400MHz. Tested-by: Andreas Westman Dorcsak # ASUS Grouper E1565 Tested-by: Ion Agorria # HTC One

[PATCH v5 10/13] video: tegra20: dsi: add T114 support

2024-01-20 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 R

[PATCH v5 12/13] video: tegra20: dsi: remove pre-configuration

2024-01-20 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 v5 11/13] video: tegra20: dsi: add reset support

2024-01-20 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 v5 13/13] video: tegra20: dsi: set correct fifo depth

2024-01-20 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

Re: [PATCH 0/5] k3-j721e: beagleboneai: Fix USB

2024-01-20 Thread Tom Rini
On Fri, 12 Jan 2024 14:49:46 +0200, Roger Quadros wrote: > This series fixes USB operation on k3-j721e based boards. > > CI testing: https://github.com/u-boot/u-boot/pull/468 > > cheers, > -roger > > [...] Applied to u-boot/master, thanks! -- Tom

[PATCH] pinctrl: aspeed: add pass-through pins and siopbi/siopbo

2024-01-20 Thread Ivan Mikhaylov
Add THRU0-3 and SIOPBI/SIOPBO pin groups/functions. Signed-off-by: Ivan Mikhaylov --- arch/arm/dts/ast2600.dtsi| 20 drivers/pinctrl/aspeed/pinctrl_ast2600.c | 30 2 files changed, 50 insertions(+) diff --git a/arch/arm/dts/ast2600.dtsi

Re: [PATCH] sunxi: add defconfig for nanopi_duo2

2024-01-20 Thread Andre Przywara
On Thu, 28 Dec 2023 13:29:15 +0800 Chuanhong Guo wrote: Hi, thanks for taking care and sending a patch! > FriendlyElec NanoPi Duo2 is a tiny SBC with Allwinner H3 and > Ampak AP6212 WiFi module. The device-tree for it is already > available in u-boot source tree. Add a default config for it. >