]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitc2b979051587395255050afb510546da93bb075b
tree03e3126910369df5f1747250174c69b40a6db621
parent831a709ea7bfcfdd533eec8c4d196c8124761b9c
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