[PATCH] gpio: Add support for gpio-line-names reading

Simon Glass sjg at chromium.org
Tue Jul 28 20:58:31 CEST 2020


On Tue, 21 Jul 2020 at 07:15, Michal Simek <michal.simek at xilinx.com> wrote:
>
> The commit 2bd261dd1712 ("gpio: search for gpio label if gpio is not found
> through bank name") introduced the option to search gpio via labels (gpio
> hog). This patch is just follow up on this and fills pin name based on
> gpio-line-names DT property.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  arch/sandbox/dts/test.dts  |  2 ++
>  drivers/gpio/gpio-uclass.c | 31 +++++++++++++++++++++++++++++++
>  test/dm/gpio.c             |  6 ++++++
>  3 files changed, 39 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list