]> git.dujemihanovic.xyz Git - u-boot.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)
commitfea0345992fac2a2b2bd20d72b666ce948c9c99b
tree837a5e1bc9305ceef8460282dadf37cc434721f6
parent4c60fd993a21a285c645c6d46762d8c2992b7dd7
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]