[PATCH] gpio: Add support for gpio-line-names reading
Heiko Schocher
hs at denx.de
Wed Jul 22 06:01:19 CEST 2020
Hello Michal,
Am 21.07.2020 um 15:14 schrieb Michal Simek:
> 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(+)
Looks good to me, thanks!
Reviewed-by: Heiko Schocher <hs at denx.de>
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de
More information about the U-Boot
mailing list