summaryrefslogtreecommitdiff
path: root/include/dm/pinctrl.h
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2018-10-24 14:10:17 +0200
committerTom Rini <trini@konsulko.com>2018-11-16 16:51:56 -0500
commitd5a8313905f54ebdf128ac428c3cf58a2ebcbda2 (patch)
tree03e3126910369df5f1747250174c69b40a6db621 /include/dm/pinctrl.h
parent37b596ac5c5f7ac405602af2577405b1f7d38cce (diff)
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>
Diffstat (limited to 'include/dm/pinctrl.h')
-rw-r--r--include/dm/pinctrl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dm/pinctrl.h b/include/dm/pinctrl.h
index 5a7c5f102e..63a7d55b88 100644
--- a/include/dm/pinctrl.h
+++ b/include/dm/pinctrl.h
@@ -6,6 +6,9 @@
#ifndef __PINCTRL_H
#define __PINCTRL_H
+#define PINNAME_SIZE 10
+#define PINMUX_SIZE 40
+
/**
* struct pinconf_param - pin config parameters
*