Re: [PATCH RFC u-boot-mvebu 00/59] arm: mvebu: Various fixes

2023-02-26 Thread Stefan Roese
Hi Pali, On 2/25/23 23:00, Pali Rohár wrote: On Tuesday 21 February 2023 21:18:26 Pali Rohár wrote: This patch series contains various improvements and fixes for existing logical errors. Boot phase was adjusted to match behavior of Armada 385 BootROM by inspecting and disassembling of BootROM

Re: [PATCH 2/2] arm: mvebu: clearfog: Add defconfig for SPI booting

2023-02-26 Thread Stefan Roese
Hi Tony, On 2/27/23 01:11, Tony Dinh wrote: Hi Pali, On Sun, Feb 26, 2023 at 2:52 AM Pali Rohár wrote: On Saturday 25 February 2023 20:56:10 Tony Dinh wrote: Hi Martin, On Sat, Feb 25, 2023 at 6:17 PM Martin Rowe wrote: I'm not sure how to run proper timing tests on the process, but

Re: [PATCH v1 09/11] rockchip: move dwc3 config to chip specific handler

2023-02-26 Thread Jagan Teki
On Tue, Feb 22, 2022 at 7:03 AM Peter Geis wrote: > > The dwc3 code in the mach-rockchip board file is specific to the rk3399. > Move it to the rk3399 chip specific code. Though it is rk3399, there is no new SoC that requires OTG as of now even if needed it is easy to support here instead of

Re: [PATCH] kconfig: Proposed language extension for multiple builds

2023-02-26 Thread Simon Glass
Hi Masahiro, On Sun, 26 Feb 2023 at 20:36, Masahiro Yamada wrote: > > Hi Simon, > > On Mon, Feb 27, 2023 at 4:23 AM Simon Glass wrote: > > > > Hi Masahiro, > > > > On Sun, 26 Feb 2023 at 10:36, Masahiro Yamada wrote: > > > > > > On Sun, Feb 26, 2023 at 11:44 PM Tom Rini wrote: > > > > > > > >

Re: [PATCH] kconfig: Proposed language extension for multiple builds

2023-02-26 Thread Masahiro Yamada
Hi Simon, On Mon, Feb 27, 2023 at 4:23 AM Simon Glass wrote: > > Hi Masahiro, > > On Sun, 26 Feb 2023 at 10:36, Masahiro Yamada wrote: > > > > On Sun, Feb 26, 2023 at 11:44 PM Tom Rini wrote: > > > > > > On Sun, Feb 26, 2023 at 11:32:03PM +0900, Masahiro Yamada wrote: > > > > On Sun, Feb 26,

Re: i.MX8M binman

2023-02-26 Thread Peng Fan
Hi Simon, On 2/13/2023 9:09 AM, Simon Glass wrote: Hi Peng, On Fri, 10 Feb 2023 at 07:06, Simon Glass wrote: Hi Peng, On Fri, 10 Feb 2023 at 04:55, Peng Fan wrote: +Marek, I heard that from Marek on IRC, but Marek ask me to reach you. Actually I am not sure what is the issue with

Re: [PATCH] arm: dts: ls1088a-rdb: replace 'xgmii' with '10gbase-r'

2023-02-26 Thread Peng Fan
On 2/22/2023 10:17 PM, Ioana Ciornei wrote: When the first device tree description was added for the ethernet nodes, the 2 10G ports on the LS1088ARDB were wrongly described as 'xgmii'. Fix this by replacing the two last occurrences of 'xgmii' in the device trees of the Layerscape DPAA2

Re: [PATCH 0/5] board: freescale: remove non-DM_ETH code for Layerscape DPAA2 platforms

2023-02-26 Thread Peng Fan
For the patchset, Reviewed-by: Peng Fan On 2/15/2023 11:31 PM, Ioana Ciornei wrote: Now that DM_ETH is enabled by default and even the ldpaa_eth driver doesn't have support for the non-DM_ETH use case (see commit below), remove non-DM_ETH code from the board files. commit cde5a844fbba

