]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: pinmux: support pin name in status command
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 21 May 2021 07:47:32 +0000 (09:47 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Jul 2021 11:13:25 +0000 (07:13 -0400)
commitf600db6b19fee0ff572ee7d5634ead54defd55f2
tree837a5e1bc9305ceef8460282dadf37cc434721f6
parent92ceb94d593e1139130036eb3b4c1ea5cf1f25bb
cmd: pinmux: support pin name in status command

Allow pin name parameter for pimux staus command,
as gpio command to get status of one pin.

The possible usage of the command is:

> pinmux dev pinctrl
> pinmux status

> pinmux status -a

> pinmux status <pin-name>

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/pinmux.c
test/cmd/Makefile
test/cmd/pinmux.c [new file with mode: 0644]