Re: [PATCH 1/1] test: fix pylint warning for capsule tests

2023-04-19 Thread Heinrich Schuchardt
On 4/20/23 00:40, Simon Glass wrote: Hi Heinrich, On Wed, 19 Apr 2023 at 18:30, Heinrich Schuchardt wrote: On 4/19/23 03:45, Simon Glass wrote: Hi Heinrich, On Fri, 14 Apr 2023 at 02:34, Heinrich Schuchardt wrote: Fix pylint warnings like: * Class inherits from object * Missing

Re: [PATCH v1 4/6] video: panel: add Renesas R69328 MIPI DSI panel driver

2023-04-19 Thread Svyatoslav Ryhel
чт, 20 квіт. 2023 р. о 01:41 Simon Glass пише: > > Hi Svyatoslav, > > On Wed, 19 Apr 2023 at 13:17, Svyatoslav Ryhel wrote: > > > > Driver adds support for panels with Renesas R69328 IC > > > > Currently supported compatible is: > > - jdi,dx12d100vm0eaa > > > > Tested-by: Andreas Westman Dorcsak

Re: [PATCH V8 14/14] common: Replace #ifdef and #if with if's

2023-04-19 Thread Devarsh Thakkar
Hi Nikhil, Thanks for the patch. On 19/04/23 11:40, Nikhil M Jain wrote: > Avoid using preprocessor compilation directives and instead use simple > logical expressions for better readability since compiler will anyway > optimize out the respective code block if condition is not satisfied. > >

Re: [PATCH v1 2/6] video: bridge: add Solomon SSD2825 DSI/LVDS driver

2023-04-19 Thread Svyatoslav Ryhel
чт, 20 квіт. 2023 р. о 01:41 Simon Glass пише: > > Hi Svyatoslav, > > On Wed, 19 Apr 2023 at 13:17, Svyatoslav Ryhel wrote: > > > > SSD2825 is an innovative and cost-effective MIPI Bridge Chip solution > > targeting high resolution smartphones. It can convert 24bit RGB > > interface into 4-lane

Re: [PATCH v5 4/4] test/py: efi_capsule: test for FMP versioning

2023-04-19 Thread Masahisa Kojima
Hi Simon, On Wed, 19 Apr 2023 at 10:47, Simon Glass wrote: > > Hi Masahisa, > > On Mon, 10 Apr 2023 at 03:07, Masahisa Kojima > wrote: > > > > This test covers FMP versioning for both raw and FIT image, > > and both signed and non-signed capsule update. > > > > Signed-off-by: Masahisa Kojima >

Re: [RESEND PATCH v2] netconsole: various improvements

2023-04-19 Thread Tony Dinh
On Wed, Apr 19, 2023 at 6:22 PM Tony Dinh wrote: > > HI Simon, > > On Tue, Apr 18, 2023 at 6:46 PM Simon Glass wrote: > > > > Hi Tony, > > > > On Mon, 3 Apr 2023 at 15:42, Tony Dinh wrote: > > > > > > Use CONFIG_CONSOLE_MUX for netconsole. When netconsole is running, > > > stdin/stdout/stder

Re: [PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-04-19 Thread Leo Liang
Hi YanHong, Torsten, Matthias, On Thu, Apr 13, 2023 at 06:05:56PM +0800, yanhong wang wrote: > > > On 2023/4/13 17:03, Torsten Duwe wrote: > > On Thu, 13 Apr 2023 10:05:28 +0800 > > yanhong wang wrote: > > > >> the definition of DT refers to Linux and is consistent with the definition > >>

Re: [RESEND PATCH v2] netconsole: various improvements

2023-04-19 Thread Tony Dinh
HI Simon, On Tue, Apr 18, 2023 at 6:46 PM Simon Glass wrote: > > Hi Tony, > > On Mon, 3 Apr 2023 at 15:42, Tony Dinh wrote: > > > > Use CONFIG_CONSOLE_MUX for netconsole. When netconsole is running, > > stdin/stdout/stder must be set to some primary console, in addtion to nc. > > For example,

[PATCH 2/2] sunxi: defconfig: Add Lctech Pi F1C200s board

2023-04-19 Thread Andre Przywara
The Lctech Pi F1C200s (also previously known under the Cherry Pi brand) is a small development board with the Allwinner F1C200s SoC. This is the same as the F1C100s, but with 64MB instead of 32MB co-packaged DRAM. Add a defconfig for this board, enabling the most basic features. This uses the new

[PATCH 1/2] sunxi: dts: arm/arm64: update devicetree files from Linux-v6.4 queue

2023-04-19 Thread Andre Przywara
Sync the devicetree files from the sunxi Linux queue [1], to match the Linux 6.4-rc pull request. Those patches are in Linux-next for a bit now. This is covering both 64-bit and 32-bit Allwinner SoCs with Arm Ltd. cores, we skip the new RISC-V bits for now, as sunxi RISC-V support for U-Boot is

[PATCH v3 35/43] x86: Record the start and end of the tables

2023-04-19 Thread Simon Glass
The ACPI tables are special in that they are passed to EFI as a separate piece, independent of other tables. Also they can be spread over two areas of memory, e.g. with QEMU we end up with tables kept in high memory as well. Add new global_data fields to hold this information and update the

[PATCH v3 34/43] x86: Refactor table-writing code a litlle

2023-04-19 Thread Simon Glass
The implementation of write_tables() is confusing because it uses the rom_table_start variable as the address pointer as it progresses. Rename it to rom_addr to make the code clearer. Move the rom_table_end variable into the block where it is used. Also update logging to use the ACPI category,

[PATCH] efi: Rename the base efi self-test

2023-04-19 Thread Simon Glass
This function uses the same base name as all the others in this file, so it is not easy to run just that one test. Add a _base suffix so that it can be run on its own. Signed-off-by: Simon Glass --- test/py/tests/test_efi_selftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v1 3/6] video: panel: add Renesas R61307 MIPI DSI panel driver