Re: [PATCH 2/2] arm: mvebu: clearfog: Add defconfig for SPI booting

2023-02-26 Thread Tony Dinh
Hi Pali, On Sun, Feb 26, 2023 at 2:52 AM Pali Rohár wrote: > > On Saturday 25 February 2023 20:56:10 Tony Dinh wrote: > > Hi Martin, > > > > On Sat, Feb 25, 2023 at 6:17 PM Martin Rowe wrote: > > > > > > > > > I'm not sure how to run proper timing tests on the process, but > > > > > > stopwatch

Re: [PATCH] kconfig: Proposed language extension for multiple builds

2023-02-26 Thread Simon Glass
Hi Masahiro, On Sun, 26 Feb 2023 at 10:36, Masahiro Yamada wrote: > > On Sun, Feb 26, 2023 at 11:44 PM Tom Rini wrote: > > > > On Sun, Feb 26, 2023 at 11:32:03PM +0900, Masahiro Yamada wrote: > > > On Sun, Feb 26, 2023 at 11:04 PM Simon Glass wrote: > > > > > > > > Hi Masahiro, > > > > > > > >

[PATCH v2 09/11] video: tegra20: add DSI controller driver

2023-02-26 Thread Svyatoslav Ryhel
Adds support for both DSI outputs found on Tegra. Only very minimal functionality is implemented, so advanced features like ganged mode won't work. Driver is heavily based on mainline Tegra DSI and re-uses much of its features. Only T30 is supported for now but T20 support can be added if any

[PATCH v2 11/11] simple_panel: support simple MIPI DSI panels

2023-02-26 Thread Svyatoslav Ryhel
Re-use simple panel driver for MIPI DSI panels which do not require additional DSI commands for setup. Tested-by: Robert Eckelmann # ASUS TF101 T20 Tested-by: Nicolas Chauvet # Paz00 Tested-by: Andreas Westman Dorcsak # ASUS TF700T T30 Signed-off-by: Svyatoslav Ryhel ---

[PATCH v2 10/11] simple_panel: add support for get_display_timing

2023-02-26 Thread Svyatoslav Ryhel
Some cases may require passing display timings from panel driver. To handle such cases support parsing device tree panel node for timing subnode. Tested-by: Robert Eckelmann # ASUS TF101 T20 Tested-by: Nicolas Chauvet # Paz00 Tested-by: Svyatoslav Ryhel # Google Nexus 7 2012 Signed-off-by:

[PATCH v2 08/11] video: tegra-dc: pass DC regmap to internal devices

2023-02-26 Thread Svyatoslav Ryhel
Internal video devices like DSI and HDMI controllers require sending commands into DC register field. To make this available, lets create platform data, which is restricted to pass DC regmap only to pre-defined devices. Tested-by: Andreas Westman Dorcsak # ASUS TF T30 Tested-by: Nicolas Chauvet

[PATCH v2 07/11] video: tegra-dc: add panel_set_backlight call

2023-02-26 Thread Svyatoslav Ryhel
Tegra DC driver does not call panel_set_backlight, which can result in absence of backlight on device. Fix this by calling panel_set_backlight with BACKLIGHT_DEFAULT just after panel_enable_backlight. Tested-by: Robert Eckelmann # ASUS TF101 T20 Tested-by: Nicolas Chauvet # Paz00 Tested-by:

[PATCH v2 06/11] video: tegra-dc: add 180 degree panel rotation

2023-02-26 Thread Svyatoslav Ryhel
Unlike 90 and 270 degree rotation, 180 degree rotation is more common and does not require scaling. Implement it for correct grouper support. Tested-by: Andreas Westman Dorcsak # Google Nexus 7 2012 Tested-by: Svyatoslav Ryhel # Google Nexus 7 2012 Signed-off-by: Svyatoslav Ryhel ---

