Re: [PATCH 0/7] mtd: nand: brcmnand: Backported fixes from Linux

2024-09-27 Thread Michael Nazzareno Trimarchi
Hi Il sab 28 set 2024, 00:10 Linus Walleij ha scritto: > Hi Dario, > > On Wed, Sep 11, 2024 at 9:11 AM Linus Walleij > wrote: > > > These are a number of assorted upstream Linux fixes to the > > BRCMNAND driver that I have backported in an attempt to get > > BRCMBCA working with U-Boot (still n

Re: [PATCH 2/9] ARM: dts: socfpga: add Enclustra Intel AA1

2024-09-27 Thread Lothar Rubusch
On Fri, Sep 27, 2024 at 1:19 AM Marek Vasut wrote: > > On 9/27/24 12:53 AM, Lothar Rubusch wrote: > > On Thu, Sep 26, 2024 at 3:36 AM Marek Vasut wrote: > >> > >> On 9/26/24 12:49 AM, Lothar Rubusch wrote: > >> > >> Hi, > > [...] > >>> Shall I add the files to my DTS patches and ask for upstreami

Re: [PATCH v6 1/6] usb: tcpm: add core framework

2024-09-27 Thread Maxim Kiselev
Hi Sebastian, First of all I want to thank you for your impressive work. чт, 5 сент. 2024 г. в 18:26, Sebastian Reichel : > > This adds TCPM framework in preparation for fusb302 support, which can > handle USB power delivery messages. This is needed to solve issues with > devices, that are running

[PATCH] binman: add fast authentication method for i.MX8M signing

2024-09-27 Thread Brian Ruley
Using the PKI tree with SRKs as intermediate CA isn't necessary or even desirable in some situations (boot time, for example). Add the possbility to use the "fast authentication" method where the image and CSF are both signed using the SRK [1, p.63]. [1] https://community.nxp.com/pwmxy87654/attac

Re: [PATCH v4 14/35] efi_loader: Allocate and write ACPI tables

2024-09-27 Thread Simon Glass
Hi Ilias, On Fri, 27 Sept 2024 at 07:15, Ilias Apalodimas wrote: > > [...] > > > > > > > > > in one place with 'bloblist list' > > > > > > > > > > > > > > > > > > > > > > So what's the consent and the next step here? > > > > > > > Is the current code OK as is, as it works with both BLOBLIST and

Re: [PATCH 00/27] led: Remove old status-LED code

2024-09-27 Thread Peter Robinson
Hi Simon, > There has been an LED framework in U-Boot which uses driver model for > about 9 years now. Recent work is underway to improve it and provide > more features. It is probably a good time to drop the old code, which > is only used by 5 boards: > >./tools/qconfig.py -f LED_STATUS >

Re: [PATCH v6 2/6] usb: tcpm: fusb302: add driver

2024-09-27 Thread Maxim Kiselev
чт, 5 сент. 2024 г. в 18:26, Sebastian Reichel : > > Now that the TCPM framework exists we can introduce fusb302 > driver using it. This chip is a very common USB-C controller > chip with PD support, which can be found in the Radxa Rock 5B > among many other boards. Apart from Power Delivery, it al

Re: [PATCH 0/7] mtd: nand: brcmnand: Backported fixes from Linux

2024-09-27 Thread Linus Walleij
Hi Dario, On Wed, Sep 11, 2024 at 9:11 AM Linus Walleij wrote: > These are a number of assorted upstream Linux fixes to the > BRCMNAND driver that I have backported in an attempt to get > BRCMBCA working with U-Boot (still not there). The patches are ACKed and tested, could you merge them, or s

Re: [PATCH v2 1/7] usb: onboard-hub: Add reset-gpio support

2024-09-27 Thread Marek Vasut
On 9/27/24 9:01 AM, Venkatesh Yadav Abbarapu wrote: [...] @@ -30,7 +40,24 @@ static int usb_onboard_hub_probe(struct udevice *dev) if (ret) dev_err(dev, "can't enable vdd-supply: %d\n", ret); - return ret; + hub->reset_gpio = devm_gpiod_get_optional(dev, "reset

Re: [PATCH v2 4/7] usb: onboard-hub: Add i2c initialization for usb5744 hub

2024-09-27 Thread Marek Vasut
On 9/27/24 9:01 AM, Venkatesh Yadav Abbarapu wrote: [...] struct onboard_hub { struct udevice *vdd; struct gpio_desc *reset_gpio; @@ -21,8 +27,86 @@ struct onboard_hub { struct onboard_hub_data { unsigned long reset_us; unsigned long power_on_delay_us; +

Re: [PATCH v2 5/7] usb: onboard-hub: Bail out if peer hub is already probed

2024-09-27 Thread Marek Vasut
On 9/27/24 9:01 AM, Venkatesh Yadav Abbarapu wrote: The .bind function is implemented to bind the correct "half" of the hub that the driver wants to bind, and returning -ENODEV for the other "half". Signed-off-by: Venkatesh Yadav Abbarapu --- common/usb_onboard_hub.c | 20

[PATCH 3/3] arm64: dts: imx: Switch to using upstream DT on DH i.MX8MP DHCOM PDK2/PDK3

2024-09-27 Thread Marek Vasut
Enable OF_UPSTREAM to use upstream DT and add freescale/ prefix to the DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/ including *-u-boot.dtsi and DTBOs from arch/$(ARCH)/dts/ directory. Signed-off-by: Marek Vasut --- Cc: "NXP i.MX U-Boot Team" Cc: Caleb Connolly Cc:

[PATCH 2/3] dts: Add ability to build DTOs only from arch/$(ARCH)/dts

2024-09-27 Thread Marek Vasut
Currently the enablement of OF_UPSTREAM results on the build system searching for DTs only in dts/upstream/ . There are platforms which use U-Boot specific DTBOs applied on top of U-Boot control DT during SPL stage, and source DTs for these are located in arch/$(ARCH)/dtb. Add dedicated 'dtbos' ta

[PATCH 1/3] dts: Deduplicate dtbs target

2024-09-27 Thread Marek Vasut
The dtbs: target is almost identical in all architecture Makefiles. All architecture Makefiles include scripts/Makefile.dts . Deduplicate the dtbs: target into scripts/Makefile.dts . No functional change. Signed-off-by: Marek Vasut --- Cc: "NXP i.MX U-Boot Team" Cc: Caleb Connolly Cc: Christoph

Re: [PATCH v2 09/18] armv8: Support not having separate BSS

2024-09-27 Thread Ilias Apalodimas
On Fri, 27 Sept 2024 at 00:53, Simon Glass wrote: > > Hi Ilias, > > On Wed, 25 Sept 2024 at 15:40, Ilias Apalodimas > wrote: > > > > Hi Simon, > > > > On Wed, 25 Sept 2024 at 15:48, Simon Glass wrote: > > > > > > Hi Ilias, > > > > > > On Mon, 23 Sept 2024 at 11:49, Ilias Apalodimas > > > wrote:

Re: [PATCH] binman: add fast authentication method for i.MX8M signing

2024-09-27 Thread Tom Rini
On Fri, Sep 27, 2024 at 10:50:29AM -0600, Simon Glass wrote: > Hi, > > On Fri, 27 Sept 2024 at 06:42, Brian Ruley > wrote: > > > > Using the PKI tree with SRKs as intermediate CA isn't necessary or even > > desirable in some situations (boot time, for example). Add the possbility > > to use the

i.MX8/9: question about unused DDR PHY trained CSR board array

2024-09-27 Thread Ahmad Fatoum
Hello Peng, Looking at the DDR setup code for i.MX8M and i.MX9 that you had contributed, I am wondering about struct dram_cfg_param::ddrphy_trained_csr and the global ddrphy_trained_csr array. struct dram_cfg_param::ddrphy_trained_csr is presumably generated by the i.MX DDR tool and it seems popu

[PATCH 1/2] arm64: zynqmp: Print an error for split to lock mode switch

2024-09-27 Thread Padmarao Begari
The zynqmp tcminit crashes the U-Boot when switching from r5-mode "split" to "lockstep" instead it should throw an error. When cpu is enabled, the check_tcm_mode() function checks if the previous mode is "split", switch mode is "lockstep" then it returns the error code and the initialize_tcm() func

Re: [PATCH] cmd/mem.c: fix undefined behavior in mem cmp

2024-09-27 Thread Rasmus Villemoes
Quentin Schulz writes: > From: Quentin Schulz > > My linter complains that "When using void pointers in calculations, the > behaviour is undefined". > > GCC does say that "In GNU C, addition and subtraction operations are > supported on pointers to void"[1] but this hints at this only being > su

Re: [PATCH v4 14/35] efi_loader: Allocate and write ACPI tables

2024-09-27 Thread Ilias Apalodimas
On Fri, 27 Sept 2024 at 16:14, Ilias Apalodimas wrote: > > [...] > > > > > > > > > in one place with 'bloblist list' > > > > > > > > > > > > > > > > > > > > > > So what's the consent and the next step here? > > > > > > > Is the current code OK as is, as it works with both BLOBLIST and > > > > > >

[PATCH] cmd/mem.c: fix undefined behavior in mem cmp

2024-09-27 Thread Quentin Schulz
if ((ngood % (64 << 10)) == 0) --- base-commit: 56b47b8b6a09c777e74fe6c52512c832691169aa change-id: 20240927-cmd-mem-undefined-a4368d58b5b6 Best regards, -- Quentin Schulz

Re: [PATCH] binman: add fast authentication method for i.MX8M signing

2024-09-27 Thread Simon Glass
Hi, On Fri, 27 Sept 2024 at 06:42, Brian Ruley wrote: > > Using the PKI tree with SRKs as intermediate CA isn't necessary or even > desirable in some situations (boot time, for example). Add the possbility > to use the "fast authentication" method where the image and CSF are both > signed using t

Re: [PATCH 00/27] led: Remove old status-LED code

2024-09-27 Thread Simon Glass
Hi Peter, On Fri, 27 Sept 2024 at 09:52, Peter Robinson wrote: > > Hi Simon, > > > There has been an LED framework in U-Boot which uses driver model for > > about 9 years now. Recent work is underway to improve it and provide > > more features. It is probably a good time to drop the old code, whi

Re: [PATCH v6 09/12] efi_loader: Add a test app

2024-09-27 Thread Simon Glass
Hi Ilias, On Fri, 27 Sept 2024 at 07:51, Ilias Apalodimas wrote: > > Hi Simon, > > On Fri, 27 Sept 2024 at 01:04, Simon Glass wrote: > > > > Add a simple app to use for testing. This is intended to do whatever it > > needs to for testing purposes. For now it just prints a message and > > exits b

Re: [PATCH v2 3/3] board: ti: am62px: Add android bootflow support

2024-09-27 Thread Guillaume LA ROQUE
Hi Bryan, Le 16/09/2024 à 15:27, Bryan Brattlof a écrit : Hi Guillaume! On September 12, 2024 thus sayeth Guillaume La Roque: From: Mattijs Korpershoek When CONFIG_BOOTMETH_ANDROID is set, enable Android boot flow support. To build for AM62Px for Android, we can re-use the am62x_a53_android

Re: [PATCH v4 14/35] efi_loader: Allocate and write ACPI tables

2024-09-27 Thread Simon Glass
Hi Ilias, On Fri, 27 Sept 2024 at 05:30, Ilias Apalodimas wrote: > > On Fri, 27 Sept 2024 at 13:53, Simon Glass wrote: > > > > Hi Ilias, > > > > On Thu, 26 Sept 2024 at 13:18, Ilias Apalodimas > > wrote: > > > > > > On Thu, 26 Sept 2024 at 14:04, Simon Glass wrote: > > > > > > > > Hi Patrick,

[PATCH] net: recv(): return -EAGAIN instead of 0 when no cleanup is expected

2024-09-27 Thread Jerome Forissier
Some drivers do not behave properly when free_pkt() is called with a length of zero. It is an issue I observed when developing the lwIP series [1] (see "QEMU CI tests for r2dplus_i82557c, r2dplus_rtl8139" in the change log) and which I fixed incorrectly by not calling free_pkt() when recv() returns

Re: [PATCH v6 09/12] efi_loader: Add a test app

2024-09-27 Thread Ilias Apalodimas
Hi Simon, On Fri, 27 Sept 2024 at 01:04, Simon Glass wrote: > > Add a simple app to use for testing. This is intended to do whatever it > needs to for testing purposes. For now it just prints a message and > exits boot services. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > >

Re: [PATCH v4 14/35] efi_loader: Allocate and write ACPI tables

2024-09-27 Thread Tom Rini
On Fri, Sep 27, 2024 at 04:14:55PM +0300, Ilias Apalodimas wrote: [snip] > > Well, I suppose so. But if it doesn't > > matter, why is Sughosh spending all this time solving the problem? > > First of all, we got multiple asks from Tom saying LMB wasn't doing > all that it should for a long time an

[PATCH 0/2] arm64: zynqmp: Update zynqmp tcminit mode

2024-09-27 Thread Padmarao Begari
When cpu is enabled, the zynqmp tcminit throws an error message when switching from r5-mode "split" to "lockstep". When cpu is disabled, the zynqmp tcminit switch from r5-mode "split" to "lockstep". The mode value is assigned based on string compare for "lockstep", "0" or "split", "1". Padmarao Be

[PATCH 2/2] arm64: zynqmp: Fix tcminit mode value based on argv

2024-09-27 Thread Padmarao Begari
The RPU pytest introduced by commit d5970290691b ("test/py: zynqmp_rpu: Add test for loading RPU apps") expects 3rd parameter as string not a number that's why extend command to actually handle both. The issue with existing code is that when any non number string is passed hextoul returns 0. For ba

Re: [PATCH 04/16] event: add event to notify lmb memory map changes

2024-09-27 Thread Simon Glass
Hi Sughosh, On Thu, 26 Sept 2024 at 14:29, Sughosh Ganu wrote: > > On Thu, 26 Sept 2024 at 16:38, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Thu, 26 Sept 2024 at 09:12, Sughosh Ganu wrote: > > > > > > On Wed, 25 Sept 2024 at 18:23, Simon Glass wrote: > > > > > > > > Hi Sughosh, > > > >

Re: [PATCH v4 14/35] efi_loader: Allocate and write ACPI tables

2024-09-27 Thread Ilias Apalodimas
[...] > > > > > > > in one place with 'bloblist list' > > > > > > > > > > > > > > > > > > > So what's the consent and the next step here? > > > > > > Is the current code OK as is, as it works with both BLOBLIST and > > > > > > without? > > > > > > Should I drop support for one or the other? > > >

Re: [PATCH 04/16] event: add event to notify lmb memory map changes

2024-09-27 Thread Simon Glass
Hi Sughosh, On Fri, 27 Sept 2024 at 05:01, Sughosh Ganu wrote: > > On Fri, 27 Sept 2024 at 16:12, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Thu, 26 Sept 2024 at 14:29, Sughosh Ganu wrote: > > > > > > On Thu, 26 Sept 2024 at 16:38, Simon Glass wrote: > > > > > > > > Hi Sughosh, > > > >

Re: [PATCH v6 05/12] efi_loader: Show the vendor in helloworld

2024-09-27 Thread Simon Glass
Hi Ilias, On Fri, 27 Sept 2024 at 06:00, Ilias Apalodimas wrote: > > Hi Simon > > > On Fri, 27 Sept 2024 at 01:01, Simon Glass wrote: > > > > Show the vendor name so it is clear which firmware is being used, e.g. > > whether U-Boot is providing the boot services. > > > > Signed-off-by: Simon Gla

Re: [PATCH 02/16] lmb: add a flag to allow suppressing memory map change notification

2024-09-27 Thread Simon Glass
Hi Ilias, On Fri, 27 Sept 2024 at 05:08, Ilias Apalodimas wrote: > > Hi Simon, > > On Thu, 19 Sept 2024 at 17:12, Simon Glass wrote: > > > > Hi, > > > > On Tue, 17 Sept 2024 at 13:55, Sughosh Ganu wrote: > > > > > > On Sat, 14 Sept 2024 at 20:14, Heinrich Schuchardt > > > wrote: > > > > > > >

Re: [PATCH 1/4] rockchip: rk3399-roc-pc: Hook sysreset gpio to enable full reset

2024-09-27 Thread Paul Kocialkowski
Le Fri 27 Sep 24, 12:07, Quentin Schulz a écrit : > > > > diff --git a/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi > > > > b/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi > > > > index aecf7dbe383c..883d399a06a3 100644 > > > > --- a/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi > > > > +++ b/arch/arm/dts/rk3399-roc-

Re: [PATCH 19/27] mx23_olinuxino: Drop status-LED code

2024-09-27 Thread Simon Glass
Hi Marek, On Fri, 27 Sept 2024 at 00:20, Marek Vasut wrote: > > On 9/27/24 12:10 AM, Simon Glass wrote: > > Hi Marek, > > Hello Simon, > > > On Thu, 26 Sept 2024 at 23:40, Marek Vasut wrote: > >> > >> On 9/26/24 10:44 PM, Simon Glass wrote: > >>> This is not used anymore, so drop it. > >>> > >>>

Re: [PATCH v6 05/12] efi_loader: Show the vendor in helloworld

2024-09-27 Thread Ilias Apalodimas
Hi Simon On Fri, 27 Sept 2024 at 01:01, Simon Glass wrote: > > Show the vendor name so it is clear which firmware is being used, e.g. > whether U-Boot is providing the boot services. > > Signed-off-by: Simon Glass I already sent my r-b for this. [0]. I am not sure Heinrich remarks were covered

Re: [PATCH v4 14/35] efi_loader: Allocate and write ACPI tables

2024-09-27 Thread Ilias Apalodimas
On Fri, 27 Sept 2024 at 13:53, Simon Glass wrote: > > Hi Ilias, > > On Thu, 26 Sept 2024 at 13:18, Ilias Apalodimas > wrote: > > > > On Thu, 26 Sept 2024 at 14:04, Simon Glass wrote: > > > > > > Hi Patrick, > > > > > > On Thu, 26 Sept 2024 at 10:01, Patrick Rudolph > > > wrote: > > > > > > > >

Re: [PATCH 02/16] lmb: add a flag to allow suppressing memory map change notification

2024-09-27 Thread Ilias Apalodimas
Hi Simon, On Thu, 19 Sept 2024 at 17:12, Simon Glass wrote: > > Hi, > > On Tue, 17 Sept 2024 at 13:55, Sughosh Ganu wrote: > > > > On Sat, 14 Sept 2024 at 20:14, Heinrich Schuchardt > > wrote: > > > > > > On 9/5/24 10:27, Sughosh Ganu wrote: > > > > Add a flag LMB_NONOTIFY that can be passed t

Re: [PATCH 19/27] mx23_olinuxino: Drop status-LED code

2024-09-27 Thread Marek Vasut
On 9/27/24 12:43 PM, Simon Glass wrote: Hi Marek, Hi, On Fri, 27 Sept 2024 at 00:20, Marek Vasut wrote: On 9/27/24 12:10 AM, Simon Glass wrote: Hi Marek, Hello Simon, On Thu, 26 Sept 2024 at 23:40, Marek Vasut wrote: On 9/26/24 10:44 PM, Simon Glass wrote: This is not used anymore

Re: [PATCH 04/16] event: add event to notify lmb memory map changes

2024-09-27 Thread Sughosh Ganu
On Fri, 27 Sept 2024 at 16:12, Simon Glass wrote: > > Hi Sughosh, > > On Thu, 26 Sept 2024 at 14:29, Sughosh Ganu wrote: > > > > On Thu, 26 Sept 2024 at 16:38, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Thu, 26 Sept 2024 at 09:12, Sughosh Ganu > > > wrote: > > > > > > > > On Wed

Re: [PATCH v4 14/35] efi_loader: Allocate and write ACPI tables

2024-09-27 Thread Simon Glass
Hi Ilias, On Thu, 26 Sept 2024 at 13:26, Ilias Apalodimas wrote: > > Hi Simon, > > On Fri, 20 Sept 2024 at 19:01, Simon Glass wrote: > > > > Hi Ilias, > > > > On Fri, 20 Sept 2024 at 08:36, Ilias Apalodimas > > wrote: > > > > > > Hi Simon, > > > > > > On Thu, 19 Sept 2024 at 18:36, Simon Glass

Re: [PATCH 14/42] rockchip: Simplify check for SPL

2024-09-27 Thread Simon Glass
Hi Jonas, On Thu, 26 Sept 2024 at 18:13, Jonas Karlman wrote: > > Hi Simon, > > On 2024-09-27 00:35, Simon Glass wrote: > > Now that SPL means SPL (only) and is not defined for TPL, simplify some > > checks for SPL. > > > > Signed-off-by: Simon Glass > > --- > > > > arch/arm/include/asm/arch-ro

Re: [PATCH v4 14/35] efi_loader: Allocate and write ACPI tables

2024-09-27 Thread Simon Glass
Hi Ilias, On Thu, 26 Sept 2024 at 13:18, Ilias Apalodimas wrote: > > On Thu, 26 Sept 2024 at 14:04, Simon Glass wrote: > > > > Hi Patrick, > > > > On Thu, 26 Sept 2024 at 10:01, Patrick Rudolph > > wrote: > > > > > > Hi Simon, > > > On Fri, Sep 20, 2024 at 6:01 PM Simon Glass wrote: > > > > >

Re: [PATCH 15/15] binman: Make a start on an iMX8 test

2024-09-27 Thread Simon Glass
Hi Marek, On Fri, 27 Sept 2024 at 00:20, Marek Vasut wrote: > > On 9/27/24 12:07 AM, Simon Glass wrote: > > This patch is for Marek, to provide a starting point. > > > > To try it, use 'binman test -T' and see the missing coverage. > > > > Signed-off-by: Simon Glass > > --- > > > > tools/binma

Re: [PATCH 02/16] lmb: add a flag to allow suppressing memory map change notification

2024-09-27 Thread Simon Glass
Hi Sughosh, On Fri, 20 Sept 2024 at 06:33, Sughosh Ganu wrote: > > On Thu, 19 Sept 2024 at 19:42, Simon Glass wrote: > > > > Hi, > > > > On Tue, 17 Sept 2024 at 13:55, Sughosh Ganu wrote: > > > > > > On Sat, 14 Sept 2024 at 20:14, Heinrich Schuchardt > > > wrote: > > > > > > > > On 9/5/24 10:

Re: [PATCH] rockchip: rk3399: Weaken dependency on SPL serial

2024-09-27 Thread Kever Yang
On 2024/9/20 17:06, Daniel Semkowicz wrote: Allow to disable serial console in SPL. Weak dependency is already used with TPL serial. Signed-off-by: Daniel Semkowicz Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/mach-rockchip/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 del

Re: [PATCH v1] gpio: adp5585: Add SPL config for ADP5585 driver

2024-09-27 Thread Fabio Estevam
Hi Alice, On Fri, Sep 27, 2024 at 4:37 AM wrote: > > From: Ye Li > > So we can disable to build ADP5585 in SPL to save size > > Signed-off-by: Ye Li > Reviewed-by: Peng Fan You missed your Signed-off-by here.

Re: [PATCH 1/4] rockchip: rk3399-roc-pc: Hook sysreset gpio to enable full reset

2024-09-27 Thread Paul Kocialkowski
Hi Quentin, Thanks for looking into this! Le Fri 27 Sep 24, 11:25, Quentin Schulz a écrit : > I'm not entirely sure on whose side the issue is, but I didn't receive your > mails, either from the U-Boot mailing list or directly from the Cc field. I > however could find the patch on lore.kernel.org

Re: [PATCH 1/4] rockchip: rk3399-roc-pc: Hook sysreset gpio to enable full reset

2024-09-27 Thread Quentin Schulz
Hi Paul, On 9/27/24 11:53 AM, Paul Kocialkowski wrote: Hi Quentin, Thanks for looking into this! Le Fri 27 Sep 24, 11:25, Quentin Schulz a écrit : I'm not entirely sure on whose side the issue is, but I didn't receive your mails, either from the U-Boot mailing list or directly from the Cc fie

Re: [PATCH 2/4] rockchip: rk3399-rockpro64: Hook sysreset gpio to enable full reset

2024-09-27 Thread Quentin Schulz
Hi Paul, On 9/26/24 8:31 PM, Paul Kocialkowski wrote: From: Paul Kocialkowski The reset mechanism used by Linux to reset the SoC is known to only partially reset the logic. A mechanism is implemented in rk3399_force_power_on_reset to use a GPIO connected to the PMIC's over-temperature (OTP) re

Re: [PATCH 1/4] rockchip: rk3399-roc-pc: Hook sysreset gpio to enable full reset

2024-09-27 Thread Quentin Schulz
Hi Paul, I'm not entirely sure on whose side the issue is, but I didn't receive your mails, either from the U-Boot mailing list or directly from the Cc field. I however could find the patch on lore.kernel.org... and I also received yours and Dragan's exchange on patch 4 (but not the patch its

[PATCH v1] gpio: adp5585: Add SPL config for ADP5585 driver

2024-09-27 Thread alice . guo
From: Ye Li So we can disable to build ADP5585 in SPL to save size Signed-off-by: Ye Li Reviewed-by: Peng Fan --- drivers/gpio/Kconfig | 6 ++ drivers/gpio/Makefile | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 399

RE: i.MX 95 support in master U-Boot

2024-09-27 Thread Peng Fan (OSS)
Hi Max, > Cc: u-boot@lists.denx.de > Subject: i.MX 95 support in master U-Boot > > Hello Peng > > We are working on a i.MX 95 product. > What are NXP's plan on adding i.MX 95 EVK boards into U-Boot master? It is under preparing, patches would be soon to public in one or two weeks. Regards Peng

[PATCH v2 0/7] Add the USB5744 hub driver as per new DT binding

2024-09-27 Thread Venkatesh Yadav Abbarapu
Add the usb5744/usb2744 hub driver which does the reset gpio toggling and the i2c initialization sequence. Tested the USB5744/USB2744 usb hub for usb0, usb1 with the DT nodes on KR260 board. Changes in v2: - Added the power_on_reset_us variable, for post-reset time. - Removed the DM_REGULATOR ifd

[PATCH v2 7/7] arm64: zynqmp: Update the usb5744 hub node as per binding

2024-09-27 Thread Venkatesh Yadav Abbarapu
Updating the usb5744 hub node as per the latest upstream DT binding https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ tree/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml?h=v6.8.8 Signed-off-by: Venkatesh Yadav Abbarapu --- arch/arm/dts/zynqmp-sck-kr-g-revA.dtso | 48

[PATCH v2 6/7] configs: zynqmp_kria: Enable the USB onboard hub

2024-09-27 Thread Venkatesh Yadav Abbarapu
USB host support on ZYNQMP KRIA SOM needs onboard USB hub driver for handling reset GPIO and for i2c initialization sequence. Signed-off-by: Venkatesh Yadav Abbarapu --- configs/xilinx_zynqmp_kria_defconfig | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/configs/x

[PATCH v2 3/7] usb: onboard-hub: add support for Microchip USB5744

2024-09-27 Thread Venkatesh Yadav Abbarapu
Add support for the Microchip USB5744 USB3.0 and USB2.0 Hub. The usb5744 driver trigger hub reset signal after soft reset. The usb5744 hub need to reset after the phy initialization, which toggles the gpio. Signed-off-by: Venkatesh Yadav Abbarapu --- common/usb_onboard_hub.c | 16 ++-

[PATCH v2 5/7] usb: onboard-hub: Bail out if peer hub is already probed

2024-09-27 Thread Venkatesh Yadav Abbarapu
The .bind function is implemented to bind the correct "half" of the hub that the driver wants to bind, and returning -ENODEV for the other "half". Signed-off-by: Venkatesh Yadav Abbarapu --- common/usb_onboard_hub.c | 20 1 file changed, 20 insertions(+) diff --git a/common

[PATCH v2 4/7] usb: onboard-hub: Add i2c initialization for usb5744 hub

2024-09-27 Thread Venkatesh Yadav Abbarapu
Add i2c initialization hook and set usb5744 platform data with function having required i2c initialization sequence. Apart from the USB command attach, prevent the hub from suspend. when the “USB Attach with SMBUS (0xAA56)” command is issued to the hub, the hub is getting enumerated and then it pu

[PATCH v2 2/7] usb: onboard-hub: Fix the return values of regulator APIs

2024-09-27 Thread Venkatesh Yadav Abbarapu
Don't error out if there is no vdd regulator supply, as these are optional properties. Signed-off-by: Venkatesh Yadav Abbarapu --- common/usb_onboard_hub.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c index 9

[PATCH v2 1/7] usb: onboard-hub: Add reset-gpio support

2024-09-27 Thread Venkatesh Yadav Abbarapu
As part of the reset, sets the direction of the pin to output before toggling the pin. Delay of millisecond is added in between low and high to meet the setup and hold time requirement of the reset. Signed-off-by: Venkatesh Yadav Abbarapu --- common/usb_onboard_hub.c | 35 +++