2023-04-19 Thread Simon Glass
On Wed, 19 Apr 2023 at 13:17, Svyatoslav Ryhel wrote: > > R61307 is liquid crystal driver for high-definition > amorphous silicon (a-Si) panels and is ideal for > tablets and smartphones. > > Supported compatibles are: > - koe,tx13d100vm0eaa > - hitachi,tx13d100vm0eaa > > Tested-by: Andreas

Re: [PATCH v4 3/6] tools: Add mkfwumdata tool for FWU metadata image

2023-04-19 Thread Simon Glass
Hi Jassi, On Tue, 18 Apr 2023 at 20:58, Jassi Brar wrote: > > On Tue, 18 Apr 2023 at 20:46, Simon Glass wrote: > > > > Hi, > > > > On Fri, 14 Apr 2023 at 07:53, Michal Simek wrote: > > > > > > > > > > > > On 4/10/23 06:25, Jassi Brar wrote: > > > > On Wed, 29 Mar 2023 at 15:02, Simon Glass

Re: [PATCH V8 14/14] common: Replace #ifdef and #if with if's

2023-04-19 Thread Simon Glass
On Wed, 19 Apr 2023 at 18:11, Nikhil M Jain wrote: > > Avoid using preprocessor compilation directives and instead use simple > logical expressions for better readability since compiler will anyway > optimize out the respective code block if condition is not satisfied. > > Signed-off-by: Nikhil M

Re: [PATCH 1/1] doc: codingstyle: Python coding style

2023-04-19 Thread Simon Glass
On Wed, 19 Apr 2023 at 18:45, Heinrich Schuchardt wrote: > > Indicate that we follow PEP8 and PEP257. > > Signed-off-by: Heinrich Schuchardt > --- > doc/develop/codingstyle.rst | 7 +++ > 1 file changed, 7 insertions(+) > Reviewed-by: Simon Glass

Re: [PATCH v1 1/1] misc: extcon: add MAX14526 MUIC support

2023-04-19 Thread Simon Glass
Hi Svyatoslav, On Wed, 19 Apr 2023 at 12:53, Svyatoslav Ryhel wrote: > > MAX14526 is a powerful extcon chip which allows detection of various > plugs like usb, mhl, uart, headset etc. This version of driver > implements support of AP-usb and CP-usb/uart paths. > > Tested-by: Andreas Westman

Re: [PATCH v1 4/6] video: panel: add Renesas R69328 MIPI DSI panel driver

2023-04-19 Thread Simon Glass
Hi Svyatoslav, On Wed, 19 Apr 2023 at 13:17, Svyatoslav Ryhel wrote: > > Driver adds support for panels with Renesas R69328 IC > > Currently supported compatible is: > - jdi,dx12d100vm0eaa > > Tested-by: Andreas Westman Dorcsak # LG P880 T30 > Tested-by: Svyatoslav Ryhel # LG P895 T30 >

Re: [PATCH v1 2/6] video: bridge: add Solomon SSD2825 DSI/LVDS driver

2023-04-19 Thread Simon Glass
Hi Svyatoslav, On Wed, 19 Apr 2023 at 13:17, Svyatoslav Ryhel wrote: > > SSD2825 is an innovative and cost-effective MIPI Bridge Chip solution > targeting high resolution smartphones. It can convert 24bit RGB > interface into 4-lane MIPI-DSI interface to drive extremely high > resolution display

Re: [PATCH 1/1] sandbox: enable CONFIG_EFI_CAPSULE_AUTHENTICATE

2023-04-19 Thread Simon Glass
Hi Ilias, On Wed, 19 Apr 2023 at 18:05, Ilias Apalodimas wrote: > > On Tue, Apr 18, 2023 at 10:47:24AM -0600, Simon Glass wrote: > > Hi Heinrich, > > > > On Fri, 14 Apr 2023 at 02:39, Heinrich Schuchardt > > wrote: > > > > > > Without CONFIG_EFI_CAPSULE_AUTHENTICATE=y the following tests are

Re: [PATCH 1/1] test: fix pylint warning for capsule tests

2023-04-19 Thread Simon Glass
Hi Heinrich, On Wed, 19 Apr 2023 at 18:30, Heinrich Schuchardt wrote: > > > > On 4/19/23 03:45, Simon Glass wrote: > > Hi Heinrich, > > > > On Fri, 14 Apr 2023 at 02:34, Heinrich Schuchardt > > wrote: > >> > >> Fix pylint warnings like: > >> > >> * Class inherits from object > >> * Missing

Re: [PATCH v1 1/6] video: add lm3533 backlight driver

2023-04-19 Thread Simon Glass
On Wed, 19 Apr 2023 at 13:17, Svyatoslav Ryhel wrote: > > This is basic lm3533 driver only with bank A and > backlight cell support. > > Tested-by: Andreas Westman Dorcsak # LG P880 T30 > Tested-by: Svyatoslav Ryhel # LG P895 T30 > Signed-off-by: Svyatoslav Ryhel > --- > drivers/video/Kconfig

Re: [PATCH v2 0/3] rpi: Convert to standard boot

