[PATCH] gpio: uclass: Introduce gpio-hog-optional property

Fabio Estevam festevam at gmail.com
Tue Sep 20 13:43:22 CEST 2022


Hi Nate,

On Wed, Sep 14, 2022 at 11:31 AM Nate Drude <nate.d at variscite.com> wrote:

> Thanks for the discussion and feedback. I prefer to avoid changing the
> bindings in Linux if possible.
>
> Would it be acceptable if I rework gpio_hog_probe_all so that it prints
> an error "Failed to probe device..." if any device_probe fails, but
> always returns 0 to avoid a fatal error in board_init_r? I can submit a
> v2 patch, but I want to screen any problems with the approach first.

Does the patch from Marek help?
https://patchwork.ozlabs.org/project/uboot/patch/20220919194502.106252-1-marex@denx.de/


More information about the U-Boot mailing list