Re: gpio-hog names
From: Linus Walleij
Date: Wed Sep 16 2026 - 09:33:42 EST
On Sun, Sep 6, 2026 at 9:05 PM Frank Wunderlich
<frank.wunderlich@xxxxxxxxx> wrote:
> Until v7.0, GPIO hogs inherited the DT node name
Where? In debugfs? /sys/kernel/debug/gpio?
> when no line-name
> property was specified. This was implemented as a fallback in
> of_parse_own_gpio().
>
> Commit d1d564ec4992 ("gpio: move hogs into GPIO core") moved hog parsing
> into the GPIO core and removed this fallback.
>
> Consequently, GPIO hogs without a line-name property are now displayed
> with a ? in /sys/kernel/debug/gpio.
It seems like so...
> Is this an intentional change, or should the fallback to the DT node name
> be retained?
No reason to since debugfs is not ABI.
But if you think that *looks better* then by all means send a patch!
Yours,
Linus Walleij