2023-04-19 Thread Simon Glass
Hi Peter, On Wed, 19 Apr 2023 at 19:42, Peter Robinson wrote: > > Hi Simon, > > On Wed, Apr 19, 2023 at 2:46 AM Simon Glass wrote: > > > > Hi Peter, > > > > On Sun, 2 Apr 2023 at 14:29, Simon Glass wrote: > > > > > > This series moves Raspberry Pi boards over to use standard boot. > > > > > >

Re: [PATCH v1 5/6] video: tegra: add DC based PWM backlight driver

2023-04-19 Thread Simon Glass
On Wed, 19 Apr 2023 at 13:18, Svyatoslav Ryhel wrote: > > DC based PWM backlight is found on some T20 and T30 devices > (HTC One X). This backlight is controlled by Tegra DC and > is adjustable by the DC PM0 or PM1 signal. > > Tested-by: Andreas Westman Dorcsak # HTC One X T30 > Tested-by:

Re: Re: The u-boot supports i2c-over-hid?

2023-04-19 Thread Simon Glass
Hi, On Wed, 19 Apr 2023 at 20:33, skyo...@126.com wrote: > > hi, > For i2c interface keyboard, how should we implement u-boot driver? > > Do you have any suggestions Please try to avoid top posting. See below. > > > > skyo...@126.com > > > From: Simon Glass

Re: [PATCH] gpio-uclass: fix off-by-one in gpio_request_list_by_name_nodev()

2023-04-19 Thread Simon Glass
On Wed, 19 Apr 2023 at 22:11, Rasmus Villemoes wrote: > > By the time we jump to the err label, count represents the number of > gpios we've succesfully requested. So by subtracting one, we fail to > free the most recently requested. > > Signed-off-by: Rasmus Villemoes > --- >

Re: Support for NXP S32K3 Family

2023-04-19 Thread Simon Glass
Hi Ashok, On Wed, 19 Apr 2023 at 21:42, Ashok Kumar wrote: > > Hi Simon, > > Thanks for the reply. > > NXP people said we don't support this feature for S32K family. > > I am just wondering whether I can get any help from the u-boot sources? I would expect you would need to add support for the

Re: [PATCH v5 3/3] regulator: handle different error codes in regulator_set_enable_if_allowed

2023-04-19 Thread Simon Glass
On Thu, 20 Apr 2023 at 01:45, Eugen Hristev wrote: > > The regulator core can return different codes which are not considered > a real error for this function. > Return success in such cases. > > Signed-off-by: Eugen Hristev > --- > Changes in v5: > - this is a new patch > >

[PATCH] binman: Use expanduser instead of HOME

2023-04-19 Thread Simon Glass
There may not be a HOME environment variable, so use the os.expanduser() function instead. Signed-off-by: Simon Glass --- tools/binman/bintool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/binman/bintool.py b/tools/binman/bintool.py index 8fda13ff012..f460243e796

Re: Reading file would overwrite reserved memory. Failed to load 'hello_world.bin - imx7d-pico - Uboot 2022.04

2023-04-19 Thread Simon Glass
+U-Boot Mailing List Hi On Wed, 19 Apr 2023 at 11:32, Neuber Sousa wrote: > > To illustrate what is happening here and what I already said in a previous > email, currently, even Uboot 2021.04 pulled recently (and not last year) does > not work. To illustrate, I posted two files below: > >

[PATCH v1 6/6] video: panel: add generic endeavoru panel

2023-04-19 Thread Svyatoslav Ryhel
Family of panels used by HTC in One X. Though were used variants at least from 3 vendors, this driver provides generic support for all of them. Tested-by: Ion Agorria # HTC One X T30 Sony Tested-by: Svyatoslav Ryhel # HTC One X T30 Sharp Signed-off-by: Svyatoslav Ryhel ---

[PATCH v1 5/6] video: tegra: add DC based PWM backlight driver

2023-04-19 Thread Svyatoslav Ryhel
DC based PWM backlight is found on some T20 and T30 devices (HTC One X). This backlight is controlled by Tegra DC and is adjustable by the DC PM0 or PM1 signal. Tested-by: Andreas Westman Dorcsak # HTC One X T30 Tested-by: Svyatoslav Ryhel # HTC One X T30 Signed-off-by: Svyatoslav Ryhel ---

[PATCH v1 3/6] video: panel: add Renesas R61307 MIPI DSI panel driver

2023-04-19 Thread Svyatoslav Ryhel
R61307 is liquid crystal driver for high-definition amorphous silicon (a-Si) panels and is ideal for tablets and smartphones. Supported compatibles are: - koe,tx13d100vm0eaa - hitachi,tx13d100vm0eaa Tested-by: Andreas Westman Dorcsak # LG P880 T30 Tested-by: Svyatoslav Ryhel # LG P895 T30

[PATCH v1 2/6] video: bridge: add Solomon SSD2825 DSI/LVDS driver

2023-04-19 Thread Svyatoslav Ryhel
SSD2825 is an innovative and cost-effective MIPI Bridge Chip solution targeting high resolution smartphones. It can convert 24bit RGB interface into 4-lane MIPI-DSI interface to drive extremely high resolution display modules of up to 800 x 1366, while supporting AMOLED, a-si LCD or LTPS advanced

[PATCH v1 4/6] video: panel: add Renesas R69328 MIPI DSI panel driver

2023-04-19 Thread Svyatoslav Ryhel
Driver adds support for panels with Renesas R69328 IC Currently supported compatible is: - jdi,dx12d100vm0eaa Tested-by: Andreas Westman Dorcsak # LG P880 T30 Tested-by: Svyatoslav Ryhel # LG P895 T30 Signed-off-by: Svyatoslav Ryhel --- drivers/video/Kconfig | 9 ++

[PATCH v1 1/6] video: add lm3533 backlight driver

