cmd: pinmux: Add pinmux command
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 24 Oct 2018 12:10:17 +0000 (14:10 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 16 Nov 2018 21:51:56 +0000 (16:51 -0500)
commitd5a8313905f54ebdf128ac428c3cf58a2ebcbda2
tree03e3126910369df5f1747250174c69b40a6db621
parent37b596ac5c5f7ac405602af2577405b1f7d38cce
cmd: pinmux: Add pinmux command

pinmux command allows to :
 - list all pin-controllers available on platforms
 - select a pin-controller
 - display the muxing of all pins of the current pin-controller
   or all pin-controllers depending of given options

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
cmd: pinmux: Fix pinmux command

if "pinmux status" command is used without having
set dev using "pinmux dev", print pinmux usage
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/Kconfig
cmd/Makefile
cmd/pinmux.c [new file with mode: 0644]
include/dm/pinctrl.h