[PATCH v2 05/11] video: tegra-dc: assign regmap directly

2023-02-26 Thread Svyatoslav Ryhel
Tested-by: Robert Eckelmann # ASUS TF101 T20 Tested-by: Nicolas Chauvet # Paz00 Tested-by: Andreas Westman Dorcsak # ASUS TF T30 Tested-by: Svyatoslav Ryhel # LG P895 T30 Signed-off-by: Svyatoslav Ryhel --- drivers/video/tegra20/tegra-dc.c | 19 --- 1 file changed, 8

[PATCH v2 04/11] video: tegra-dc: request timings from panel driver first

2023-02-26 Thread Svyatoslav Ryhel
Check if panel driver has display timings and get those. If panel driver does not pass timing, try to find timing under rgb node for backwards compatibility. Tested-by: Robert Eckelmann # ASUS TF101 T20 Tested-by: Nicolas Chauvet # Paz00 Tested-by: Andreas Westman Dorcsak # ASUS TF T30

[PATCH v2 03/11] video: tegra-dc: get clocks from device tree

2023-02-26 Thread Svyatoslav Ryhel
DISP1 clock may use PLLP, PLLC and PLLD as parents. Instead of hardcoding, lets pass clock and its parent from device tree. Default parent is PLLP. Tested-by: Robert Eckelmann # ASUS TF101 T20 Tested-by: Nicolas Chauvet # Paz00 Tested-by: Andreas Westman Dorcsak # ASUS TF T30 Tested-by:

[PATCH v2 01/11] tegra: lcd: video: integrate display driver for t30

2023-02-26 Thread Svyatoslav Ryhel
From: Marcel Ziswiler On popular request make the display driver from T20 work on T30 as well. Turned out to be quite straight forward. However a few notes about some things encountered during porting: Of course the T30 device tree was completely missing host1x as well as PWM support but it

[PATCH v2 02/11] video: move tegra dc driver into own folder

