Thread (21 messages) 21 messages, 4 authors, 2015-09-23

[PATCH 6/6] gpiolib: Add gpio name information to /sys/kernel/debug/gpio

From: Linus Walleij <hidden>
Date: 2015-08-25 14:34:39
Also in: linux-gpio

On Mon, Aug 17, 2015 at 9:29 AM, Alexandre Courbot [off-list ref] wrote:
On Mon, Aug 10, 2015 at 7:02 PM, Linus Walleij [off-list ref] wrote:
quoted
On Tue, Aug 4, 2015 at 11:23 AM, Markus Pargmann [off-list ref] wrote:
quoted
Add some information about gpio names to the debugfs gpio file. name and
label of a GPIO are then displayed next to each other. This way it is
easy to see what the real name of GPIO is and what the driver requested
it for.

Signed-off-by: Markus Pargmann <redacted>
This patch looks correct in the context.
Looks correct indeed, but on a related note one might question the
need to have both a "name" and a "label" for a GPIO?
The way I see it a certain GPIO controller has names for the
GPIO lines, like gpio0,1,2...n, while the label is for the actual
use of the GPIO line. It's a bit like the regulator name, rail name
and consumer endpoints guess. Just we only have two names,
not three :P

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help