[PATCH v3 0/3] reenable dm_gpio tests, add support for gpio-line-names lookup
Tom Rini
trini at konsulko.com
Tue Nov 11 23:16:33 CET 2025
On Tue, 04 Nov 2025 18:44:55 +0100, Rasmus Villemoes wrote:
> Hopefully third time's the charm.
>
> I merely wanted to add support (mostly for use by the 'gpio' shell
> command) for looking up a gpio via the gpio-line-names DT property. We
> already have a "gpio_request_by_line_name()", but cmd/gpio.c does a
> separate "lookup + request", so it felt more natural to teach the
> lookup machinery this as well. That ran into
> OF_CONTROL-but-not-OF_LIBFDT being a thing for SPL, so here's yet
> another attempt.
>
> [...]
Applied to u-boot/next, thanks!
[1/3] test: gpio: include in build, and fixup bitrot
commit: 23908d8f248f0aa912c7f05e276722e5caf4dc02
[2/3] gpio: search gpio-line-names property in dm_gpio_lookup_name
commit: c92c3768b61aa84dd6adc214308d69814a8c0af0
[3/3] test: gpio: add test for gpio-line-names lookup
commit: e5e4b60c55e448e6a9a6bf6f7e9cfd01fe3103e1
--
Tom
More information about the U-Boot
mailing list