2023-04-19 Thread Svyatoslav Ryhel
This is basic lm3533 driver only with bank A and backlight cell support. Tested-by: Andreas Westman Dorcsak # LG P880 T30 Tested-by: Svyatoslav Ryhel # LG P895 T30 Signed-off-by: Svyatoslav Ryhel --- drivers/video/Kconfig| 8 ++ drivers/video/Makefile | 1 +

[PATCH v1 0/6] Add video drivers for endeavoru and p880/p895

2023-04-19 Thread Svyatoslav Ryhel
This patchset contains mostly generic drivers used by endeavoru and p895/p880 (which are currently in the process of merging). Drivers do not contain any device specific parts and mostly can be used by any device with supported hardware. LG P880\P895 related drivers: - lm3533 backlight driver

[PATCH v1 1/1] misc: extcon: add MAX14526 MUIC support

2023-04-19 Thread Svyatoslav Ryhel
MAX14526 is a powerful extcon chip which allows detection of various plugs like usb, mhl, uart, headset etc. This version of driver implements support of AP-usb and CP-usb/uart paths. Tested-by: Andreas Westman Dorcsak # LG P880 T30 Tested-by: Svyatoslav Ryhel # LG P895 T30 Signed-off-by:

[PATCH v1 0/1] Add MAX14526 MUIC driver

2023-04-19 Thread Svyatoslav Ryhel
MAX14526 MUIC is used by LG P880/P895 which are currently in the process of merging. Unfortunately U-Boot has no extcon driver model so I used a MISC model for now. MAX14526 is a powerful extcon device which has the ability to accurately determine plugged devices. In this implementation muic can

Re: [PATCH] rmobile: avoid deprecated srec_cat flags

2023-04-19 Thread Marek Vasut
On 4/19/23 18:30, Ralph Siemsen wrote: On Tue, Apr 18, 2023 at 3:36 PM Marek Vasut wrote: I'm afraid this needs some backward compatibility sreccat version check . Similar to GCC compiler flags presence check. To avoid breaking legacy users. I'll revisit this after the rz/n1 work, which is

Re: [PATCH] rmobile: avoid deprecated srec_cat flags

2023-04-19 Thread Ralph Siemsen
On Tue, Apr 18, 2023 at 3:36 PM Marek Vasut wrote: > I'm afraid this needs some backward compatibility sreccat version check > . Similar to GCC compiler flags presence check. To avoid breaking legacy > users. I'll revisit this after the rz/n1 work, which is more important. Also I noticed that

Re: [PATCH v2] nand: brcmnand: add iproc support

2023-04-19 Thread Dario Binacchi
Hi Linus, On Wed, Apr 19, 2023 at 4:00 PM Linus Walleij wrote: > > On Wed, Apr 19, 2023 at 3:19 PM Dario Binacchi > wrote: > > On Wed, Apr 19, 2023 at 3:04 PM Linus Walleij > > wrote: > > > > > > On Mon, Apr 17, 2023 at 10:37 AM Dario Binacchi > > > wrote: > > > > > > > Applied to nand-next

Re: [PATCH] arch: arm: mach-k3: Delete tifs node in DT fixup

2023-04-19 Thread Nishanth Menon
On 11:43-20230419, Udit Kumar wrote: > This patch deletes tifs DT node as part of fixup. > > TISCI API reported msmc_size, does not include > 64KB reserved size for tifs aka MSMC comms memory. > > As part of fixup, original code uses TISCI API > reported msmc_size as

Re: Support for NXP S32K3 Family

2023-04-19 Thread Ashok Kumar
Hi Simon, Thanks for the reply. NXP people said we don't support this feature for S32K family. I am just wondering whether I can get any help from the u-boot sources? Regards Ashok On 19/04/2023 02:45, Simon Glass wrote: > Hi Ashok, > > On Fri, 14 Apr 2023 at 08:55, Ashok Kumar > wrote: >>

Re: Re: The u-boot supports i2c-over-hid?

2023-04-19 Thread skyo...@126.com
hi, For i2c interface keyboard, how should we implement u-boot driver? Do you have any suggestions skyo...@126.com From: Simon Glass Date: 2023-04-19 09:45 To: skyo...@126.com CC: u-boot Subject: Re: The u-boot supports i2c-over-hid? Hi, +Heinrich Schuchardt +Heiko Schocher On Thu, 13

Re: [PATCH v2] nand: brcmnand: add iproc support

2023-04-19 Thread Linus Walleij
On Wed, Apr 19, 2023 at 3:19 PM Dario Binacchi wrote: > On Wed, Apr 19, 2023 at 3:04 PM Linus Walleij > wrote: > > > > On Mon, Apr 17, 2023 at 10:37 AM Dario Binacchi > > wrote: > > > > > Applied to nand-next ( as well as the patch "mtd: rawnand: nand_base: > > > Handle algorithm selection").

[PATCH v5 3/3] regulator: handle different error codes in regulator_set_enable_if_allowed

2023-04-19 Thread Eugen Hristev
The regulator core can return different codes which are not considered a real error for this function. Return success in such cases. Signed-off-by: Eugen Hristev --- Changes in v5: - this is a new patch drivers/power/regulator/regulator-uclass.c | 6 ++ 1 file changed, 6 insertions(+)

[PATCH v5 2/3] regulator: rename dev_pdata to plat

2023-04-19 Thread Eugen Hristev
Simplify the subsystem by renaming `dev_pdata` to just `plat`. No functional change, just trivial renaming. Suggested-by: Simon Glass Signed-off-by: Eugen Hristev Reviewed-by: Simon Glass --- Changes in v3,v4,v5: - none Changes in v2: - this is a new patch