2023-02-26 Thread Svyatoslav Ryhel
Signed-off-by: Svyatoslav Ryhel --- drivers/video/Kconfig | 11 ++- drivers/video/Makefile| 2 +- drivers/video/tegra20/Kconfig | 8 drivers/video/tegra20/Makefile| 3 +++ drivers/video/{tegra.c

[PATCH v2 00/11] Tegra DC improvements

2023-02-26 Thread Svyatoslav Ryhel
This patch set is dedicated to improvement of video support on T20 and T30 devices. It contains: - DC driver improvements (T30 support was added into existing T20 DC driver, it was moved into own folder, added support of reading clocks from dts, improved work with panel ops and implemented native

Re: [PATCH] kconfig: Proposed language extension for multiple builds

2023-02-26 Thread Masahiro Yamada
On Sun, Feb 26, 2023 at 11:44 PM Tom Rini wrote: > > On Sun, Feb 26, 2023 at 11:32:03PM +0900, Masahiro Yamada wrote: > > On Sun, Feb 26, 2023 at 11:04 PM Simon Glass wrote: > > > > > > Hi Masahiro, > > > > > > On Sat, 25 Feb 2023 at 20:31, Masahiro Yamada > > > wrote: > > > > > > > > On Sat,

Re: [PATCH] Reads high bits of DDR type for Rockchip

2023-02-26 Thread Jonas Karlman
Hi, Please try the series at [1], it should solve the same issue you are trying to solve with this patch. That series is also queued in the rockchip U-Boot Custodian Tree. [1] https://patchwork.ozlabs.org/project/uboot/cover/20230207172707.4094859-1-jo...@kwiboo.se/ Regards, Jonas On

Re: [PATCH v2 13/26] ringneck-px30: use IS_ENABLED_NOCHECK to avoid CI test failure for ENV_IS_NOWHERE

2023-02-26 Thread Simon Glass
On Fri, 24 Feb 2023 at 11:11, Troy Kisky wrote: > > When usage_of_is_enabled_check.sh is added, this will show a false > positive for IS_ENABLED(CONFIG_ENV_IS_NOWHERE). > Use IS_ENABLED_NOCHECK to avoid check and error on SPL builds. > > Signed-off-by: Troy Kisky > --- > > Changes in v2: > -

Re: [PATCH 1/1] sandbox: allow building sandbox_spl with CONFIG_DEBUG

2023-02-26 Thread Simon Glass
Hi Eugen, On Fri, 24 Feb 2023 at 06:59, Eugen Hristev wrote: > > On 2/21/23 21:35, Simon Glass wrote: > > On Sat, 18 Feb 2023 at 01:34, Heinrich Schuchardt > > wrote: > >> > >> Building sandbox_spl with CONFIG_DEBUG leads to errors due to missing > >> symbols: > >> > >> /usr/bin/ld:

Re: [PATCH v2 22/26] x86: cpu: i386: cpu: only set pci_ram_top if CONFIG_IS_ENABLED(PCI)

2023-02-26 Thread Simon Glass
On Fri, 24 Feb 2023 at 11:11, Troy Kisky wrote: > > This avoids an error when ifdef CONFIG_PCI is changed to > if CONFIG_IS_ENABLED(PCI) > > Signed-off-by: Troy Kisky > --- > > Changes in v2: > - use an accessor function gd_set_pci_ram_top > > arch/x86/cpu/i386/cpu.c | 2 +- >

Re: [PATCH v2 14/26] puma-rk3399: use IS_ENABLED_NOCHECK to avoid CI test failure for ENV_IS_NOWHERE

2023-02-26 Thread Simon Glass
On Fri, 24 Feb 2023 at 11:11, Troy Kisky wrote: > > When usage_of_is_enabled_check.sh is added, this will show a false > positive for IS_ENABLED(CONFIG_ENV_IS_NOWHERE). > Use IS_ENABLED_NOCHECK to avoid check and error on SPL builds. > > Signed-off-by: Troy Kisky > --- > > Changes in v2: > -

Re: [PATCH v2 20/26] wandboard: use CONFIG_IS_ENABLED(SATA) instead of ifdef CONFIG_SATA

2023-02-26 Thread Simon Glass
On Fri, 24 Feb 2023 at 11:11, Troy Kisky wrote: > > Prepare for linking setup_sata only when CONFIG_SATA/CONFIG_SPL_SATA > is defined. > > Signed-off-by: Troy Kisky > --- > > Changes in v2: > - new in series > > board/wandboard/wandboard.c | 5 ++--- > 1 file changed, 2 insertions(+), 3

Re: [PATCH v6 5/9] video console: move vidconsole_get_font_size() to test.h

2023-02-26 Thread Simon Glass
Hi Dzmitry, On Thu, 23 Feb 2023 at 11:10, Dzmitry Sankouski wrote: > > vidconsole_get_font_size is only used in tests and in font > command. It's role in 'font size' command was to only fetch > current font name, to be used in select font function. > This is redundant, because it's easy to check

Re: [PATCH v2 19/26] solidrun: mx6cuboxi: use CONFIG_IS_ENABLED(SATA) instead of CONFIG_CMD_SATA

2023-02-26 Thread Simon Glass
On Fri, 24 Feb 2023 at 11:11, Troy Kisky wrote: > > setup_sata is linked with > obj-$(CONFIG_SATA) += sata.o > > So use SATA instead of CMD_SATA. > > Signed-off-by: Troy Kisky > --- > > Changes in v2: > - use normal if, not preprocessor > > board/solidrun/mx6cuboxi/mx6cuboxi.c | 5 ++--- > 1

Re: [PATCH v5 6/6] binman: Mark mkimage entry missing when its subnodes is missing

2023-02-26 Thread Simon Glass
On Sat, 25 Feb 2023 at 12:01, Jonas Karlman wrote: > > Using the mkimage entry with the multiple-data-files prop and having a > missing external blob result in an unexpected ValueError exception using > the --allow-missing flag. > > ValueError: Filename 'missing.bin' not found in input path

Re: [PATCH v2 23/26] gateworks: venice: Always define setup_fec and setup_eqos

2023-02-26 Thread Simon Glass
On Fri, 24 Feb 2023 at 11:11, Troy Kisky wrote: > > The compiler will optimize away base on IS_ENABLED(CONFIG_FEC_MXC). > It avoids an error in converting to CONFIG_IS_ENABLED(NET). > > Signed-off-by: Troy Kisky > --- > > Changes in v2: > - Always define function instead of using same protection

Re: [PATCH v2 01/26] kconfig: add IS_ENABLED_NOCHECK to bypass usage_of_is_enabled_check

2023-02-26 Thread Simon Glass
On Fri, 24 Feb 2023 at 11:11, Troy Kisky wrote: > > This is for use when a config with an SPL version needs to always > check the non-spl verion of the config. It avoids error messages > from CI test script usage_of_is_enabled_check.sh > > Signed-off-by: Troy Kisky > --- > > Changes in v2: > -

Re: [PATCH v2 1/1] spl: allow loading via partition type GUID

2023-02-26 Thread Simon Glass
Hi Heinrich, On Tue, 21 Feb 2023 at 12:41, Simon Glass wrote: > > Hi Heinrich, > > On Thu, 16 Feb 2023 at 23:56, Heinrich Schuchardt > wrote: > > > > > > > > On 2/17/23 03:55, Simon Glass wrote: > > > " properHi Heinrich, > > > > > > On Thu, 16 Feb 2023 at 14:31, Heinrich Schuchardt > > >

Re: [PATCH v6 00/10] vidconsole: refactoring and support for wider fonts

2023-02-26 Thread Simon Glass
Hi Dzmitry, On Thu, 23 Feb 2023 at 11:10, Dzmitry Sankouski wrote: > > Version 6 contains entire rebased patch series. > New patch 'move vidconsole_get_font_size() to test.h' added. > > Version 5 contain minor changes: > - move common functions to console-core.c file > - remove static keyword

Re: [PATCH] kconfig: Proposed language extension for multiple builds

2023-02-26 Thread Tom Rini
On Sun, Feb 26, 2023 at 11:32:03PM +0900, Masahiro Yamada wrote: > On Sun, Feb 26, 2023 at 11:04 PM Simon Glass wrote: > > > > Hi Masahiro, > > > > On Sat, 25 Feb 2023 at 20:31, Masahiro Yamada wrote: > > > > > > On Sat, Feb 25, 2023 at 11:38 AM Simon Glass wrote: > > > > > > > > +Masahiro

Re: [PATCH] kconfig: Proposed language extension for multiple builds

2023-02-26 Thread Masahiro Yamada
On Sun, Feb 26, 2023 at 11:04 PM Simon Glass wrote: > > Hi Masahiro, > > On Sat, 25 Feb 2023 at 20:31, Masahiro Yamada wrote: > > > > On Sat, Feb 25, 2023 at 11:38 AM Simon Glass wrote: > > > > > > +Masahiro Yamada > > > > > > > > > > I do not know. > > This seems a shorthand in Kconfig level.

Re: [PATCH] kconfig: Proposed language extension for multiple builds

2023-02-26 Thread Simon Glass
Hi Masahiro, On Sat, 25 Feb 2023 at 20:31, Masahiro Yamada wrote: > > On Sat, Feb 25, 2023 at 11:38 AM Simon Glass wrote: > > > > +Masahiro Yamada > > > > > I do not know. > This seems a shorthand in Kconfig level. > > > masahiro@zoe:~/ref/u-boot(master)$ rgrep '^config SPL_' | wc > 540

[PATCH v2 3/3] rk3566: radxa-cm3: Enable USB OTG

2023-02-26 Thread Manoj Sai
Enable USB OTG support and update the fastboot buffer address for Radxa Compute Module 3 IO Board. This would help to use fastboot by default. Signed-off-by: Manoj Sai --- Changes for v2 :- - Updated the fastboot buffer address in drivers/fastboot/Kconfig. ---

[PATCH v2 2/3] rockchip: rk356x: update the dwc3_device register offset

2023-02-26 Thread Manoj Sai
update the dwc3_device register offset in board_usb_init() for rk3568 platforms. Signed-off-by: Manoj Sai Reviewed-by: Jagan Teki --- Changes for v2:- - None --- arch/arm/mach-rockchip/board.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-rockchip/board.c

[PATCH v2 1/3] arm: dts: rockchip: rk3566: Enable USB OTG for Radxa CM3

2023-02-26 Thread Manoj Sai
Enable USB OTG support for Radxa Compute Module 3 IO Board Signed-off-by: Manoj Sai --- Changes for v2 :- - None. Note: Above changeset has sent to kernel mailing list, which is currently under review.

Re: [PATCH 1/2] arm: mvebu: clearfog: Fix MMC detection

2023-02-26 Thread Martin Rowe
On Sun, 26 Feb 2023 at 11:18, Pali Rohár wrote: > On Sunday 26 February 2023 01:45:16 Martin Rowe wrote: > > On Sat, 25 Feb 2023 at 22:14, Pali Rohár wrote: > > > On Saturday 25 February 2023 22:49:56 Pali Rohár wrote: > > > > On Saturday 25 February 2023 11:42:19 Martin Rowe wrote: > > > > >

Re: [PATCH 1/2] arm: mvebu: clearfog: Fix MMC detection

2023-02-26 Thread Pali Rohár
On Sunday 26 February 2023 01:45:16 Martin Rowe wrote: > On Sat, 25 Feb 2023 at 22:14, Pali Rohár wrote: > > On Saturday 25 February 2023 22:49:56 Pali Rohár wrote: > > > On Saturday 25 February 2023 11:42:19 Martin Rowe wrote: > > > > A388 Clearfog MMC is either SD Card or eMMC with different

Re: [PATCH 2/2] arm: mvebu: clearfog: Add defconfig for SPI booting

2023-02-26 Thread Pali Rohár
On Saturday 25 February 2023 20:56:10 Tony Dinh wrote: > Hi Martin, > > On Sat, Feb 25, 2023 at 6:17 PM Martin Rowe wrote: > > > > > > > I'm not sure how to run proper timing tests on the process, but > > > > > stopwatch timing just between seeing "Trying to boot" and "U-Boot > > > > >

[PATCH] powerpc, mpc83xx: Remove CONFIG_ELBC_BRx_ORx

2023-02-26 Thread Christophe Leroy
Commit fe7d654d04 ("mpc83xx: Migrate CONFIG_SYS_{BR, OR}*_PRELIM to Kconfig") converted CONFIG_SYS_{BRx/ORx}_PRELIM to Kconfig by implementing a fine-grained selection of every bit in Kconfig. But commit c7fad78ec0 ("Convert CONFIG_SYS_BR0_PRELIM et al to Kconfig") reworked it so that you now

Re: [PATCH RFC u-boot-mvebu 00/59] arm: mvebu: Various fixes

2023-02-26 Thread Pali Rohár
On Sunday 26 February 2023 01:56:23 Martin Rowe wrote: > On Sat, 25 Feb 2023 at 21:16, Pali Rohár wrote: > > I think that the remaining part is to patch linux DTB file at runtime > > for emmc support. So if u-boot mmc device is of eMMC type then fixup > > linux dtb file and others do nothing. >