Re: [PATCH v3 0/6] gpio: improve claim diagnostics and fix gpio-delay offset handling

Tom Rini <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
On Tue, 11 Aug 2026 16:23:08 +0530, Pranav Sanwal wrote:

> This series improves diagnosability of GPIO offset collisions and fixes
> four related bugs in the gpio-delay driver that were uncovered while
> debugging such a collision.
> 
> Patch 1 logs, at dev_dbg() level, which label already holds a GPIO
> offset when a new request collides with it, from within
> dm_gpio_request() itself, so a collision can be root-caused from the
> uclass layer when actively debugging.
> 
> [...]

Applied to u-boot/next, thanks!

[1/6] gpio: uclass: log when a gpio offset is already claimed
      commit: e3aa1ec1e3a319dd842486c2f933a0dd1958c1b4
[2/6] gpio: cmd: warn when a gpio offset is already claimed
      commit: 826d8b8b1771dba53fc799d312abfbd852728c04
[3/6] gpio: delay: set gpio_count and validate index against it
      commit: 04e3d07ebe6f4cf620754f828d4a7df6089a8277
[4/6] gpio: delay: fix offset propagation in gpio_delay_xlate()
      commit: 8df3881e173db02cb49306e2857d67c4502812aa
[5/6] gpio: delay: free wrapped real GPIOs on remove
      commit: 55752c23945b47fc68afa35102108e60108fc7d9
[6/6] gpio: delay: free already-requested GPIOs on probe failure
      commit: bb6283adea943068e4ef93f0bdc91c33a887f003
-- 
Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.