[PATCH v5 1/3] regulator: implement basic reference counter

2023-04-19 Thread Eugen Hristev
Some devices share a regulator supply, when the first one will request regulator disable, the second device will have it's supply cut off before graciously shutting down. Hence there will be timeouts and other failed operations. Implement a reference counter mechanism similar with what is done in

[PATCH v5 4/6] phy: remove phy-supply related code

2023-04-19 Thread Eugen Hristev
phy-supply is now handled at uclass level. Remove it from the drivers that implement it at the driver level. Suggested-by: Jonas Karlman Signed-off-by: Eugen Hristev --- drivers/phy/meson-g12a-usb2.c | 48 --- drivers/phy/meson-gxbb-usb2.c | 38

[PATCH v5 6/6] phy: Keep balance of counts when ops is missing

2023-04-19 Thread Eugen Hristev
From: Jonas Karlman Fixes: 226fce6108fe ("phy: Track power-on and init counts in uclass") Signed-off-by: Jonas Karlman --- drivers/phy/phy-uclass.c | 80 1 file changed, 39 insertions(+), 41 deletions(-) diff --git a/drivers/phy/phy-uclass.c

[PATCH v5 5/6] phy: rockchip-inno-usb2: add initial support for rk3588 PHY

2023-04-19 Thread Eugen Hristev
Add initial support for the rk3588 PHY variant. The lookup for the host-port reg inside the struct now does a do {} while() instead of a while() {} in order to allow a first check for reg == 0. Co-developed-by: Frank Wang Signed-off-by: Frank Wang Signed-off-by: Eugen Hristev ---

[PATCH v5 3/6] phy: add support for phy-supply

2023-04-19 Thread Eugen Hristev
Some phys require a phy-supply property that is a phandle to a regulator that needs to be enabled for phy operations. Implement basic supply lookup, enable and disabling, if DM_REGULATOR is available. [jo...@kwiboo.se: use regulator_set_enable_if_allowed and disable if power_on ops fails]

[PATCH v5 1/6] ARM: dts: rockchip: rk3588-rock-5b-u-boot: add USB 2.0 host

2023-04-19 Thread Eugen Hristev
Add USB 2.0 host nodes and PHYs. Co-developed-by: William Wu Signed-off-by: William Wu Signed-off-by: Eugen Hristev --- Changes in v5: - none Changes in v4: - removed u-boot,dm-spl on regulator which was useless - moved usb nodes to rk3588s-u-boot-dtsi Changes in v2,v3: - none

[PATCH v5 2/6] configs: rockchip: rock5b-rk3588: enable USB and regulators

2023-04-19 Thread Eugen Hristev
Enable USB command, USB drivers, PHY and regulators, for USB host operations. Signed-off-by: Eugen Hristev --- configs/rock5b-rk3588_defconfig | 17 + 1 file changed, 17 insertions(+) diff --git a/configs/rock5b-rk3588_defconfig b/configs/rock5b-rk3588_defconfig index

Re: [PATCH v2] nand: brcmnand: add iproc support

2023-04-19 Thread Dario Binacchi
Hi Linus, On Wed, Apr 19, 2023 at 3:04 PM Linus Walleij wrote: > > On Mon, Apr 17, 2023 at 10:37 AM Dario Binacchi > wrote: > > > Applied to nand-next ( as well as the patch "mtd: rawnand: nand_base: > > Handle algorithm selection"). > > 1) Sweet! Thanks. > > 2) Did you use the latest versions

Re: [PATCH v2] nand: brcmnand: add iproc support

2023-04-19 Thread Linus Walleij
On Mon, Apr 17, 2023 at 10:37 AM Dario Binacchi wrote: > Applied to nand-next ( as well as the patch "mtd: rawnand: nand_base: > Handle algorithm selection"). 1) Sweet! Thanks. 2) Did you use the latest versions that I resent as part of the NorthStar support?

Re: [RFC] riscv: visionfive2: use OF_BOARD_SETUP

2023-04-19 Thread Matthias Brugger
On 19/04/2023 13:28, Torsten Duwe wrote: U-Boot already has a mechanism to fix up the DT before OS boot. This avoids the excessive duplication of data and work proposed by the explicit separation of 1.2a and 1.3b board revisions. It will also, to a good degree, improve the user experience, as

[RFC] riscv: visionfive2: use OF_BOARD_SETUP

2023-04-19 Thread Torsten Duwe
U-Boot already has a mechanism to fix up the DT before OS boot. This avoids the excessive duplication of data and work proposed by the explicit separation of 1.2a and 1.3b board revisions. It will also, to a good degree, improve the user experience, as pointed out by Matthias. The defconfig

[PATCH] gpio-uclass: fix off-by-one in gpio_request_list_by_name_nodev()

2023-04-19 Thread Rasmus Villemoes
By the time we jump to the err label, count represents the number of gpios we've succesfully requested. So by subtracting one, we fail to free the most recently requested. Signed-off-by: Rasmus Villemoes --- drivers/gpio/gpio-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PULL] Pull request for u-boot master / v2023.07 = u-boot-stm32_20230409​

2023-04-19 Thread Patrice CHOTARD
Hi Tom Please pull the STM32 related fixes for u-boot/master, v2023.07: u-boot-stm32-20230419 CI status: https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/16033 The following changes since commit 5db4972a5bbdbf9e3af48ffc9bc4fec73b7b6a79: Merge tag 'u-boot-nand-20230417

Re: [PATCH 1/6] misc: add Qualcomm GENI SE QUP device driver

