gpio: Introduce GPIO names
This introduces GPIO names. So far we only have labels which are given
by the requester. In contrast names are given by the provider and do not
change depending on whoever requests a GPIO. The gpio commands now also
accept to reference a GPIO by name.
The printing of the gpioinfo command is adjusted to nicely print both
the label and the name.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6441dfa commit 17a517c0fcf21cbd1882108c18fa845930927563
@Sascha Hauer Sascha Hauer authored on 22 Nov 2019
Showing 3 changed files
View
commands/gpio.c
View
drivers/gpio/gpiolib.c
View
include/gpio.h