Re: [PATCH 0/4] Support UART over MicroSD slot on Transformer T20

2025-03-30 Thread Svyatoslav Ryhel
нд, 30 бер. 2025 р. о 22:30 Artur Kowalski пише: > > W dniu 25.03.2025 o 08:14, Svyatoslav Ryhel pisze: > > пн, 24 бер. 2025 р. о 22:01 Artur Kowalski пише: > > Hello > > Thanks for quick response. I know UARTD is the dedicated UART for > debugging on TF101, but exposing UART over microSD > is a

Re: [PATCH v2 3/3] tegra: allow to expose UART on microSD slot

2025-03-30 Thread Svyatoslav Ryhel
нд, 30 бер. 2025 р. о 22:27 Artur Kowalski пише: > > Tegra20 has mux allowing to repurpose microSD as UART on boards which > use sdmmc3 controller for microSD. Add TEGRA_UARTA_MICROSD to enable > this feature. It is currently supported on Transformer T20, support for > other boards may require Dev

Re: [PATCH v2 2/3] tegra: respect CONFIG_TEGRA_ENABLE_UART* options on Transformer T20

2025-03-30 Thread Svyatoslav Ryhel
нд, 30 бер. 2025 р. о 22:27 Artur Kowalski пише: > > If debug UART is set to anything other than UARTD, U-Boot's SPL hangs > trying to communicate with UARTD which clock won't be ungated. With this > patch it is possible to boot with UARTA enabled. > > Signed-off-by: Artur Kowalski > --- > > (no

[PATCH 0/2] rockchip: Update rng compatible for RK356x and RK3588

2025-03-30 Thread Jonas Karlman
This series adds support for and updates the random generator compatible used for RK356x and RK3588. The RK356x rng node is already part of dts/upstream so the rng node in u-boot.dtsi is dropped, and because it is not enabled for rk3566 it gets enabled in u-boot.dtsi to restore its use in U-Boot.

Re: [PATCH 10/13] arm: dts: rockchip: Add rk3528-pinctrl.dtsi

2025-03-30 Thread Kever Yang
Hi Jonas, On 2025/3/31 00:20, Jonas Karlman wrote: Hi Kever, On 2025-01-24 14:00, Jonas Karlman wrote: Hi Kever, On 2025-01-24 12:25, Kever Yang wrote: Hi Jonas, On 2025/1/24 06:48, Jonas Karlman wrote: From: Joseph Chen Import rk3528-pinctrl.dtsi from vendor U-Boot and Linux tag linux-6

Re: [PATCH] cmd: fuse: add switch for quiet operation

2025-03-30 Thread Rogerio Guerra Borin
Hello Quentin, Thanks for you feedback. On 3/24/25 06:55, Quentin Schulz wrote: I think this is a reasonable expectation. I'm wondering if we shouldn't think about using the log architecture we have to have a generic solution rather than expecting each command driver to handle (possibly in th

Re: [PATCH] binman: Fill in most of the imx8mimage and imx8mcst tests

2025-03-30 Thread Simon Glass
Hi Marek, On Mon, 31 Mar 2025 at 11:11, Marek Vasut wrote: > > On 3/28/25 12:42 PM, Simon Glass wrote: > > Hi Marek, > > Hello Simon, > > > This patch causes a CI error: > > > > https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/1057151 > > I think this might be what

Re: [PATCH] binman: Fill in most of the imx8mimage and imx8mcst tests

2025-03-30 Thread Marek Vasut
On 3/28/25 12:42 PM, Simon Glass wrote: Hi Marek, Hello Simon, This patch causes a CI error: https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/1057151 I think this might be what Simon was pointing out, but I never got any suggestion how to solve that. There was a patch for this.

[PATCH 2/2] rng: rockchip_rng: Update compatible for RK3588

2025-03-30 Thread Jonas Karlman
Linux commit 6ee0b9ad3995 ("arm64: dts: rockchip: Add rng node to RK3588") merged for v6.15-rc1 add a proper rng node to the device tree. The compatible used differs compared to what U-Boot is currently using. Replace the old trngv1 compatible with the upstream Linux rk3588-rng compatible. Signed

[PATCH 1/2] rng: rockchip_rng: Add compatible for RK3568

2025-03-30 Thread Jonas Karlman
Linux commit afeccc408496 ("arm64: dts: rockchip: add DT entry for RNG to RK356x") merged for v6.12-rc1 add a proper rng node to the SoC DT. The compatible used differs compared to what U-Boot is currently using. Add support for the rk3568-rng used in upstream Linux. Support for the cryptov2-rng c

Re: 回复: [PATCH v8 07/19] clk: scmi: check the clock state/parent/rate control permissions

2025-03-30 Thread Marek Vasut
On 3/28/25 11:26 AM, Alice Guo (OSS) wrote: Hello Alice, enum scmi_clock_message_id { SCMI_CLOCK_ATTRIBUTES = 0x3, @@ -738,6 +739,7 @@ enum scmi_clock_message_id { SCMI_CLOCK_RATE_GET = 0x6, SCMI_CLOCK_CONFIG_SET = 0x7, SCMI_CLOCK_PARENT_SET = 0xD, + SCM

[PATCH v2 2/3] tegra: respect CONFIG_TEGRA_ENABLE_UART* options on Transformer T20

2025-03-30 Thread Artur Kowalski
If debug UART is set to anything other than UARTD, U-Boot's SPL hangs trying to communicate with UARTD which clock won't be ungated. With this patch it is possible to boot with UARTA enabled. Signed-off-by: Artur Kowalski --- (no changes since v1) include/configs/transformer-t20.h | 10 +++

Re: [PATCH] drivers: pinctrl: Add Qualcomm SDM630/660 TLMM driver

2025-03-30 Thread Caleb Connolly
Hi Alexey, On 3/25/25 09:18, Alexey Minnekhanov wrote: Add support for TLMM pin controller block (Top Level Mode Multiplexer) on SDM630/660 SoCs, with support for special pins. Correct pin configuration is required for working debug UART and eMMC/SD cards. SDM630 and SDM660 TLMM blocks are the

Re: [PATCH 0/4] Support UART over MicroSD slot on Transformer T20

2025-03-30 Thread Artur Kowalski
W dniu 25.03.2025 o 08:14, Svyatoslav Ryhel pisze: пн, 24 бер. 2025 р. о 22:01 Artur Kowalski пише: Hello Thanks for quick response. I know UARTD is the dedicated UART for debugging on TF101, but exposing UART over microSD is a handy trick useful for development. As I'm doing development on I

[PATCH v2 1/3] tegra: add funcmux for exposing UART over uSD slot on Tegra 20

2025-03-30 Thread Artur Kowalski
UART-A can be exposed through uSD, this was tested on Transformer T20 but should work on all Ventana-based boards. TX is exported on SDD pingroup corresponding to uSD CLK pin RX is exported on SDB which is CMD pin in uSD slot Signed-off-by: Artur Kowalski --- Changes in v2: - fixed indentation

Re: [PATCH] rockchip: io-domain: Enable by default for all supported SoCs

2025-03-30 Thread Anand Moon
Hi Chen-Yu On Wed, 5 Feb 2025 at 07:39, Chen-Yu Tsai wrote: > > From: Chen-Yu Tsai > > The IO domain driver controls the I/O voltage for various pins, > MMC included. > > Enable it by default for all supported Rockchip SoCs. > > Signed-off-by: Chen-Yu Tsai Reviewed-by: Anand Moon Can we enabl

[RFC PATCH] pinctrl: tegra: detect unknown/invalid pin/func configurations

2025-03-30 Thread Artur Kowalski
Tegra20 driver doesn't know about some pin configurations and even about some pins. In case when pin configuration is unknown the pin would be muxed to whatever is under function 0, in case when pin itself is unknown, it could cause out-of-bounds array access in pinmux_set_func and pinmux_set_pullu

Re: [PATCH] toradex: apalis-imx6: Fix build failure when CONFIG_VIDEO_IPUV3 is enabled

2025-03-30 Thread Francesco Dolcini
On Fri, Mar 28, 2025 at 10:05:57AM -0600, Tom Rini wrote: > On Fri, Mar 28, 2025 at 11:20:40AM +0100, raf...@beims.me wrote: > > > From: Rafael Beims > > > > If CONFIG_VIDEO_IPUV3 is enabled without also having CONFIG_IMX_HDMI > > enabled, the build fails for the Apalis iMX6 board. > > > > Fixe

Re: [PATCH v2 1/2] board: rockchip: Add minimal generic RK3328 board

2025-03-30 Thread Christopher Obbard
Hi Jonas, On Sun, 30 Mar 2025 at 18:21, Jonas Karlman wrote: > > Add a minimal generic RK3328 board that only have eMMC, SDMMC, SPI flash > and USB OTG enabled. This defconfig can be used to boot from eMMC, > SD-card or SPI flash on most RK3328 boards that follow reference board > design. > > Sig

Re: [PATCH] ARM: mvebu: Correct SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR usage

2025-03-30 Thread Stefan Roese
On 15.03.25 02:29, Tom Rini wrote: As the code is today, we get a warning about "select" statements on "choice" options not doing anything. However, it also works as intended because SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is the default option within that choice statement. To guard against future r

Re: [PATCH 2/2] env: point fdt address to the fdt in a bloblist

2025-03-30 Thread Tom Rini
On Fri, Mar 28, 2025 at 05:35:04AM -0600, Simon Glass wrote: > Hi Raymond, > > On Thu, 27 Mar 2025 at 17:13, Raymond Mao wrote: > > > > Point fdt_addr to the fdt embedded in the bloblist since fdt_addr > > is a default address for bootefi, bootm and booti to look for the > > device tree when laun

Re: Please pull u-boot-tegra fixes

2025-03-30 Thread Tom Rini
On Sun, 30 Mar 2025 12:09:19 +0300, Svyatoslav Ryhel wrote: > The following changes since commit 02d95aaee01a2faf53bba8f1417b55cd02b6a743: > > Merge branch 'next' of > https://source.denx.de/u-boot/custodians/u-boot-sunxi into next (2025-03-27 > 08:10:06 -0600) > > are available in the Git r

Re: [PATCH v2 2/2] board: rockchip: Add minimal generic RK3399 board

2025-03-30 Thread Christopher Obbard
Hi Jonas, On Sun, 30 Mar 2025 at 18:21, Jonas Karlman wrote: > > Add a minimal generic RK3399 board that only have eMMC, SDMMC, SPI flash > and USB OTG enabled. This defconfig can be used to boot from eMMC, > SD-card or SPI flash on most RK3399 boards that follow reference board > design. > > Sig

[PATCH v2 2/2] board: rockchip: Add minimal generic RK3399 board

2025-03-30 Thread Jonas Karlman
Add a minimal generic RK3399 board that only have eMMC, SDMMC, SPI flash and USB OTG enabled. This defconfig can be used to boot from eMMC, SD-card or SPI flash on most RK3399 boards that follow reference board design. Signed-off-by: Jonas Karlman --- v2: Add CONFIG_ROCKCHIP_IODOMAIN is not set -

[PATCH v2 1/2] board: rockchip: Add minimal generic RK3328 board

2025-03-30 Thread Jonas Karlman
Add a minimal generic RK3328 board that only have eMMC, SDMMC, SPI flash and USB OTG enabled. This defconfig can be used to boot from eMMC, SD-card or SPI flash on most RK3328 boards that follow reference board design. Signed-off-by: Jonas Karlman --- v2: Rebase on next after TPL_HAVE_INIT_STACK

[PATCH v2 0/2] rockchip: Add minimal generic RK3328 and RK3399 boards

2025-03-30 Thread Jonas Karlman
This series adds minimal generic board targets for RK3328 and RK3399, like existing minimal generic boards for RK3566/RK3568, RK3588S/RK3588, pending RK3528 [1] and upcoming RK3576 targets. These generic boards can be used to boot into U-Boot and/or Linux on most boards that follow reference board

Re: [PATCH 10/13] arm: dts: rockchip: Add rk3528-pinctrl.dtsi

2025-03-30 Thread Jonas Karlman
Hi Kever, On 2025-01-24 14:00, Jonas Karlman wrote: > Hi Kever, > > On 2025-01-24 12:25, Kever Yang wrote: >> Hi Jonas, >> >> On 2025/1/24 06:48, Jonas Karlman wrote: >>> From: Joseph Chen >>> >>> Import rk3528-pinctrl.dtsi from vendor U-Boot and Linux tag >>> linux-6.1-stan-rkr5 with the hdmi-p

u-boot@lists.denx.de

2025-03-30 Thread Heinrich Schuchardt
Since commit f98cd471f06b ("clk: clk-composite: Resolve parent clock by name") the StarFive VisionFive 2 board fails to boot. Before that patch the SPL debug UART showed warnings like: clk_register: failed to get pll0_out device (parent of perh_root) clk_register: failed to get pll0_out d

Re: [PATCH v2 14/24] clk: clk-composite: Resolve parent clock by name

2025-03-30 Thread Heinrich Schuchardt
On 30.03.25 17:15, Heinrich Schuchardt wrote: On 23.03.25 16:58, Marek Vasut wrote: Use clock-names property which is accessible via parent clock OF node to look up the parent clock by name instead of depending on unreliable global clock name to perform look up. Signed-off-by: Marek Vasut Th

Re: [PATCH v1] arm: dts: rockchip: add rk3318 A95X Z2 board

2025-03-30 Thread Jonas Karlman
Hi Johan, On 2024-12-08 16:36, Johan Jonker wrote: > The rk3318 A95X Z2 boards are sold as TV box. > No further documentation is given, but from the dts files > extracted it seems that the rk3318 processor is simulair > to the rk3328. Included is an extra dtsi file for U-Boot > specific properties

Please pull u-boot-tegra fixes

2025-03-30 Thread Svyatoslav Ryhel
Dear Tom, The following changes since commit 02d95aaee01a2faf53bba8f1417b55cd02b6a743: Merge branch 'next' of https://source.denx.de/u-boot/custodians/u-boot-sunxi into next (2025-03-27 08:10:06 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-

Re: [PATCH v1 2/2] qcom_defconfig: enable pinctrl for SA8775P

2025-03-30 Thread Caleb Connolly
On 3/24/25 09:05, Varadarajan Narayanan wrote: Enable the pinctrl driver for SA8775P Signed-off-by: Varadarajan Narayanan Reviewed-by: Caleb Connolly --- configs/qcom_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index 66

Re: [PATCH v1 1/2] pinctrl: qcom: add driver for SA8775P SoC

2025-03-30 Thread Caleb Connolly
Hi Varadarajan, On 3/24/25 09:05, Varadarajan Narayanan wrote: Add pinctrl and GPIO driver for SA8775P. Driver code is based on the similar U-Boot and Linux drivers. Thanks, this mostly looks good. [...] +static const unsigned int sa8775p_pin_offsets[] = { + [0] = SA8775_PIN_OFFSET,

Re: [PATCH v2 14/24] clk: clk-composite: Resolve parent clock by name

2025-03-30 Thread Heinrich Schuchardt
On 23.03.25 16:58, Marek Vasut wrote: Use clock-names property which is accessible via parent clock OF node to look up the parent clock by name instead of depending on unreliable global clock name to perform look up. Signed-off-by: Marek Vasut This patch breaks booting starfive_visionfive2_de

Re: [PATCH v4 0/5] rpi: Tidy up booting

2025-03-30 Thread Christopher Obbard
Hi Simon, On Sun, 30 Mar 2025 at 14:29, Christopher Obbard wrote: > Side note: It would be quite nice to add kernel_comp_addr_r and > kernel_comp_size to be able to boot compressed kernels; I will put > this on my TODO list for some day. Please disregard this false information. I looked at the d

Re: [PATCH v1] regulator: qcom-rpmh-regulator: add support for pmm8654 regulators

2025-03-30 Thread Caleb Connolly
On 3/24/25 12:30, Varadarajan Narayanan wrote: Add the PMC8380 regulator data found on the Qualcomm SA8775P platform. The tables are imported from the Linux driver. Signed-off-by: Varadarajan Narayanan Reviewed-by: Caleb Connolly --- drivers/power/regulator/qcom-rpmh-regulator.c | 45 +

Re: [PATCH] phy: Add SDM660 support to Qualcomm QUSB2 phy

2025-03-30 Thread Caleb Connolly
On 3/25/25 09:37, Alexey Minnekhanov via groups.io wrote: Imported from Linux driver. Note that already existing but previously unused member of struct qusb2_phy::has_se_clk_scheme is now utilized for it's purpose. Signed-off-by: Alexey Minnekhanov Reviewed-by: Caleb Connolly --- driv

Re: [PATCH v2 00/56] expo: Various features and improvements

2025-03-30 Thread Tom Rini
On Fri, Mar 28, 2025 at 07:05:47AM -0600, Simon Glass wrote: > This series collects together some new features for expo to make it more > useful for boot menus: > > - measurement and display of multi-line text objects > - internal alignment for objects (e.g. centred text) > - editable strings in

Re: [PATCH v4 1/1] efi_loader: expose the device-tree file name

2025-03-30 Thread Caleb Connolly
Hi Heinrich, On 3/28/25 15:18, Heinrich Schuchardt wrote: On 28.03.25 14:00, Caleb Connolly wrote: On 3/28/25 13:01, Simon Glass wrote: Hi Caleb, On Sun, 23 Mar 2025 at 12:39, Caleb Connolly wrote: Hi all, Reviving this as it is still very much an issue, and especially relevant for Q

Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-03-30 Thread Tom Rini
On Fri, Mar 28, 2025 at 04:44:53AM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 27 Mar 2025 at 17:50, Tom Rini wrote: > > > > On Wed, Mar 26, 2025 at 10:46:57AM -0600, Simon Glass wrote: > > > Hi Quentin, > > > > > > On Tue, 25 Mar 2025 at 04:20, Quentin Schulz > > > wrote: > > > > > > > > H

Re: [PATCH v4 5/5] rpi: Use the U-Boot control FDT for fdt_addr

2025-03-30 Thread Christopher Obbard
Hi Simon, On Thu, 2024-12-19 at 17:34 -0700, Simon Glass wrote: > The fdt_addr variable is used in extlinux as a fallback devicetree if > none is provided by the boot command. Otherwise the only use in U- > Boot > seems to me efi_install_fdt() when the internal FDT is required. > > The existing m

Re: [PATCH v4 3/5] rpi: Drop fdt_high and initrd_high

2025-03-30 Thread Christopher Obbard
Hi Simon, On Thu, 2024-12-19 at 17:34 -0700, Simon Glass wrote: > These are not needed now since there is a bootm_size setting to keep > things within the lower part of memory. > > Drop them. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini > Suggested-by: Tom Rini Reviewed-by: Christo

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

2025-03-30 Thread Tom Rini
On Sat, 29 Mar 2025 03:39:53 +0100, Marek Vasut wrote: > More basic DBSC5 DRAM controller clean ups and improvements. > > The following changes since commit 4adbf64ff8d8c730223fd8ae299d770bebb6fe86: > > Merge branch 'staging' of > https://source.denx.de/u-boot/custodians/u-boot-tegra into nex

Re: [PATCH v4 4/5] rpi: Update environment to support booti and large initrd

2025-03-30 Thread Christopher Obbard
Hi Simon, [resending as I used the wrong e-mail address which isn't on the list, oops] On Thu, 2024-12-19 at 17:34 -0700, Simon Glass wrote: > The existing values don't provide for decompressing an arm64 boot- > image. > Add those values and move things apart a bit so that a 50MB kernel > can be

Re: [PATCH v4 3/5] rpi: Drop fdt_high and initrd_high

2025-03-30 Thread Christopher Obbard
Hi Simon, [resending as I used the wrong e-mail address which isn't on the list, oops] On Thu, 2024-12-19 at 17:34 -0700, Simon Glass wrote: > These are not needed now since there is a bootm_size setting to keep > things within the lower part of memory. > > Drop them. > > Signed-off-by: Simon G

Re: [PATCH v4 5/5] rpi: Use the U-Boot control FDT for fdt_addr

2025-03-30 Thread Christopher Obbard
Hi Simon, [resending as I used the wrong e-mail address which isn't on the list, oops] On Thu, 2024-12-19 at 17:34 -0700, Simon Glass wrote: > The fdt_addr variable is used in extlinux as a fallback devicetree if > none is provided by the boot command. Otherwise the only use in U- > Boot > seems

Re: [PATCH v2 1/4] board/qualcomm: introduce phone config

2025-03-30 Thread Caleb Connolly
Hi Sam, On 3/30/25 10:23, Sam Day wrote: 'Ello Caleb, On Tue Mar 11, 2025 at 1:31 PM CET, Caleb Connolly wrote: Phones don't have keyboards! Introduce a phone-specific config fragment and associated environment file to make U-Boot more useful on these devices. This allows for navigating via th

Re: [PATCH v4 2/5] rpi: Set bootm_size to 512MB

2025-03-30 Thread Christopher Obbard
Hi Simon, On Thu, 2024-12-19 at 17:34 -0700, Simon Glass wrote: > Set this option so that all boot images stay within the bottom 512MB > of > memory. This should allow us to drop the fdt_high and initrd_high > options. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini > Suggested-by: Tom R

Re: [PATCH v4 0/5] rpi: Tidy up booting

2025-03-30 Thread Christopher Obbard
Hi Simon, I tried to boot a mainline 6.12 kernel on a CM4 with U-Boot 2025.01; it doesn't work without this patch series and complains that the DTB is mangled. Not sure why, as there appears to be adequate space in that gap. I didn't look much further than setting alternative load addresses for it

Re: [PATCH v2 3/3] rockchip: rock64-rk3328_defconfig: enable HDMI output and USB keyboard

2025-03-30 Thread Matwey V. Kornilov
вс, 30 мар. 2025 г. в 14:45, Jonas Karlman : > > Hi Vasily, > > On 2025-03-23 23:50, Vasily Khoruzhick wrote: > > Enable HDMI output and USB keyboard on Rock64 board > > > > Signed-off-by: Vasily Khoruzhick > > --- > > v2: no change > > > > configs/rock64-rk3328_defconfig | 10 ++ > > 1 f

Re: [PATCH] efi_loader: remove EFI_BOUNCE_BUFFER

2025-03-30 Thread Ilias Apalodimas
Thanks all this is helpful On Fri, 28 Mar 2025 at 19:15, Mark Kettenis wrote: > > > Date: Fri, 28 Mar 2025 10:04:19 -0600 > > From: Tom Rini > > > > On Fri, Mar 28, 2025 at 02:26:39PM +0200, Ilias Apalodimas wrote: > > > On Fri, 28 Mar 2025 at 13:34, Simon Glass wrote: > > > > > > > > Hi Ilias,

Re: [PATCH 0/4] usb: gadget: f_mass_storage: Fix crashes on low memory devices

2025-03-30 Thread Zixun LI
On Sat, Mar 29, 2025 at 11:04 AM Mattijs Korpershoek wrote: > > If you are OK with being mentioned in the commit log, could you please > answer this email thread with the special "Tested-by:" line. > > Mattijs Hi Mattijs, Yes of course, I searched a bit for tag usage but did end up with the righ

Re: [PATCH v2 3/3] rockchip: rock64-rk3328_defconfig: enable HDMI output and USB keyboard

2025-03-30 Thread Jonas Karlman
Hi Matwey, On 2025-03-30 13:52, Matwey V. Kornilov wrote: > вс, 30 мар. 2025 г. в 14:45, Jonas Karlman : >> >> Hi Vasily, >> >> On 2025-03-23 23:50, Vasily Khoruzhick wrote: >>> Enable HDMI output and USB keyboard on Rock64 board >>> >>> Signed-off-by: Vasily Khoruzhick >>> --- >>> v2: no change

[PATCH v1 5/5] video: tegra: adjust DC and DSI config names

2025-03-30 Thread Svyatoslav Ryhel
Fix DC and DSI config names to reflect more generic nature of existing Tegra video drivers. Signed-off-by: Svyatoslav Ryhel --- board/toradex/colibri_t20/colibri_t20.c | 2 +- configs/endeavoru_defconfig | 2 +- configs/grouper_defconfig | 2 +- configs/harmony_defco

Re: [PATCH v2 2/3] video: rockchip: rk3328: filter unsupported modes

2025-03-30 Thread Jonas Karlman
Hi Vasily, On 2025-03-23 23:50, Vasily Khoruzhick wrote: > While RK3328 is capable of 4K resolutions, dw-hdmi driver in u-boot > seems to have some issue with 4K. 1440p or lower works fine. > > Limit max resolutions to 2560x1440x60Hz, by filtering the modes with > pixel clock > 297MHz > > Fixes:

Re: [PATCH v2 3/3] rockchip: rock64-rk3328_defconfig: enable HDMI output and USB keyboard

2025-03-30 Thread Jonas Karlman
Hi Vasily, On 2025-03-23 23:50, Vasily Khoruzhick wrote: > Enable HDMI output and USB keyboard on Rock64 board > > Signed-off-by: Vasily Khoruzhick > --- > v2: no change > > configs/rock64-rk3328_defconfig | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/configs/rock64-rk3

Re: [PATCH] board: rockchip: Add LCKFB TaishanPi RK3566 Board

2025-03-30 Thread Jonas Karlman
Hi, On 2025-03-10 15:00, jiehui...@foxmail.com wrote: > From: Jiehui He > > The LCKFB TaishanPi is a single-board computer based on the RK3566 SoC. > > Specification: > - 1/2 Gib RAM > - Optinal EMMC > - SD-Card > - HDMI / MIPI CSI / MIPI DSI > - USB 2.0 Host (Type-A) > - USB 2.0 Host / OTG (Ty

Re: [PATCH] test/py: memtest: Fix test for non-trivial parameters

2025-03-30 Thread Love Kumar
On 28/03/25 10:00 pm, Andrew Goodbody wrote: When using non-trivial values for parameters for this test it will cause a spurious failure as the test passes a decimal value to the mtest command which will interpret it as hexadecimal and result in failure as below. test/py/tests/test_memtest.py

[PATCH v1 1/5] video: tegra20: dsi: add Tegra20 support

2025-03-30 Thread Svyatoslav Ryhel
Existing Tegra30 DSI configuration is fully compatible with Tegra20. Signed-off-by: Svyatoslav Ryhel --- drivers/video/tegra20/tegra-dsi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/tegra20/tegra-dsi.c b/drivers/video/tegra20/tegra-dsi.c index a2a22fa0fe2..a96fba01ee4 100

[PATCH v1 3/6] input: add support for CPCAP power button

2025-03-30 Thread Svyatoslav Ryhel
CPCAP has a dedicated interrupt for power button. Implement this to have more input control over the devices. Signed-off-by: Svyatoslav Ryhel --- drivers/input/Kconfig | 6 ++ drivers/input/Makefile | 1 + drivers/input/cpcap_pwrbutton.c | 134 +

Re: [PATCH v1 2/5] video: rename tegra20 to tegra

2025-03-30 Thread Svyatoslav Ryhel
нд, 30 бер. 2025 р. о 13:25 Peter Robinson пише: > > Hi Svyatoslav, > > I started to look at and test your other display patch series in the last > week or so, one thing I noticed is you need to update the Kconfig > descriptions as well as this rename. > This series has Kconfig description adju

Re: [PATCH v1 2/5] video: rename tegra20 to tegra

2025-03-30 Thread Peter Robinson
Hi Svyatoslav, I started to look at and test your other display patch series in the last week or so, one thing I noticed is you need to update the Kconfig descriptions as well as this rename. Has the other series been merged to next? You should also put a note about dependencies etc. Generally f

[PATCH v1 0/6] tegra20: add Atrix 4G MB860 and Droid X2 MB870 support

2025-03-30 Thread Svyatoslav Ryhel
The Motorola Atrix 4G (MB860) and Droid X2 (MB870) both featured a dual-core NVIDIA Tegra 2 AP20H processor clocked at 1GHz, coupled with 1GB of DDR2 RAM. Storage consisted of 16GB of internal flash memory, expandable via microSD. The display was a 4.0-inch TFT LCD with a resolution of 960x540 pixe

[PATCH v1 6/6] board: motorola: add Atrix 4G MB860 and Droid X2 MB870 support

2025-03-30 Thread Svyatoslav Ryhel
The Motorola Atrix 4G (MB860) and Droid X2 (MB870) both featured a dual-core NVIDIA Tegra 2 AP20H processor clocked at 1GHz, coupled with 1GB of DDR2 RAM. Storage consisted of 16GB of internal flash memory, expandable via microSD. The display was a 4.0-inch TFT LCD with a resolution of 960x540 pixe

[PATCH v1 4/6] video: panel: add Motorola Atrix 4G and Droid X2 panel

2025-03-30 Thread Svyatoslav Ryhel
Add support for the LCD panel module used in Motorola Atrix 4G or Droid X2. Exact panel vendor and model are unknown. The panel has a 540x960 (qHD) resolution and uses 24 bit RGB per pixel. Signed-off-by: Svyatoslav Ryhel --- drivers/video/Kconfig | 10 ++ drivers/video/Makefile| 1 +

[PATCH v1 1/6] power: pmic: add the basic CPCAP PMIC support

2025-03-30 Thread Svyatoslav Ryhel
The CPCAP is a Motorola/ST-Ericsson creation, a multifunctional IC whose main purpose was power control. It was used in a wide variety of Motorola products, both Tegra and OMAP based. The most notable devices using this PMIC are the Motorola Droid 4, Atrix 4G, and Droid X2. Signed-off-by: Svyatosl

[PATCH v1 2/6] power: regulator: add regulator support for CPCAP PMIC

2025-03-30 Thread Svyatoslav Ryhel
The driver provides regulator set/get voltage and enable/disable functions for CPCAP PMIC. Signed-off-by: Svyatoslav Ryhel --- drivers/power/pmic/cpcap.c| 35 +++ drivers/power/regulator/Kconfig | 9 + drivers/power/regulator/Makefile | 1 + drivers/power/

[PATCH v1 2/5] video: rename tegra20 to tegra

2025-03-30 Thread Svyatoslav Ryhel
Since this set of drivers suports four Tegra SoC generations, lets name it just 'tegra'. Signed-off-by: Svyatoslav Ryhel --- drivers/video/Kconfig | 2 +- drivers/video/Makefile | 2 +- drivers/video/{tegra20 => tegra}/Kconfig

[PATCH v1 4/5] video: tegra: drop prefix from file names

2025-03-30 Thread Svyatoslav Ryhel
Dir name is enough. Signed-off-by: Svyatoslav Ryhel --- drivers/video/tegra/Makefile | 10 +- .../{tegra-pwm-backlight.c => dc-pwm-backlight.c} | 2 +- drivers/video/tegra/{tegra-dc.c => dc.c} | 2 +- drivers/video/tegra/{tegra-dc.h => dc.h}

[PATCH v1 0/5] video: tegra: adjust namings and paths

2025-03-30 Thread Svyatoslav Ryhel
Adjust driver names, configs and paths to better reflect generic support of multiple Tegra SoC generations they provide. Svyatoslav Ryhel (5): video: tegra20: dsi: add Tegra20 support video: rename tegra20 to tegra video: move tegra124 into common tegra dir video: tegra: drop prefix from f

[PATCH v1 3/5] video: move tegra124 into common tegra dir

2025-03-30 Thread Svyatoslav Ryhel
Place Tegra124 SOR and eDP implenetation into common Tegra driver folder until it is integrated into existing setup. Signed-off-by: Svyatoslav Ryhel --- drivers/video/Kconfig| 8 drivers/video/Makefile | 1 - drivers/video/tegra/Kcon

[PATCH v1 2/2] ARM: tegra: clock: fix PLLD2 info table entry on Tegra124 and Tegra210

2025-03-30 Thread Svyatoslav Ryhel
Historically, PLLD2 mirrored PLLD's layout on Tegra30 and 114. However, with the introduction of Tegra124, this changed. This layout alteration was not considered, and it now requires a corrective action to prevent future complications. Signed-off-by: Svyatoslav Ryhel --- arch/arm/mach-tegra/teg

[PATCH v1 1/1] sysreset: add PHASE_ to GPIO reset and poweroff configs

2025-03-30 Thread Svyatoslav Ryhel
GPIO reset and power-off functionality depends on device tree data, which is often absent in SPL or TPL. To address this, incorporate PHASE_ into the config option. Signed-off-by: Svyatoslav Ryhel --- drivers/sysreset/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v1 0/1] sysreset: add PHASE_ to GPIO reset and poweroff configs

2025-03-30 Thread Svyatoslav Ryhel
GPIO reset and power-off functionality depends on device tree data, which is often absent in SPL or TPL. To address this, incorporate PHASE_ into the config option. Svyatoslav Ryhel (1): sysreset: add PHASE_ to GPIO reset and poweroff configs drivers/sysreset/Makefile | 4 ++-- 1 file changed,

[PATCH v1 1/2] ARM: tegra: clock: take in account PLLD/D2 enable bit on clock_set_rate

2025-03-30 Thread Svyatoslav Ryhel
PLLD and PLLD2 clocks possess a unique enable bit within their miscellaneous register. Take this into account when using clock_set_rate function. Signed-off-by: Svyatoslav Ryhel --- arch/arm/mach-tegra/clock.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-tegra/clock.c

[PATCH v1 0/2] ARM: tegra: fix PLLD/D2 relates configurations

2025-03-30 Thread Svyatoslav Ryhel
Fix PLLD2 info table entry on Tegra124 and Tegra210 which unlike on Tegra114 and lower does not match PLLD. Take in account PLLD/D2 enable bit on clock_set_rate call. Those two seems to be only which have this bit. Svyatoslav Ryhel (2): ARM: tegra: clock: take in account PLLD/D2 enable bit on

[PATCH v1 0/1] spi: tegra: fix CS polarity setup

2025-03-30 Thread Svyatoslav Ryhel
Add missing configuration of chip select polarity. Default polarity is LOW, which satisfies most cases but some devices require HIGH polarity and will not work. Svyatoslav Ryhel (1): spi: tegra20_slink: fix CS polarity setup drivers/spi/tegra20_slink.c | 18 ++ 1 file changed,

[PATCH v1 1/1] spi: tegra20_slink: fix CS polarity setup

2025-03-30 Thread Svyatoslav Ryhel
Add missing configuration of chip select polarity. Default polarity is LOW, which satisfies most cases but some devices require HIGH polarity and will not work. Signed-off-by: Svyatoslav Ryhel --- drivers/spi/tegra20_slink.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a

[PATCH v1 2/2] configs: mocha: add missing SPL_HAVE_INIT_STACK option

2025-03-30 Thread Svyatoslav Ryhel
Mocha was added and tested right before this config option was added. Add it to restore proper booting. Fixes: d6a53f52 ("spl: Add an SPL_HAVE_INIT_STACK option") Signed-off-by: Svyatoslav Ryhel --- configs/mocha_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/mocha_defconf

[PATCH v1 0/2] Add missing SPL_HAVE_INIT_STACK for ouya and mocha

2025-03-30 Thread Svyatoslav Ryhel
Ouya and Mocha were added around the same time SPL_HAVE_INIT_STACK was introduced by Simon and therefore do not include this config option. It is critical to add it before any defconfig resync, since the SPL_STACK option will then be removed. Svyatoslav Ryhel (2): configs: ouya: add missing SPL_

Re: [PATCH v2 1/4] board/qualcomm: introduce phone config

2025-03-30 Thread Sam Day
'Ello Caleb, On Tue Mar 11, 2025 at 1:31 PM CET, Caleb Connolly wrote: > Phones don't have keyboards! Introduce a phone-specific config fragment > and associated environment file to make U-Boot more useful on these > devices. This allows for navigating via the buttons and enabling > various USB ga

Re: [PATCH v2 06/15] arm: Replace 'adrl' in EFI crt0

2025-03-30 Thread Ilias Apalodimas
On Sun, 16 Mar 2025 at 00:18, Sam Edwards wrote: > > LLVM's IAS does not (and cannot easily) support the 'adrl' > pseudoinstruction, and ARM developers generally do not consider it > portable across assembler implementations either. > > Instead, expand it into the two subtract instructions it woul