2023-04-19 Thread Vladimir Zapolskiy
Hi Simon, On 4/19/23 04:45, Simon Glass wrote: Hi Vladimir, On Wed, 12 Apr 2023 at 06:45, Vladimir Zapolskiy wrote: On 3/31/23 04:23, Konrad Dybcio wrote: On 30.03.2023 21:47, Vladimir Zapolskiy wrote: This change adds a Qualcomm GENI SE QUP device driver as a wrapper for actually

Re: [PATCH] spi: stm32_qspi: Remove useless struct stm32_qspi_flash

2023-04-19 Thread Patrice CHOTARD
On 4/17/23 17:32, Patrick DELAUNAY wrote: > Hi, > > On 4/3/23 08:04, Patrice Chotard wrote: >> Currently, in stm32_qspi_claim_bus(), QSPI_CR and QSPI_DCR registers >> are saved in stm32_ospi_flash struct on first flash memory initialization >> and restored on each flash accesses. >> >> As the

Re: [PATCH] ARM: dts: stm32: Add QSPI support on STM32MP13x SoC family

2023-04-19 Thread Patrice CHOTARD
On 4/3/23 09:45, Patrick DELAUNAY wrote: > Hi, > > On 4/3/23 08:04, Patrice Chotard wrote: >> Add QSPI support on STM32MP13x SoC family >> >> Signed-off-by: Patrice Chotard >> --- >> >>   arch/arm/dts/stm32mp131.dtsi | 15 +++ >>   1 file changed, 15 insertions(+) >> >> diff --git

[PATCH v2 3/3] firmware: zynqmp: Remove extraordinary return value

2023-04-19 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Return a common -EACCES error value instead of a positive private error value XST_PM_NO_ACCESS (2002) in zynqmp_pmufw_load_config_object function if the config object is not loadable to simplify the error checking. Signed-off-by: Stefan Herbrechtsmeier --- Changes

[PATCH v2 2/3] firmware: zynqmp: Mask expected and show unexpected warning

2023-04-19 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Mask the expected and show the unexpected warning "No permission to change config object" for PMUFW_CFG_OBJ_SUPPORT_NODE because this node is used to detect if further zynqmp_pmufw_node function calls should be skipped. Signed-off-by: Stefan Herbrechtsmeier ---

[PATCH v2 1/3] firmware: zynqmp: Add config object support macro

2023-04-19 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier The driver uses a specific node id to detect if the pmufw support config objects. Add a macro for the node id to ensure that it match at different locations. Signed-off-by: Stefan Herbrechtsmeier --- Changes in v2: - Added drivers/firmware/firmware-zynqmp.c | 9

