gpio-hog names

From: Frank Wunderlich

Date: Sun Sep 06 2026 - 15:05:44 EST


Hi,

Until v7.0, GPIO hogs inherited the DT node name 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.

Is this an intentional change, or should the fallback to the DT node name
be retained?

regards Frank