Re: [PATCH 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices

2023-04-19 Thread Neha Malcom Francis
Hi Krzysztof On 18/04/23 21:40, Krzysztof Kozlowski wrote: On 17/04/2023 10:56, Neha Malcom Francis wrote: Hi Krzysztof On 14/04/23 17:10, Krzysztof Kozlowski wrote: On 14/04/2023 12:52, Neha Malcom Francis wrote: Document the binding for TI K3 ESM (Error Signaling Module) block.

Re: [PATCH] Revert "spi: zynq_qspi: Use dummy buswidth in dummy byte calculation"

2023-04-19 Thread Stefan Herbrechtsmeier
Hi Ashok, have you test your patches with 1-4-4 mode? I think your patches are a nop for 1-1-4 mode and break other modes: spi-nor-core op.dummy.nbytes = (nor->read_dummy * op.dummy.buswidth) / 8; zynq_qspi: dummy_bytes = op->dummy.nbytes / op->dummy.buswidth; => dummy_bytes =

Re: [PATCH] stm32mp: fix various array bounds checks

2023-04-19 Thread Patrice CHOTARD
On 3/24/23 10:39, Patrice CHOTARD wrote: > Hi Rasmus > > On 3/24/23 08:55, Rasmus Villemoes wrote: >> In all these cases, the index on the LHS is immediately afterwards >> used to access the array appearing in the ARRAY_SIZE() on the RHS - so >> if that index is equal to the array size, we'll

Re: [PATCH] mtd: rawnand: stm32_fmc2: remove unsupported EDO mode

2023-04-19 Thread Patrice CHOTARD
On 4/11/23 08:53, Patrice CHOTARD wrote: > Hi Christophe > > On 3/30/23 11:16, Christophe Kerello wrote: >> Remove the EDO mode support from as the FMC2 controller does not >> support the feature. >> >> Signed-off-by: Christophe Kerello >> --- >> >> drivers/mtd/nand/raw/stm32_fmc2_nand.c | 3

Re: [PATCH] ARM: dts: stm32: add FMC support on STM32MP13x SoC family

2023-04-19 Thread Patrice CHOTARD
On 4/11/23 08:53, Patrice CHOTARD wrote: > Hi Christophe > > On 3/30/23 11:26, Christophe Kerello wrote: >> Add FMC support on STM32MP13x SoC family. >> >> Signed-off-by: Christophe Kerello >> --- >> >> arch/arm/dts/stm32mp131.dtsi | 33 + >> 1 file changed,

Re: [PATCH 1/2] firmware: zynqmp: Mask expected and show unexpected warning

2023-04-19 Thread Stefan Herbrechtsmeier
Hi Michal, Am 17.04.2023 um 12:16 schrieb Michal Simek: On 4/3/23 15:34, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Mask the expected and show the unexpected warning "No permission to change config object" for NODE_OCM_BANK_0 because this node is used to detect if further

Re: [PATCH] configs: stm32mp15: increase malloc size for pre-reloc

2023-04-19 Thread Patrice CHOTARD
On 4/7/23 11:37, Patrick Delaunay wrote: > The early malloc usage increased so the associated defined > CONFIG_SYS_MALLOC_F_LEN need to be increased. > > For example, for stm32mp15_defconfig and > stm32mp157c-dk2-scmi.dtsi, we have: > > Early malloc usage: 280b8 / 8 > > Signed-off-by:

Re: [PATCH] pinctrl: pinctrl_stm32: Add slew rate support for stm32_pinctrl_get_pin_muxing()

2023-04-19 Thread Patrice CHOTARD
On 3/30/23 13:29, Patrick DELAUNAY wrote: > Hi, > > On 3/27/23 09:46, Patrice Chotard wrote: >> For debug purpose, it should be useful to indicate the slew rate for >> each pins. >> Add ospeed register information for pins which are configured in >> either alternate function or gpio output. >>

Re: [PATCH 2/2] configs: stm32mp13: Increase usb_pgood_delay for ST boards

2023-04-19 Thread Patrice CHOTARD
On 3/16/23 08:03, Patrice Chotard wrote: > With some USB device, the current usb_pgood_delay value is not long > enough to ensure a correct detection. > > Signed-off-by: Patrice Chotard > --- > > include/configs/stm32mp13_st_common.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [PATCH 1/2] configs: stm32mp15: Add usb_pgood_delay for ST boards

2023-04-19 Thread Patrice CHOTARD
On 3/16/23 08:03, Patrice Chotard wrote: > Add usb_pgood_delay to ensure a correct detection of USB devices. > > Signed-off-by: Patrice Chotard > --- > > include/configs/stm32mp15_st_common.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/stm32mp15_st_common.h >

Re: [PATCH v2 0/3] rpi: Convert to standard boot

2023-04-19 Thread Peter Robinson
Hi Simon, On Wed, Apr 19, 2023 at 2:46 AM Simon Glass wrote: > > Hi Peter, > > On Sun, 2 Apr 2023 at 14:29, Simon Glass wrote: > > > > This series moves Raspberry Pi boards over to use standard boot. > > > > It also moves rpi over to use a text-based environment. Unfortunately it > > is not

Re: [PATCH 4/4] common: spl: spl: Remove video driver before u-boot proper

2023-04-19 Thread Nikhil M Jain
Hi Simon, On 19/04/23 07:16, Simon Glass wrote: Hi Nikhil, On Mon, 10 Apr 2023 at 02:21, Nikhil M Jain wrote: Add method to remove video driver before loading u-boot proper. When bootstage changes from SPL to u-boot proper, noo method is called to remove video driver, and at u-boot proper

Re: [PATCH v1 4/4] board: asus: grouper: add Google Nexus 7 (2012) support

2023-04-19 Thread Svyatoslav Ryhel
Hello Simon, ср, 19 квіт. 2023 р. о 04:47 Simon Glass пише: > > Hi Svyatoslav, > > On Wed, 12 Apr 2023 at 13:50, Svyatoslav Ryhel wrote: > > > > Nexus 7 is a mini tablet computer co-developed by Google and Asus > > that runs the Android operating system. The Nexus 7 features a 7" > > display, an

[PATCH] arch: arm: mach-k3: Delete tifs node in DT fixup

2023-04-19 Thread Udit Kumar
This patch deletes tifs DT node as part of fixup. TISCI API reported msmc_size, does not include 64KB reserved size for tifs aka MSMC comms memory. As part of fixup, original code uses TISCI API reported msmc_size as size for sram DT node. tifs node is similar to l3-cache, which should hold

Re: [PATCH 00/38] x86: Use qemu-x86_64 to boot EFI installers

2023-04-19 Thread Simon Glass
Hi Bin, On Thu, 30 Mar 2023 at 15:32, Simon Glass wrote: > > This series adds various minor features so that qemu-x86_64 can boot the > Ubuntu 2022.04 installer using a virtio device: > > qemu-system-x86_64 -M pc -drive format=raw,file=root.img > -bios /tmp/b/qemu-x86_64/u-boot.rom >

Re: [PATCH 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices

2023-04-19 Thread Krzysztof Kozlowski
On 17/04/2023 10:56, Neha Malcom Francis wrote: > Hi Krzysztof > > On 14/04/23 17:10, Krzysztof Kozlowski wrote: >> On 14/04/2023 12:52, Neha Malcom Francis wrote: >>> Document the binding for TI K3 ESM (Error Signaling Module) block. >>> >>> Signed-off-by: Neha Malcom Francis >>> --- >>>

[PATCH v2 00/18] x86: Various fixes for chromebooks

2023-04-19 Thread Simon Glass
This adds some fixes for x86-based Chromebook builds which have picked up a few problems recently. With this, chromebook_link/64, chromebook_samus and chromebook_coral work correctly. Changes in v2: - Add new patch to set up LPC only after relocation - Add new patch to tidy up address for

Re: [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation

2023-04-19 Thread Frieder Schrempf
On 18.04.23 20:24, Michael Nazzareno Trimarchi wrote: > Hi > > On Tue, Apr 18, 2023 at 8:20 PM Mikhail Kshevetskiy > wrote: >> >> I can try to resend patches (flash drivers synced with linux-6.1). >> Unfortunately I am not sure I will be able to do it after changes in our >> mail system. > > I

Re: [PATCH] riscv: Support riscv64 image type

2023-04-19 Thread Rick Chen
Hi Simon, > Hi Rick, > > On Mon, 10 Apr 2023 at 01:26, Rick Chen wrote: > > > > Allow U-Boot to load 32 or 64 bits RISC-V Kernel Image > > distinguishly. It helps to avoid someone maybe make a mistake > > to run 32-bit U-Boot to load 64-bit kernel. > > > > Signed-off-by: Rick Chen > > > > --- >

[PATCH 1/1] doc: codingstyle: Python coding style

2023-04-19 Thread Heinrich Schuchardt
Indicate that we follow PEP8 and PEP257. Signed-off-by: Heinrich Schuchardt --- doc/develop/codingstyle.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/develop/codingstyle.rst b/doc/develop/codingstyle.rst index 1d5d0192b3..3d05a6b988 100644 --- a/doc/develop/codingstyle.rst

Re: [PATCH 1/1] test: fix pylint warning for capsule tests

2023-04-19 Thread Heinrich Schuchardt
On 4/19/23 03:45, Simon Glass wrote: Hi Heinrich, On Fri, 14 Apr 2023 at 02:34, Heinrich Schuchardt wrote: Fix pylint warnings like: * Class inherits from object * Missing module description * Missing class description * First line of comment blank * Superfluous imports Signed-off-by:

[PATCH V8 14/14] common: Replace #ifdef and #if with if's

2023-04-19 Thread Nikhil M Jain
Avoid using preprocessor compilation directives and instead use simple logical expressions for better readability since compiler will anyway optimize out the respective code block if condition is not satisfied. Signed-off-by: Nikhil M Jain --- V8: - Update as per review comments. - Call

[PATCH V8 13/14] board: ti: am62x: evm: OSPI support for splash screen

2023-04-19 Thread Nikhil M Jain
Add ospi boot media support to load splash image from OSPI memory, add offset to read image from ospi and necessary flags defininig type of storage and storage device. Use CONFIG_IS_ENBALED to use the splash locations at SPL and u-boot proper. Signed-off-by: Nikhil M Jain Reviewed-by: Simon

[PATCH V8 12/14] include: Enable video related global data variable and splash at SPL

2023-04-19 Thread Nikhil M Jain
To include video related global data variables and splash functions at SPL and u-boot proper, use CONFIG_IS_ENABLED. Replace CONFIG_CMD_BMP with CONFIG_BMP to enable splash_display function at u-boot proper and SPL. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar Reviewed-by: Simon

[PATCH V8 11/14] common: Enable splash functions at SPL

2023-04-19 Thread Nikhil M Jain
To support splash screen at both u-boot proper and SPL use CONFIG_IS_ENABLED and CONFIG_VAL to check for video related Kconfigs at respective stages. Replace CONFIG_CMD_BMP with CONFIG_BMP to enable splash_display function at u-boot proper and SPL. Signed-off-by: Nikhil M Jain Reviewed-by:

[PATCH V8 09/14] common: Makefile: Rule to compile bmp.c

2023-04-19 Thread Nikhil M Jain
Add rule to compile bmp.c at SPL and u-boot proper when CONFIG_SPL_BMP and CONFIG_BMP are defined. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar Reviewed-by: Simon Glass Tested-by: Simon Glass --- V8: - No change. V7: - Add Reviewed-by and Tested-by tag. V6: - Add Reviewed-by

[PATCH V8 08/14] cmd: bmp: Split bmp commands and functions

2023-04-19 Thread Nikhil M Jain
To enable splash screen at SPL, need to compile cmd/bmp.c which also includes bmp commands, since SPL doesn't use commands split bmp.c into common/bmp.c which includes all bmp functions and cmd/bmp.c which only contains bmp commands. Add function delclaration for bmp_info in video.h.

[PATCH V8 10/14] drivers: video: Enable necessary video functions at SPL

2023-04-19 Thread Nikhil M Jain
To support video driver at SPL use CONFIG_IS_ENABLED and CONFIG_VAL, which checks for stage specific configs and thus enables video support at respective stage. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar Reviewed-by: Simon Glass Tested-by: Simon Glass --- V8: - No change. V7:

[PATCH V8 05/14] drivers: video: tidss: Makefile: Add condition to compile TIDSS at SPL

2023-04-19 Thread Nikhil M Jain
To enable TIDSS driver only at SPL stage add rule to compile the TIDSS video driver. CONFIG_$(SPL_)VIDEO_TIDSS will compile tidss_drv, at SPL only if CONFIG_SPL_VIDEO_TIDSS is defined and at u-boot proper if CONFIG_VIDEO_TIDSS is defined. Signed-off-by: Nikhil M Jain Reviewed-by: Simon Glass

[PATCH V8 06/14] common: Makefile: Add rule to compile splash and splash_source at SPL

2023-04-19 Thread Nikhil M Jain
To enable splash screen and loading bmp from boot media, add rules to compile splash.c and splash_source.c at SPL stage only when CONFIG_SPL_SPLASH_SCREEN and CONFIG_SPL_SPLASH_SOURCE are defined. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar Reviewed-by: Simon Glass --- V8: - No

[PATCH V8 07/14] common: Kconfig: Add BMP configs

2023-04-19 Thread Nikhil M Jain
Add CONFIG_BMP and CONFIG_SPL_BMP which enable displaying bmp images at u-boot proper and SPL. Signed-off-by: Nikhil M Jain Reviewed-by: Simon Glass Reviewed-by: Devarsh Thakkar --- V8: - No change. V7: - No change. V6: - Added Reviewed-by tag. V5: - Added Reviewed-by tag. V4: - No change.

[PATCH V8 04/14] drivers: video: Makefile: Rule to compile necessary video driver files

2023-04-19 Thread Nikhil M Jain
To enable video driver at SPL, need to compile video-uclass, vidconsole-uclass, backlight-uclass, panel-uclass, simple-panel, add rules to compile them at SPL and u-boot proper. To support splash_display at SPL, need to compile video-bmp, add rule to compile at SPL and u-boot proper.

  1   2   >